Long and short running process use cases.
长时间运行和短时间运行的流程用例。
An entire process may be transactional (short running).
整个过程可能都是事务性的(短期运行)。
Business processes can be short running, or take hours, days, weeks or more to complete.
业务流程运行的时间可以很短,也可以是数小时、数天、数周或更长时间。
Transaction services provide error recovery for both short running and long running processes.
事务服务为短期运行和长期运行过程提供错误恢复。
These use cases include reusable business processes (long or short running) in the layers below.
这些用例包括 其下层的可重用业务流程(长时间运行或短时间运行)。
For example, short running atomic transactions can be part of a long running business transaction.
例如,短期运行的原子事务可以成为长期运行的业务事务的一部分。
A consumer application can expect a result almost instantly when invoking a short running process.
使用者应用程序在调用短时间运行的流程时几乎能够即时得到结果。
WS-AT is a two-phase commit transaction and is suitable only for micro transactions (short running).
WS - AT是两阶段提交事务,仅适合于微型事务(短期运行)。
When the calling component is a short running process, the preferred interaction style is honored for one-way target operations.
调用组件是短时间运行的进程时,将对单向目标操作采用首选交互样式。
As you learned in Part 1, long running processes, short running processes, and automated activities are all invoked by a service.
正如第1部分中所述,长时间运行的流程、短时间运行的流程和自动化活动都由服务进行调用。
For both long and short running process use cases, there is no Primary Actor; they are always triggered by other use cases and don't directly involve any user interaction.
对于长时间运行和短时间运行的流程用例,并没有主要参与者;它们始终由其他用例触发,并不直接涉及任何用户交互。
Part 1 explained that long and short running processes are executed in the business process layer of the architecture, potentially by a business process orchestration engine.
第1部分说明了长时间运行和短时间运行的流程在体系结构的业务流程层中执行,可能通过业务流程编排引擎执行。
This short-running process follows the Execute Transaction pattern described in Part 2 of this series.
这个短时间运行的流程遵循本系列 第 2部分中所述的“执行事务”模式。
This shows that when a fault occurs in a short-running process, the transaction is rolled back.
这个测试显示,当短期运行流程出现故障时,事务就会被回滚。
Human activities may need to invoke short-running business processes, which would be in a higher layer if human activities were considered part of the services layer.
人工活动可能需要调用短时间运行的业务流程,如果将人工活动视为服务层的一部分,则业务流程位于较高的层中。
The initial version of the process is short-running.
这个流程的初始版本是短期运行的。
The short-running version of the process is removed from the server.
这个流程的短期运行版本就从服务器上删除了。
Business process layer, short-running process, implemented using BPM engine.
业务流程层,短时间运行的流程,使用BPM引擎实现。
The concept of relaxed ACID can be applied to short-running transactions as well.
放松ACID的概念也可以应用于短期运行的事务。
As a short-running process, the expected behavior is to invoke all three services and to commit the transaction.
作为一个短期运行流程,预期的行为就是调用全部三个服务并执行事务。
Compensation is also available in short-running processes for cases where the invoked services cannot participate in a transaction.
补偿也可以用于短期运行流程中已调用的服务不能加入一个事务的情况。
They will not wait for a response, but they can also call short-running processes using a request-response interaction.
它们将不会等待响应,但还可以使用请求-响应交互调用短时间运行的流程。
You can make sure that long running processes continue to run if the server where they were initiated is stopped abruptly — and you can verify the failover behavior of short-running processes.
您可以确保在从中启动长时间运行流程的服务器突然停止时,长时间运行的流程继续运行——并且可以验证短时间运行流程的故障转移行为。
When the short-running process started, a transaction was opened.
当短期运行流程启动时,一个事务就打开了。
For the short-running process, the transactional boundary is the entire process.
对于短期运行流程,事务的边界就是整个流程。
All of the tasks in a short-running process are synchronous, with no human tasks.
短期运行流程中的所有任务都是同步的,没有人员任务。
In a short-running process, the services invoked are committed together as one unit of work; in the case of a failure, transactional services can roll-back.
在短期运行流程中,调用的服务被绑定到一起,就像一个工作单元一样;故障发生时,事务性服务能够回滚。
The elements of a transaction are contained within a short-running business process.
事务的元素包含在短时间运行的业务流程中。
This use case represents a short-running process that validates the details of a submitted order and stores the new order ready for onward processing.
此用例代表一个短时间运行的流程,此流程验证所提交的订单的详细信息,并存储新订单,准备供后续处理。
This typically occurs when the long-running process represents the fulfillment of a transaction that's represented by a short-running process.
如果短时间运行的流程表示事务,而长时间运行的流程表示此事务的实际执行,通常就会出现这种情况。
应用推荐