How do you handle "Eventual Consistency" in a system where a user expects immediate feedback?

Last updated 3 July 2026

  • Acknowledge optimistically: update the UI immediately and show an explicit pending state (e.g. "payment being processed"). Reconcile if the backend rejects it.

  • Guarantee read-your-own-writes (route reads to the latest data or cache client-side). Push the final result via websocket, polling, or email.

  • Keep operations that truly need immediacy (e.g. balance checks before withdrawal) strongly consistent.

  • https://github.com/Devinterview-io/domain-driven-design-interview-questions
All Microservices interview questions