Book Image

SOA Cookbook

By : Michael Havey
Book Image

SOA Cookbook

By: Michael Havey

Overview of this book

Table of Contents (14 chapters)
SOA Cookbook
Credits
About the Author
About the Reviewers
Preface

Flat Concurrency


Disputes is sequential in the sense that its activities happen one after another, but never at the same time. In this section, we consider briefly how to flatten a process with concurrent, or parallel branches.

Long-Lived Concurrency

To begin, we distinguish between short-lived and long-lived parallelism. Short-lived parallelism occurs when two or more sequences of activities are executed in parallel, but the complete unit fits entirely within the logic of an individual route or event handler, or within the logic of a transition or entry into a state. Short-lived parallelism is isolated and does not affect the overall process structure, and thus does not need to be treated specially.

Long-lived parallelism occurs when the parallelism in the process spans multiple events, states, or routes. As such, long-lived parallelism impacts the overall flat structure, and needs to be carefully considered in the design. Regarding the three flat forms: ...