MediumConceptStorage, replication and consistency
What is the difference between an optimistic and a pessimistic lock?
This answer is part of Pro
38 of 288 System design answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousWhat is a read replica lag problem and how do you handle read-your-writes?Next Your service writes to a database and then publishes an event, but sometimes only one happens. How do you fix it?