每个服务只提供整个业务事务的一小部分,结果是一个操作进入另一个的处理中(例如订单执行和记账)。
Each service may only provide a small part of the overall business transaction, with results of one operation feeding into the processing of another (such as order fulfillment and billing).
对于一个事务,例如销售订单的创建,可能有十五个表,以及将要在每个表中进行比较的十到十五个之间的字段。
For a transaction such as the creation of a sales order, there may be fifteen tables and between ten and fifteen fields that are to be compared in each table.
想要执行某个事务(例如更新订单或者购买某个产品)的应用程序,只需从应用程序中调用存储过程。
Applications wanting to begin a transaction, such as updating an order or purchasing a product simply need to invoke the appropriate stored procedure from the application.
应用推荐