~/talk

Choreography vs Orchestration in serverless microservices

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

Compares Pub/Sub event choreography versus centralized Cloud Workflows orchestration by rebuilding a photo‑sharing app: original pipeline uses Cloud Storage triggers, Cloud Functions, Cloud Run, Vision API and Firestore; rewrite moves logic into Workflows YAML that sequences HTTP calls, retries, timers and callbacks. Result: orchestration reduces glue code, simplifies error tracing and removes extra Pub/Sub setup, but YAML limits complex logic, local testing is hard and some microservices disappear; recommends a hybrid: orchestrate tight sequences, eventing for loose integrations.

AI-written summary · about

  1. 0:00Start
  2. 5:23How Error Reporting or Retry and Timeout Logic Works
  3. 8:45Pros and Cons
  4. 13:22Orchestration
  5. 19:25Compensation Steps
  6. 23:28Have an Error on some Step and We Need To Show It on the Ui Do We Better Notify Ui Directly or via Orchestration
  7. 29:52Is It Ideal and Feasible for an Orchestrator To Be Simple Enough that It Can Demand a Hundred Percent Test Coverage
  8. 32:41Cloud Events
  9. 32:59Open Api Specification
  10. 35:26Define Your Workflow
  11. 39:37Other Useful Features
  12. 40:09Iteration
  13. 40:22Callbacks
  14. 41:15Visualization of the Orchestration
  15. 49:03Garbage Collection
  16. 56:18Google Cloud Workflows
  17. 57:19Lessons Learned
~/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.