~/talk

Eliminating Hidden Dangers to Your Applications Patterns for Reliable Systems

Talkat NDC Oslo 2021 · 2021-11-29..12-03· [microservices]
links:none on file
slides:none on file

Claim: it is impossible to reliably make two independent state changes in a single execution context, so avoid the Dual-Writes anti-pattern. Concrete alternatives demonstrated with C# and sample code on GitHub: use Transactional Outbox with SQL Server to persist and poll, use Cosmos DB change feed/Capture for SDK-managed notifications, or use Kafka/Redis streaming for durable fan-out. Each pattern persists first, then triggers a single downstream action; sagas coordinate via orchestration or choreography, and itempotence plus retries minimize but do not eliminate commit-edge failures.

AI-written summary · about

  1. 0:00Introduction
  2. 3:10Reliability Patterns
  3. 8:30Retry
  4. 12:13Multiple State Changes
  5. 17:16Unpredictable Errors
  6. 19:12Isolation Patterns
  7. 21:05Transactional Outbox
  8. 22:16Sequence Diagram
  9. 24:20Demos
  10. 26:27Advantages
  11. 30:21Change Data Capture
  12. 36:58Cosmos Change Data Capture
  13. 41:54Data Streaming
  14. 44:19Avoiding Commit Errors
  15. 46:08Orchestration vs Choreography
  16. 47:04Orchestration Workflow
  17. 49:05Microservices
  18. 51:14Never add on
  19. 52:27Avoid taking multiple actions
  20. 56:00Resources
  21. 57:04Questions
~/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.