~/talk

Choreography vs Orchestration in serverless microservices

Talkat Devoxx Ukraine 2021 · 2021-11-19..11-20· [microservices]
slides:none on file

Compares an event-driven Picadilly app (Cloud Storage, Cloud Functions, Cloud Run, Pub/Sub, Eventarc, Cloud Scheduler, Vision API, Firestore) with a Google Cloud Workflows rewrite that starts from a storage event and orchestrates vision calls, metadata writes, thumbnail and collage services. The rewrite eliminates two functions, collapses three event formats into a single HTTP format, reduces setup and code, and makes failures visible — workflows shows the failing step — while trading off YAML testing/debugging and lacking parallel steps at the time. Executions run successfully in the demo.

AI-written summary · about

  1. 0:00Intro
  2. 2:22Imagine a simple e-commerce transaction
  3. 3:49Simple REST: Pros and Cons
  4. 5:46Choreography (event-driven)
  5. 6:40Choreography: Pros and Cons
  6. 9:31Imagine a more complex transaction
  7. 11:12Orchestration: Pros and Cons
  8. 15:39Hybrid approach
  9. 18:51CNCF Serverless Workflow
  10. 27:57Choreographed (event-driven) architecture
  11. 38:02Lessons 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.