Monday, July 16, 2018

2018-07-15 Sunday - Orchestration vs Choreography

I've often been lax in my choice of using the terms Orchestration or Choreography.

This evening I found a useful explanation of the distinction between the two, in this Wikipedia article on BPEL:

https://en.wikipedia.org/wiki/Business_Process_Execution_Language
"BPEL is an orchestration language, and not a choreography language. The primary difference between orchestration and choreography is executability and control. An orchestration specifies an executable process that involves message exchanges with other systems, such that the message exchange sequences are controlled by the orchestration designer. A choreography specifies a protocol for peer-to-peer interactions, defining, e.g., the legal sequences of messages exchanged with the purpose of guaranteeing interoperability. Such a protocol is not directly executable, as it allows many different realizations (processes that comply with it). A choreography can be realized by writing an orchestration (e.g., in the form of a BPEL process) for each peer involved in it. The orchestration and the choreography distinctions are based on analogies: orchestration refers to the central control (by the conductor) of the behavior of a distributed system (the orchestra consisting of many players), while choreography refers to a distributed system (the dancing team) which operates according to rules (the choreography) but without centralized control."

No comments:

Copyright

© 2001-2021 International Technology Ventures, Inc., All Rights Reserved.