~/talk

Avoiding mistakes with events, one at a time

Talkat GeeCON 2023 · 2023-04-19..04-21· [microservices, software-architecture]
slides:none on file

Shows concrete mistakes and fixes: skipping events causes audit-table bloat and slow, long business methods; using predictable numeric IDs or nanoid risks enumeration while UUIDs give time-based correlation; delivery zealotry (Kafka vs DB) favors starting with the app database and adding Kafka later; apply the outbox pattern to avoid lost events, monitor the outbox table for growth, and design for idempotence because exactly-once delivery is impossible. Avoid Java default serialization, prefer JSON/protobuf/Avro with a schema and test versioned deserialization.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 4:48What is an event
  3. 8:19Mistake zero missing events
  4. 15:00Event identification pitfalls
  5. 23:39Delivery mechanism zealotry
  6. 27:34Immutable events and GDPR
  7. 32:31Event ordering and compensation
  8. 32:54Serialization mistakes
  9. 36:08Schema and event naming
  10. 39:59Overweight event problems
  11. 41:25Exactly once delivery myth
  12. 43:09Outbox pattern explained
  13. 45:18Events and tracing complexity
  14. 46:21TL;DR and book recommendations
  15. 47:43Q&A session
~/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.