Search the practice set

126 questions, 454 terms and 400 topics in 20 areas.

60 results for “Strong vs Eventual Consistency”

Terminology · 33
term

Strong vs Eventual Consistency

A per-operation decision, not a per-system one: whether this specific read must reflect every completed write.

Architecture Decision-Making
term

Eventual Consistency

A guarantee that replicas will converge to the same value if updates stop, with no bound on how long reads may be stale.

Distributed Systems
term

Re-architect vs Rebuild

Restructuring an existing system incrementally versus writing a replacement from scratch — and the strong evidence that incremental wins.

Legacy Modernization
term

SQL vs NoSQL

A choice driven by access patterns, consistency requirements and query flexibility — not by data volume, which is the reason usually given.

Architecture Decision-Making
term

Linearizability

The strongest single-object guarantee — every operation appears to take effect instantaneously at some point between its call and its return.

Consistency Models
term

Active-Active vs Active-Passive

Whether all regions serve traffic simultaneously, or one serves while another waits to take over — a choice about which failure mode you would rather have.

Multi-Region Architecture
term

Build vs Buy

The choice between developing a capability in-house and acquiring it, decided on differentiation and total cost rather than on feature lists.

Architecture Decision-Making
term

Causal Consistency

A model guaranteeing that operations which causally depend on one another are seen in the same order everywhere, while concurrent operations may be seen in any order.

Consistency Models
term

Containment vs Eradication

Stopping an attacker's ongoing access versus removing their foothold entirely — sequential phases with different urgency and different risks of doing them wrong.

Security Incident Response
term

Cost vs Reliability Trade-off

The non-linear relationship between availability and spend, which makes each additional nine roughly an order of magnitude more expensive.

Cost & FinOps
term

Delivery vs Maintainability

Choosing where to take deliberate shortcuts, based on which kinds of debt are cheap to repay and which compound.

Architecture Decision-Making
term

Durability vs Availability

Two different storage guarantees — whether data survives, and whether it can be reached right now — routinely conflated because both are quoted in nines.

Cloud Storage
term

ETL vs ELT

Whether data is transformed before loading into the target or after it, which decides where the compute happens and how much raw history you keep.

Data Architecture
term

Fail-Fast vs Fail-Safe

Whether a component should stop immediately on detecting a problem, or continue in a degraded but safe mode — a choice that depends entirely on which outcome is worse.

Failure Modes
term

Horizontal vs Vertical Scaling

Adding more machines versus making one machine bigger — and the fact that vertical is underrated for stateful tiers.

Performance & Capacity
term

Layer 4 vs Layer 7 Load Balancing

Balancing on connection metadata (IP and port) versus on the content of the request (path, host, headers).

Networking
term

Managed vs Self-Managed

Trading control, portability and unit cost against the operational burden of running the thing yourself.

Architecture Decision-Making
term

Monolith vs Microservices

A trade of deployment independence against distributed-systems complexity, decided by team topology far more often than by technology.

Architecture Decision-Making
term

OLTP vs OLAP

Two workload shapes with opposite requirements — many small indexed transactions versus few large scans and aggregations — which is why they belong in different stores.

Data Warehousing
term

Operational vs Analytical Store

The separation between the store serving the application's transactions and the one serving reporting and analysis, and the mechanism connecting them.

Polyglot Persistence
term

Provisioned vs Serverless Capacity

Paying for a fixed database size continuously, versus paying for capacity consumed with automatic scaling — a crossover decision driven by duty cycle.

Cloud Databases
term

Read-Your-Writes Consistency

A session guarantee that a client always sees its own updates, even when reads are served from replicas that may lag.

Consistency Models
term

Security vs Usability

A trade-off that is usually resolved by varying the control with the value of the action, rather than by choosing a uniform level of friction.

Architecture Decision-Making
term

Synchronous vs Asynchronous Communication

Whether the caller waits for the callee's answer — decided by whether the caller's outcome depends on it, not by latency or taste.

Architecture Decision-Making
term

Synchronous vs Asynchronous Replication

Whether a write is acknowledged only after a replica has it, trading write latency against the amount of data a failure can lose.

Replication
term

Zonal vs Regional Services

Whether a cloud resource lives in one availability zone or is inherently spread across several — a property that determines what a zone failure takes with it.

Availability Zones
term

CAP Theorem

During a network partition a distributed system must choose between consistency and availability; it cannot have both.

Distributed Systems
term

Cache Invalidation

The problem of removing or refreshing cached data when the underlying source changes, and the reason caching is harder than it looks.

Data Architecture
term

Caching Strategy

The chosen pattern for how a cache is populated, read and invalidated — cache-aside, read-through, write-through or write-behind.

Performance & Capacity
term

Configuration Drift

