Database replication is a process through which a central database system is replicated to a secondary database, often referred to as a subscriber. The goal of this procedure is to enhance the performance of existing systems, increase the availability of data to satellite offices, as well as to provide continuity to business operations in case of a failover scenario where the primary database malfunctions or is compromised by an attack. Although most of the database engines on the market come with an embedded replication mechanism, more often than not they are characterized by an unoptimized, rigid toolset that hinders performance. Because of this, a large segment of database administrators is scouting the market for third party database replication mechanisms.
Modex BCDB is a hybrid solution that fuses the advantages of traditional database systems with a blockchain layer. Database replication in Modex BCDB challenges the established dogma through its agnostic take on both database and blockchain engines. This feature enables Modex BCDB to remove a major barrier in database replication operations – replication across different database systems. As such, a MongoDB database can be successfully replicated on an Oracle or Elasticsearch database, without compromising data structures or impacting data consistency and overall performance. Furthermore, Modex BCDB removes the notion of subscriber databases which are usually relegated to read operations. Due to its blockchain back-end, inserts made through Modex BCDB API into a database are automatically replicated in near real-time across every database from the network.
In traditional database replication mechanisms, any modification made to a database is automatically replicated across subscriber databases. This can constitute a major security issue if an external party gets access to the database, as any malicious tampering will be replicated across the whole network. Database replication in Modex BCDB can be performed only through the Modex API which acts as a gatekeeper for the information stored in databases. Due to the nature of blockchain technology, any modifications made directly in a database system are discarded and reconstructed through the record versioning functionality. As such, any modification that isn’t performed through the Modex API will be treated by the system as a mistake or a potential attack.
Multi-database replication is a highly sought after functionality by database administrators who need to operate and maintain different database systems. The advantages to this type of database replication have deep ramifications on both the business side as it reduces the time and subsequently the costs involved in migrating data multiple times, and also on the development side as database administrators are no longer required to initiate multiple replication operations. Database replication in Modex BCDB facilitates multi-database replication, regardless of the database engines involved, due to its agnostic take on this technology. This feature is further strengthened by the fact that in the Modex BCDB ecosystem, nodes no longer follow the publisher-subscriber relation (also known as the master-slave relation), as each node is treated equally in the system.