编排与编舞 [英] Orchestration vs. Choreography

查看:196
本文介绍了编排与编舞的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从组织内部的角度来看,服务编排和服务编排之间有什么区别。

What are the differences between service orchestration and service choreography from an intra-organization point of view.

推荐答案

诸如此类的基本技术as(XML,SOAP,WSDL)提供了将服务描述,定位和调用为实体的方法。但是,这些技术并未提供有关服务在更复杂的协作中的角色的丰富行为细节。这种协作包括一系列活动以及活动之间的关系,从而建立了业务流程。有两种方法可以构建此流程:服务编排和服务编排。

Basic technologies such as (XML, SOAP, WSDL) provide means to describe, locate, and invoke services as an entity in its own right. However, these technologies do not give a rich behavioral detail about the role of the service in more complex collaboration. This collaboration includes a sequence of activities and relationships between activities, which build the business process. There are two ways to build this process: service orchestration and service choreography.

服务编排表示单个集中的可执行业务流程(协调器)来协调不同服务之间的交互。协调器负责调用和组合服务。

Service orchestration represents a single centralized executable business process (the orchestrator) that coordinates the interaction among different services. The orchestrator is responsible for invoking and combining the services.

所有参与服务之间的关系由单个端点(即复合服务)描述。编排包括各个服务之间的事务管理。 Orchestration采用集中式方法进行服务组合。

The relationship between all the participating services are described by a single endpoint (i.e., the composite service). The orchestration includes the management of transactions between individual services. Orchestration employs a centralized approach for service composition.

服务编排是参与服务的全局描述,它是通过两个或多个之间的消息交换,交互规则和协议来定义的端点。编排采用分散式方法进行服务组合。

Service choreography is a global description of the participating services, which is defined by exchange of messages, rules of interaction and agreements between two or more endpoints. Choreography employs a decentralized approach for service composition.

编排描述了多个服务之间的交互,其中从一个参与方的角度来看,业务流程代表控制。这意味着与编排编排 不同,关于控制所涉及的服务之间的交互的逻辑应驻留的位置。

The choreography describes the interactions between multiple services, where as orchestration represents control from one party's perspective. This means that a choreography differs from an orchestration with respect to where the logic that controls the interactions between the services involved should reside.

这篇关于编排与编舞的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