What is the Choreography Pattern? Adam Bellemare defines it in his book "Building Event Driven Microservices" as "the one where microservices react to the input events as they arrive, without blocking or waiting, in a manner fully independent from any upstream producers or subsequent downstream consumers".
The name comes from the real life dance performance where each dancer knows their own role and performs independently without being explicitly told what to do when dancing. Therefore the producer of these events is isolated from the consumers receiving the events.
■ Pros of using the Choreography Pattern:
■■ Allows for loosely coupled system to interact with each other.
■■ Producer business logic is fully isolated from the downstream consumers.
■ Cons of using the Choreography Pattern:
■■ It could be hard to debug in cases where the workflow is complex.
■■ Consumers may not need all sent events making the consumers use resources they don't need.
== Relevant links
■ Building Event-Driven Microservices (affiliate link):
■ Example code:
■ Software Architecture in Go/Golang:
■ Learning Golang: Concurrency Patterns using errgroup package:
■ Learning Golang: Context package: Cancellations, Deadlines and Request-scoped values
== All Go/Golang Playlists
■ Building Microservices in Go/Golang:
■ Go/Golang Tools and Packages:
■ Learning Concurrency Patterns in Go/Golang:
■ Learning Go/Golang :
■ Learning Relational Databases in Go/Golang:
■ Software Architecture in Go/Golang:
■ Testing in Go/Golang:
== Socials
■
■
■
00:00 - Introduction to the Choreography Pattern for Microservices
01:15 - Example of implementing the Choreography Pattern in Golang
11:33 - Conclusion of the Choreography Pattern using Golang
=== Who am I?
Hello! I'm Mario, a Hands-on Software Architect and Lead Backend Engineer with decades of professional experience building all kinds of software including on-premise Industrial Automation Systems, Linux Accessibility Desktop and Browser Components as well as Distributed Advertising Microservices.
The content I share includes different topics I've learned while working for small startups and large companies including the processes I've followed over the years for successfully delivering complex enterprise systems from start to end.
Subscribe if you like Software Development, Software Architecture and Systems Design!
Keep it up. Don't give up!
=== Our Vlog Channel
=== Our affiliate links below
■ My Amazon Storefront:
■ Shop my IG posts on my shopLTK page:
■ Vlog camera: Sony RX100 VII
■ Other vlog cameras and gear:
■ Shop through my links to support the channel:
■ Get a 30 day FREE Trial of Epidemic Sound:
■ Join Rakuten for FREE and get $30 when you spend $30:
DISCLAIMER: Some of the links shared in the description are affiliate links. As a member of these affiliate programs, I earn a small commission from your purchases at no additional cost to you. I appreciate your support!
Смотрите видео Software Architecture in Golang: Choreography Pattern онлайн без регистрации, длительностью 11 минут 40 секунд в хорошем hd качестве. Это видео добавил пользователь Mario Carrion 24 Июнь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3 тысяч раз и оно понравилось 8 людям.