~/talk

Exactly-once in a Microservices Environment

TalkinRussianat DotNext 2022 Spring · 2022-06-16..06-27· [distributed-systems, microservices]
links:none on file
slides:none on file

How to achieve exactly-once semantics in a microservices environment using idempotent service design, illustrated by a high-load service case study. The talk explains patterns for ensuring logical/business transactions and single delivery of notifications or promo codes, and shows how Kafka and Redis were used to implement these guarantees.

AI-written summary · about

  1. 0:00Introduction
  2. 5:04Talk overview
  3. 9:26Business case
  4. 12:45Naive implementation issues
  5. 15:45Technology choices
  6. 17:10Idempotency explained
  7. 20:26Kafka message duplication
  8. 22:13Transaction outbox pattern
  9. 29:37Execution flow
  10. 31:46Error handling
  11. 36:02Branching scenarios
  12. 38:07Race condition prevention
  13. 41:18Scenario versioning
  14. 43:50Redis TTL optimization
  15. 47:07Service requirements
  16. 51:06Cost optimization
  17. 53:30Future architecture
  18. 54:13Idempotency limits
  19. 56:25Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.