Please enable JavaScript.
Coggle requires JavaScript to display documents.
Distribution models - Coggle Diagram
Distribution models
Master-slave replication
Replicate data on several nodes
Each node is designated as master or primary
Master Node
Process any update of this data
Automatic data source
Slave Node
Secondary Nodes
Data replication from slave node to master node
Horizontal scaling function to handle read requests
Not recommended for heavy data traffic
Reading resistance
Single server
Is the simplest
Simple machine that handles all the reads and writes to the data warehouse data store
Easy to manage
Easy to reason
Use NoSQL only if the storage data model is suitable for the application
Effective with graph databases
Sharding
Distribute part of the data to different servers
Independent reading and writing
Places different data in separate nodes
Quick answers to inquiries
Distribute the most queried data on the same server with the aggregated distribution
Location
User
Self-partitioning service for data distribution
Peer-to-Peer Replication
Attack the errors of the master-slave model
Reading and writing skills
With a point-to-point replication cluster errors can be resolved
Has inconsistency in writing
Combining Sharding and Replication