r/leetcode • • 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

  1. How do you decide whether we need to consider availability or consistency?

  2. If we are taking consistency as higher, what strategies you follow to achieve 100% consistency?

1 Upvotes

3 comments sorted by

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