Distributed Systems Fundamentals Questions

Core theory that underpins any multi-node system: the CAP and PACELC theorems, consistency models (strong, causal, eventual), partitioning, replication, and the fundamental tradeoffs between latency, availability, and consistency. Covers how network partitions, clock skew, and partial failure change the reasoning compared to single-node systems. This is the vocabulary layer every distributed design question builds on.

HardTechnical
60 practiced

A large product has several distinct pieces of state (for example: a timeline feed, a per-post like counter, and a user's own settings). Walk through how you'd decide, feature by feature, which ones need strong consistency and which can tolerate eventual consistency, and what it would cost in infrastructure and user-perceived correctness to get each one wrong in either direction.

EasyTechnical
121 practiced

A less technical stakeholder asks you: 'what is eventual consistency, and how will it affect what users actually see?' Give a plain-language explanation and list three concrete UX impacts or edge cases (for example: duplicate-looking actions, a change that briefly appears to disappear or revert) that a product team should plan for.

EasyTechnical
58 practiced

Walk me through the CAP theorem: what do consistency, availability, and partition tolerance each guarantee, and why can a distributed system only provide two of the three once a network partition actually occurs? Give one example of a system design that would lean toward consistency (CP) and one that would lean toward availability (AP), and state precisely what each choice gives up. Also clarify how this notion of 'consistency' differs from the one used in ACID transactions.

HardSystem Design
57 practiced

A business-critical workflow touches around 30 services (payment, inventory, shipping, billing). Compare an orchestration (central coordinator) approach against a choreography (event-driven) approach for keeping this workflow consistent, covering compensating actions, idempotency of each step, and how you'd detect and recover when the coordinator (or one participant) crashes partway through.

That is every published Distributed Systems Fundamentals question for Engineering Manager so far. Browse the other topics in this category, or practice this one interactively.