Divergence between the infrastructure described in code and the infrastructure actually running, usually caused by manual changes.

Infrastructure as Code
term

Consistent Prefix Read

A guarantee that if a sequence of writes happens in a given order, a reader sees a prefix of that sequence — never an out-of-order subset.

Consistency Models
term

Dropbox's Move Off S3

Dropbox moved the majority of its file storage off Amazon S3 onto custom infrastructure, reporting savings that its S-1 filing put at roughly $75 million over two years.

Cost & FinOps
term

Dual Write

Writing the same change to both the old and new stores during a migration, and the reconciliation that makes it trustworthy.

Data Migration Strategies
Questions · 5
quiz

You move a user profile service to eventual consistency and support tickets start arriving: users update their name and the old one is still shown. Fix it without abandoning the architecture.

What the interviewer is testing Whether you know that consistency is per operation rather than per system, and whether you reach for a targeted guarantee instea

Distributed Systems
quiz

A 43-second network partition caused GitHub over 24 hours of degraded service in 2018. How does a 43-second event become a day-long incident?

The case, as publicly reported On 21 October 2018, routine maintenance replacing failing optical equipment caused a 43 second loss of connectivity between GitHu

Distributed Systems
quiz

A card payment authorisation service runs active-active across two regions. A network partition splits them. Do you keep accepting authorisations, and what breaks either way?

What the interviewer is testing Whether you can apply CAP to a domain where the cost of each choice is concrete, and whether you recognise that "it depends" has

Distributed Systems
quiz

A service writes to its database and then publishes an event to Kafka. Sometimes consumers see an event for a record that does not exist, and sometimes a record exists with no event. Why, and how do you fix it?

What the interviewer is testing Recognition of the dual write problem — one of the most common defects in event driven systems and one that testing rarely catch

Data Architecture
quiz

Classify DynamoDB, Spanner and Cassandra under PACELC, and say which half of the classification you would actually design around.

The classifications Store Partition Else Why DynamoDB (default reads) PA EL Serves from any replica; eventually consistent reads avoid a quorum round trip Cassa

CAP & PACELC
Topics · 22
topic

Strong vs Eventual Consistency

A per-operation decision, resolved by what a stale read would cost.

Architecture Decision-Making — no content yet
topic

Consistency Models

Linearizable, sequential, causal, eventual, and the session guarantees between them.

8 items
topic

Build vs Buy

Differentiation versus table stakes, priced over five years.

Business Architecture — no content yet
topic

Build vs Buy

Differentiation, five-year TCO, and the exit cost of each option.

Architecture Decision-Making — no content yet
topic

Centralised vs Distributed

Shared platform leverage against team autonomy.

Architecture Decision-Making — no content yet
topic

Cost vs Reliability

Each nine costing an order of magnitude, and pricing the failure instead.

Cost Architecture & FinOps — no content yet
topic

Delivery vs Maintainability

Fast in the cheap places, careful in the expensive ones.

Architecture Decision-Making — no content yet
topic

Functional vs Non-Functional

Behaviour versus quality of behaviour, and why only the second constrains structure.

Architecture Fundamentals — no content yet
topic

Horizontal vs Vertical Scaling

Scale out for stateless, scale up first for stateful.

Performance & Capacity Engineering — no content yet
topic

Layer 4 vs Layer 7

Connection-level versus request-level balancing, and what each unlocks.

Networking — no content yet
topic

Managed vs Self-Managed

Trading control and unit cost against operational attention.

Architecture Decision-Making — no content yet
topic

Monolith vs Microservices

A team-topology decision far more often than a technology one.

Architecture Decision-Making — no content yet
topic

Orchestration vs Choreography

A coordinator that knows the flow, or services that react to events.

Architecture Patterns — no content yet
topic

Performance vs Cost

Buying latency, and knowing what the last millisecond is worth.

Architecture Decision-Making — no content yet
topic

Rebuild vs Re-architect

Why greenfield replacement fails, and the narrow cases where it does not.

2 items
topic

Reliability vs Complexity

Mechanisms that add availability and add failure modes.

Architecture Decision-Making — no content yet
topic

SQL vs NoSQL

Decided by access patterns and query flexibility, not by data volume.

Architecture Decision-Making — no content yet
topic

Security vs Usability

Varying control by the value of the action rather than uniformly.

Architecture Decision-Making — no content yet
topic

Serverless vs Containers

Spiky and event-driven versus sustained throughput.

Architecture Decision-Making — no content yet
topic

Single vs Multi-Region

Driven by RTO, RPO and residency rather than by ambition.

Architecture Decision-Making — no content yet
topic

Sync vs Async

Whether the caller's outcome depends on the callee's response.

Architecture Decision-Making — no content yet
topic

Authentication

Establishing who a principal is, and how strong that claim needs to be.

5 items