All Questions
Cassandra hard

In a high-contention environment where multiple microservices try to update the same row using LWT (`IF` clause), why does throughput often drop to near-zero?

  1. A Because Paxos locks the entire keyspace for the duration of the request.
  2. B Paxos Livelock: Multiple coordinators keep proposing new ballot numbers for the same row. Each rejects the other's proposal as 'Stale', forcing constant retries and consuming CPU with no successful writes.
  3. C LWT is disabled automatically by the kernel when more than 5 clients connect.
  4. D Paxos writes are written to a specialized 'Slow Disk' partition by default.

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

Get the app

Related questions