Choreography vs Orchestration in serverless microservices
summary
Compares event-driven choreography with centralized orchestration, claiming Google Cloud Workflows captures business flows, centralizes retries/timeouts and exposes failing steps, while Pub/Sub choreography keeps services loosely coupled and easy to extend. Shows a concrete refactor of the Pika Daily photo app from three event types and multiple functions to a workflow-driven flow calling Vision API, Cloud Run and Cloud Functions; result is less code, simpler setup, clearer error visibility but lost parallelism, harder YAML debugging and a new single-point-of-orchestrator risk.
AI-written summary · about
