All Questions
Data Modeling hard

When modeling a Distributed Transaction using the Saga Pattern (Choreography or Orchestration), what type of consistency do you achieve?

  1. A Strict ACID Consistency, where the system utilizes a global mutex lock to ensure that all distributed participants are perfectly synchronized at all times.
  2. B Linearizability, guaranteeing that every read operation returns the result of the most recent write across all interconnected microservices in real-time.
  3. C Eventual Consistency (BASE), which utilizes 'Compensating Transactions' (undos) to resolve failures and eventually return the system to a valid state.
  4. D Read-Your-Writes Consistency, ensuring that an individual user always sees the immediate results of their own actions, regardless of the global state.

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

Get the app

Related questions