~/talk

Dealing with eventual consistency

Talkat NDC Oslo 2022 · 2022-09-26..09-30· [frontend-architecture]
slides:none on file

Shows a demo movie-ticket site that uses SignalR acknowledgements and an Azure Service Bus queue to accept orders immediately while backend processing is asynchronous; localStorage provides an instant optimistic UI so comments and subscriptions appear without waiting. Explains single-item hotspots (Game of Thrones, tens of thousands of simultaneous requests), shard/index delays, and a lottery pattern that safely accepts 50k registrations then allocates tickets later. Includes a working demo where backend shutdown leaves messages on the queue and SignalR later reports final results.

AI-written summary · about

  1. 0:00Eventual consistency intro
  2. 3:57High traffic struggles
  3. 6:04Transactional challenges
  4. 9:15Relational scaling issues
  5. 12:07Messaging for consistency
  6. 14:17Kitten analogy explained
  7. 17:26User expectations during delays
  8. 21:30Movie ticket demo
  9. 27:28SignalR for real-time
  10. 31:00GoT lottery system
  11. 36:21Technical solution
  12. 37:26Event sourcing for congestion
  13. 41:07When accuracy matters and when it doesn't
  14. 45:33Business concurrency fixes
  15. 49:08Eventual consistency is not scary
  16. 50:12Conclusion & Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.