Introduction to data replication
easy 25 minReplication keeps the same data on several machines and keeps the copies up to date.
Where it shows up
The same pattern appears across everyday software.
Shopify: reads from replicas
Shopify's engineering blog describes using MySQL replicas, long kept for redundancy, as an extra place to read from, and the read-consistency options the team compared.
Amazon RDS: two kinds of copy
The documentation separates a Multi-AZ standby, which is synchronous and cannot serve reads in the single-standby form, from read replicas, which are asynchronous and can.
Redis
Replication is asynchronous by default. A client can ask with WAIT for a number of replicas to confirm, but the documentation says this does not make Redis strongly consistent.
Apache Cassandra
Copies of each partition live on several nodes, no node is the leader, and each request chooses a consistency level such as ONE or QUORUM. Concurrent updates follow last write wins.
CouchDB
Databases replicate in both directions. When two copies change the same document, every peer picks the same winner and the other revision stays available for repair.
Amazon Aurora
Replicas share one storage volume with the writer, so the documentation describes a replica lag that is usually much less than 100 milliseconds.