All Questions
Data Modeling hard

You are modeling a 'Likes' counter for a global social network. You choose an AP model. What anomaly must your data model handle?

  1. A Complete Write Unavailability, where the system enters a strict read-only mode whenever it detects a network partition between regional data centers.
  2. B Substantial Read Latency, as the database must perform a 'Quorum Read' across every single replica in the cluster to ensure that every counter is perfectly accurate.
  3. C Cascading Deadlocks, which occur when multi-region synchronization locks are held for extended periods, preventing any other transactions from being processed.
  4. D Divergent Counters, where different regions observe conflicting totals; you must utilize CRDTs (Conflict-free Replicated Data Types) to merge results eventually.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions