open atlas
↑ Back to track
Queues, Streams, Eventing QUE · 07 · 08

Eventual-consistency UX: free-recall review

Free-recall prompts across the eventual-UX unit. Answer each in your own words first, then reveal the model answer and compare.

QUE Senior ◷ 14 min
Level
FoundationsJuniorMiddleSenior

Retrieval beats re-reading. For each prompt, say or write a full answer from memory before you open the model answer — the effort of recall is what makes the material stick.

Goal

Reconstruct the unit’s core ideas — the consistency window, optimistic UI’s three-part contract, when to show a pending state, idempotent retries, and deliberate conflict resolution — without looking back at the lesson.

Recall before you leave
  1. 01
    What is the consistency window, and why does an async backend make it the frontend's problem?
  2. 02
    State the three-part contract of optimistic UI, and which part juniors skip.
  3. 03
    When is optimistic UI the wrong tool, and what do you show instead?
  4. 04
    Why does every pending state need a timeout, and what are the two failure modes that lurk here?
  5. 05
    Explain the LWW vs merge vs CRDT tradeoff for reconciling two concurrent async writes, and the frontend's job in each case.
  6. 06
    Why does 'POST then immediately refetch' break read-your-own-writes, and how do you keep the eventual refresh without the violation?
Recap

If you could reconstruct each answer from memory, you hold the unit’s spine: an async write moves the consistency window onto the frontend; optimistic UI’s apply-send-reconcile contract buys ~0ms perceived latency but is a lie without the rollback step; when the server owns the outcome you show an honest pending state guarded by a timeout; double-submits are made safe with an idempotency key; concurrent writes are reconciled deliberately (LWW for simple fields, CRDTs for shared text); and read-your-own-writes survives by echoing locally instead of trusting a racing refetch. Now when you design the next feature over an async backend, you can name the consistency window, pick the right contract for each action, and explain why to anyone who thinks a 202 means done.

Something unclear?

Ask a question about this lesson. Questions are anonymous and go straight to the author to make the lesson better.

shortcuts expand
search
K
prev piece
k
next piece
j
cycle tier
t
this menu
?
sources3
expand
  1. 01
  2. 02
  3. 03

Trademarks belong to their respective owners. Editorial reference only.