~/talk

Co-ordinating data changes in distributed systems

Talkat GopherCon UK 2021 · 2021-10-25..10-27· [microservices]
links:none on file
slides:none on file

Asks how to make multi-service changes atomic and shows a working Go-based orchestration saga: a change orchestrator publishes commands to profile, vehicle and policy channels and listens on a reply channel, using a simple state-machine switch to advance steps. Uses message brokers (RabbitMQ/Kafka/EventBridge suggested), revision-based rollbacks plus optional distributed locks, and enforces transaction IDs and idempotency. Code exists as a beta GitHub repo and the approach proves viable but requires observability and careful failure handling.

AI-written summary · about

  1. 0:00Start
  2. 0:07Changing data is easy!
  3. 6:16Implementing the Orchestration Saga Pattern
  4. 14:40Use unique transaction IDs
  5. 15:50Provide the data to the services
  6. 16:40Observe your Sagas
~/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.