~/talk

Implementing Event-driven Systems with Go

Talkat GopherCon AU 2023 · 2023-11-08..11-10· [microservices, go]
links:none on file
slides:none on file

Shows implementing a transactional outbox by adding an outbox table in Postgres and writing content plus outbox rows atomically inside a DB transaction with deferred rollback; builds a Go event relay that uses Postgres LISTEN/NOTIFY to pick up new rows and forward them to middleware (Kafka example); addresses Kafka’s 1MB limit by encoding messages with protobuf and maintaining schemas; enforces idempotency with version numbers and uses DAO patterns for testable DB access.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:55Event-driven systems basics
  3. 5:50Example event system workflow
  4. 8:23Dual writes problem and solution
  5. 11:21Design patterns for Go apps
  6. 15:43Event relay implementation
  7. 17:09Idempotency in event systems
  8. 18:11Message size and serialization
  9. 19:36Summary and key takeaways
  10. 21:27Q&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.