62 Broker Interactions for Intra- and Inter-enterprise
Guidelines for use
The following guidelines apply to this variation in addition to the guidelines that
are documented under the Serial Process application pattern.
The implementation of parallel processes without sufficient support from the
selected runtime engine would require the development of excessive custom
code. The need for parallel process execution must be analyzed before
middleware selection decisions are finalized.
Judicious use of parallelism is a powerful tool for reducing the cycle time of a
process in the right circumstances. However, in practice, it is critical to ensure
that all the error scenarios are carefully analyzed, and that the impact of these
scenarios upon the end user experience is thoroughly understood. The number
of error scenarios and processing complexity increases exponentially with the
degree of parallelism. Hence best practice is to start serial, and introduce limited
parallelism only where there is a clear and worthwhile benefit.
Benefits
In addition to providing all the benefits provided by the Serial Process application
pattern, this pattern provides a foundation for the reduction of cycle times by
implementing parallel processes.
Limitations
Parallel processes are more complex to design, test, and operate than serial
processes.
In addition, this Application pattern is ideally suited for straight through
processing where human interactions are not necessary to complete an
end-to-end process. If support for human interactions are needed to complete
certain process steps, consider the Workflow variation of this Application pattern.
Putting the Application pattern to use
ITSO Electronics, an electronics retailer/wholesaler, wants to integrate their retail
department with their two wholesale departments, namely Wholesale A and
Wholesale B. Currently, these three departments have proven IT infrastructures
but have no interconnectivity. ITSO Electronics wants to focus on automating the
inventory replenishment process.
The main difference from the scenario used in Serial Process and Serial
Workflow application patterns sections is that here both Wholesalers are queried
in parallel to find who offers the shortest delivery time. In other words here
Wholesale Dept. A is not considered as the defacto supplier of parts. The order is
then automatically placed with the wholesale department that offers the shortest
delivery date.