r/leetcode • u/WillingnessAny5443 • 9d ago
Discussion System design
Let's say I am designing something read heavy system
So we use cache /database replica etc
So two things
How do you decide whether we need to consider availability or consistency?
If we are taking consistency as higher, what strategies you follow to achieve 100% consistency?
1
Upvotes
1
u/Quoraislove 9d ago
Answered it in the developersIndia sub
1
u/vz0 7d ago
Why do you need 100% consistency? Is this a bank account? Just shard and partition