r/DistributedComputing • u/Sartorialie • Feb 12 '23
How does high availability and strong consistency coexist for a website like say hotels.com which needs both?
Hi folks, I’ve recently been learning about the different replication models such as single leader and multi-leader. For a high volume website like hotels.com, you would need both:
- High availability, redundancy etc while serving a global customer base which points to the need for multi-data center, multi-leader replication model
- Strong read-after-write consistency so that the same room is not double booked and each user sees a consistent and latest view of the system.
How do the two coexist? What replication model is used in such cases?
2
Upvotes
View all comments
Show parent comment
1
u/Sartorialie Feb 12 '23
I’m seeing the concept of quorum being mentioned only in the context of leaderless replication though. I think single leader replication and quorum (for acknowledging successful reads) is not a thing. The only time quorums feature in the context of single leader replication is when electing a new leader.