I was looking into how yugabyte handles conflict between regions and found this https://www.yugabyte.com/tech/database-geo-distribution/ However, I cannot find any more information regarding asynchronous replication (Last Writer Wins) in the documentation. Then I found another information in the documentation https://docs.yugabyte.com/preview/develop/learn/sql-nosql/#geo-distributed, which states that yugabyte can perform strongly consistent writes (in 218ms) that involves 5 nodes. My question:
- Geo-distributed is just having read replicas, or read/write replicas? (Or am I misunderstanding something)
- In the case where a read/write replica is needed in multiple regions, is it mandatory to use asynchronous replication (and how is this setup)?
- How is strongly consistent writes being implemented in this particular case? Does it involve sharding?
For synchronous replication:
This is xCluster which is asynchronous replication between clusters. It is not mandatory for multi-region. You have multiple choices. Example: