---
answer: direct
beat: system-design
source: 1 article · updated: August 12, 2026
---

What is optimistic UI execution and why is perceived latency different from actual latency?

Optimistic UI applies a mutation to local state immediately and awaits server confirmation in the background. Perceived latency is instant (user sees the change right away), while actual latency is the round-trip time. Request-response UIs block and show a spinner, making both latencies the same. Optimistic UI trades accuracy risk (the server might reject) for responsiveness.

Answered in

Optimistic UI: The Illusion of Instant

Apply mutations locally and reconcile in the background, collapsing perceived latency from 150 ms to instant. Rollback, idempotency keys, offline queues.

Crashtech Editorial August 12, 2026 System Design

Read the full analysis

Other questions this article answers

More system design questions

Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the System Design beat.