Exactly, orchestration and choreography are both approaches to managing interactions between services in a distributed system: 1. **Orchestration:** This approach involves a central controller (orchestrator) that coordinates and manages the interactions between services. The orchestrator dictates the flow of the process, deciding the order of service invocations and handling error handling and compensation. It's like a conductor leading a symphony orchestra, directing each instrument (service) when to play and ensuring they harmonize together. 2. **Choreography:** In contrast, choreography decentralizes control, with each service knowing how to interact with others autonomously. Services communicate directly with each other through predefined contracts or events without a central coordinator. It's akin to a dance where each dancer (service) knows their steps and movements independently, relying on cues from others to perform their part in synchrony. In summary, orchestration focuses on central coordination and management of service interactions, while choreography emphasizes decentralized communication and autonomy among services. ChatGPT ❤🎉 Ok. Cracked that.
We need to write custom Orchestrator service when our actual services are deployed in Kubernetes. Orchestrator service can then log the success/failure in a central table and the business logic can still reside in Choreographed services. Great videos and lot of learning!!
Thanks for pointing out the bad links! We're updating them. While we are working on that, you can copy and paste the addresses from the video description. They take you to the right pages if you paste them into your browser's address bar.
Attila, thanks for pointing out the bad links! We're updating them. While we are working on that, you can copy and paste the addresses from the video description. They take you to the right page. There are some good examples of error handling in Workflows here: cloud.google.com/workflows/docs/sample-workflows#error_handling
Hey guys, thanks for making this video. It's always a pleasure to see you guys. You guys explained it well. I want to learn Google Cloud Platform from scratch. I know a little bit coding from my engineering days, I find this quite fascinating. Can you please recommend resources or courses? Thanks in advance.
Ehsan, I find this page useful: cloud.google.com/gcp/getting-started. It links to short videos and also to sample projects you can get started on. I like the sample projects, because you get something that works, and then you can tweak it or expand it. For me, that's much easier than starting from scratch.