Orchestration and choreography in .NET microservices

InfoWorld | at | by Mike

As more businesses adopt microservice architectures for their applications, more developers have had to grapple with the concepts of orchestration and choreography. Although these terms are sometimes used interchangeably, there are key differences between these two architectural patterns.Orchestration is a centralized approach to making all control decisions about interactions between services. Here a central orchestrator service coordinates all of the other services that execute a business transaction or workflow. By contrast, a choreography is a decentralized approach to coordinating this workflow, where each service determines its own behavior based on the messages it receives from other services.This article will cover the core concepts of orchestration and choreography in microservices architectures and discuss how you might use each in your microservices-based applications. We’ll also simulate microservices orchestration and choreography in code examples provided below.