GBase 8s Multi-Read/Multi-Write Solution
Background
With the explosive growth of data in recent years, the storage and processing of massive data has become a significant challenge across industries. This places higher demands on traditional centralized transactional databases, and the need for multi-read and multi-write capabilities is more evident than ever, as reflected in the following:
1. As businesses grow, databases must support larger-scale read and write operations and higher concurrency, which are difficult for a single database to meet;
2. For critical business systems, continuous high-availability database services are essential; a single point of failure can have significant impact, requiring standby databases or failover mechanisms;
3. Data analytics and reporting scenarios often generate heavy read requests, causing resource contention, so a read-write separation model is needed to improve database performance.
Solution Overview
GBase 8s Enterprise Replication (ER) is a log-based asynchronous tool used to replicate data between GBase 8s server instances. Enterprise Replication on the source server reads the logical log, captures transactions, and reliably transmits each transaction as replicated data to the target server. With this flexible and convenient architecture, you can implement a message broadcast model from one source to multiple target servers, or a message aggregation model from multiple source servers to one target server. Both broadcast and aggregation are forms of unidirectional data replication, which offers the advantage of relatively simple management and avoids data conflicts.
Unidirectional Data Replication Modes
Message Broadcast
Message Aggregation
Furthermore, based on your actual business architecture, you can support bidirectional data replication among multiple servers, achieving real-time synchronization and allowing updates from any node—a peer-to-peer application environment. Compared with unidirectional replication, this model can handle more complex business systems and supports multi-read/multi-write requirements; however, it also involves more complex configuration management and requires consideration of data conflicts. To resolve data conflicts, the replication system provides a wide range of pre-built conflict detection and resolution strategies for you to select and configure according to your business needs.
Any-Node Update Mode
Fully Connected Topology
Hierarchical Tree Topology
Forest Tree Topology
Key Features
Asynchronous Data Replication
Data replication tasks between nodes proceed automatically in the ER network without waiting for each other to commit data.
Log-Based Data Capture
With minimal additional resource overhead, it imposes almost no extra load on the source server.
High Performance
Takes full advantage of system scalability and parallel processing architecture, enabling concurrent handling of multiple data replication streams.
High Availability
Asynchronous replication tolerates network and target node failures: data is either stored on the target host or rolled back to the source's send queue. Once recovery occurs, changed data is automatically pushed to the remote nodes.
Consistent Information Distribution
Within the ER network, source data can be routed through multiple nodes to the target, ensuring information consistency throughout the distribution process.
Repair and Initial Data Synchronization
Enterprise Replication can perform a full data synchronization, especially when deploying replication in a production environment that has been running for some time, even with ongoing DML operations.
Flexible Architecture
In the replication topology, you can implement a forest tree structure where data is replicated from a leaf node of one topology tree to a leaf node of another, traversing several non-root (NOROOT) nodes along the way.
Centralized Management
Administrators can maintain and manage replication nodes and monitor the status of all nodes using either the Windows NT graphical user interface (GUI) or the UNIX command-line interface (CLI).
Easy Implementation
You can easily set up multi-node unidirectional or bidirectional replication clusters through the GBase 8s graphical configuration and management tool.
Network Encryption
Supports SSL encrypted transmission.