~/talk

Choreography vs Orchestration in serverless microservices

Talkat JCON-ONLINE 2021 · 2021-10-05..10-08· [serverless, microservices]
slides:none on file

Photo-sharing app moves from messy event-driven wiring (Pub/Sub/Eventarc plus Cloud Functions, Cloud Run, Firestore, Vision API) to a central orchestrator using Google Cloud Workflows, which defines steps, retries, timeouts, and connectors. Result: fewer services and less glue code, declarative error policies, single JSON flow between steps, and easier tracing of failed steps; tradeoffs are reduced plug‑and‑play flexibility and dependence on the orchestrator as a service. Demo shows thumbnails, ML labels, and scheduled jobs implemented via workflow steps.

AI-written summary · about

  1. 0:00Intro
  2. 1:53Imagine a simple e-commerce transaction
  3. 3:40Simple REST: Pros and Cons
  4. 6:14Imagine a more complex transaction
  5. 8:00Choreography: Pros and Cons Pros
  6. 13:06Orchestration: Pros and Cons
  7. 17:12It depends...
  8. 19:40Hybrid approach
  9. 23:22Choreography (event-driven)
  10. 26:22CNCF Serverless Workflow
  11. 34:31Steps
  12. 35:06Errors and retries
  13. 36:31Conditionals and 3rd party calls
  14. 37:04Other useful features Subworkflows
  15. 42:40Choreographed (event-driven) architecture
  16. 43:563 different event handling approaches
  17. 45:07Orchestrated architecture
  18. 47:11Lessons 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.