SlideShare a Scribd company logo
Parallel processing for Splitter
The Splitter Flow Control splits a message into separate fragments,
then sends these fragments one at a time to the next message
processor in the flow. We can process parallel. The solution was
achieved by encapsulating the Collection-Splitter and Collection-
Aggregator within VM Outbound Endpoints, such that each item
within the collection is assigned to a separate VM thread which
then aggregates the resultant payload of each thread. Both VMs
were wrapped with the Request-Reply component, as shown
below, such that the Request-Reply component waits for all
asynchronous processes to complete and receives the
asynchronous response from the asynchronous flow
Parallel processing for Splitter -
Flow
Parallel processing for Splitter –
XML
Parallel processing for Splitter
input: A list of objects
output: A list of processed objects
Mule constructs:
•collection-splitter router: To split the list of input objects
•vm transport: To queue the objects for parallel processing
•async router: To process a object asynchronously and in a mult-
threaded model
•collection-aggregator router: To aggregate the split and
processed objects back to a list for output
Parallel processing for Splitter -
JSON
{
"locations": {
"record": [
{
"id": 8817,
"loc": "New YORK CITY"
},
{
"id": 2873,
"loc": "United STATES"
},
{
"id": 1501,
"loc": "New YORK STATE"
}
]
}
}
Parallel processing for Splitter -
JSON
{
"locations": {
"record": [
{
"id": 8817,
"loc": "New YORK CITY"
},
{
"id": 2873,
"loc": "United STATES"
},
{
"id": 1501,
"loc": "New YORK STATE"
}
]
}
}

More Related Content

PDF
Reactive cocoa
PDF
Clustering and load balancing : jboss
PPT
PDF
Async Server Rendering in React+Redux at NYTimes (redux-taxi)
PDF
Experiment for large-scale operation of LibreOffice Online, 2019 Edition
KEY
Cassandra at Twitter - Distributed Counters
ODP
PPT
Consume wsa
Reactive cocoa
Clustering and load balancing : jboss
Async Server Rendering in React+Redux at NYTimes (redux-taxi)
Experiment for large-scale operation of LibreOffice Online, 2019 Edition
Cassandra at Twitter - Distributed Counters
Consume wsa

What's hot (20)

PDF
Functional Reactive Programming (CocoaHeads Bratislava)
PDF
Time Machine
PPTX
Mule batch introduction
PDF
Basic terminologies for a developer
PDF
Docker Fundamentals
PPTX
Shipping your logs to elk from mule app/cloudhub part 3
PDF
Flink Forward Berlin 2017: Maciek Próchniak - TouK Nussknacker - creating Fli...
PDF
Building your own Distributed System The easy way - Cassandra Summit EU 2014
PPTX
Mule agent architecture
PPTX
Bathcamp 2010-riak
PDF
Advanced React
PDF
Observer, a "real life" time series application
PPT
Asynchronous handlers in asp.net
PPTX
Mule components
PPTX
Project Reactor By Example
PDF
promgen - prometheus managemnet tool / simpleclient_java hacks @ Prometheus c...
PDF
20171027 モニタリング勉強会
PPT
Weblogic-clustering-failover-and-load-balancing-training
PDF
[Draft] Fast Prototyping with DPDK and eBPF in Containernet
PDF
Enterprise Integration Patterns with Camel
Functional Reactive Programming (CocoaHeads Bratislava)
Time Machine
Mule batch introduction
Basic terminologies for a developer
Docker Fundamentals
Shipping your logs to elk from mule app/cloudhub part 3
Flink Forward Berlin 2017: Maciek Próchniak - TouK Nussknacker - creating Fli...
Building your own Distributed System The easy way - Cassandra Summit EU 2014
Mule agent architecture
Bathcamp 2010-riak
Advanced React
Observer, a "real life" time series application
Asynchronous handlers in asp.net
Mule components
Project Reactor By Example
promgen - prometheus managemnet tool / simpleclient_java hacks @ Prometheus c...
20171027 モニタリング勉強会
Weblogic-clustering-failover-and-load-balancing-training
[Draft] Fast Prototyping with DPDK and eBPF in Containernet
Enterprise Integration Patterns with Camel
Ad

Similar to Parallel processing for splitter in mule esb (20)

PDF
Guide to Spring Reactive Programming using WebFlux
PPTX
Mule splitters
PPTX
Mule splitters
PPTX
Splitters in mule
PPTX
PPTX
Mule splitters
PPTX
Stream processing from single node to a cluster
PDF
Introducing the WSO2 Elastic Load Balancer
ODP
Red Hat Open Day JBoss Fuse
PDF
Apache samza
PDF
How the WSO2 ESB outperforms other major open source esb vendors
PPTX
Remoting and serialization
PPTX
FlumeBase Study
PPTX
PPTX
Mulesoft Soap Service
PPTX
PLNOG 13: Michał Dubiel: OpenContrail software architecture
PPTX
SignalR with asp.net
PPTX
Vmtransport 160723040146
PPTX
Vm transport
PPT
Mule overview
Guide to Spring Reactive Programming using WebFlux
Mule splitters
Mule splitters
Splitters in mule
Mule splitters
Stream processing from single node to a cluster
Introducing the WSO2 Elastic Load Balancer
Red Hat Open Day JBoss Fuse
Apache samza
How the WSO2 ESB outperforms other major open source esb vendors
Remoting and serialization
FlumeBase Study
Mulesoft Soap Service
PLNOG 13: Michał Dubiel: OpenContrail software architecture
SignalR with asp.net
Vmtransport 160723040146
Vm transport
Mule overview
Ad

More from Sunil Kumar (9)

PPT
Distributed Locking in Mule
PPT
IP Based Security Filter in Mule
PPT
Time based Security Filter in Mule
PPT
Start stop mule flow using java
PPT
Find Number of VM message in Mule
PPT
Vm file store
PPT
Custom transformer and annotation
PPT
Custom processor
PPT
Signature Security mule
Distributed Locking in Mule
IP Based Security Filter in Mule
Time based Security Filter in Mule
Start stop mule flow using java
Find Number of VM message in Mule
Vm file store
Custom transformer and annotation
Custom processor
Signature Security mule

Recently uploaded (20)

PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Spectroscopy.pptx food analysis technology
PDF
cuic standard and advanced reporting.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPT
Teaching material agriculture food technology
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Cloud computing and distributed systems.
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
sap open course for s4hana steps from ECC to s4
MIND Revenue Release Quarter 2 2025 Press Release
Spectroscopy.pptx food analysis technology
cuic standard and advanced reporting.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Encapsulation_ Review paper, used for researhc scholars
Advanced methodologies resolving dimensionality complications for autism neur...
Teaching material agriculture food technology
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Cloud computing and distributed systems.
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Spectral efficient network and resource selection model in 5G networks
20250228 LYD VKU AI Blended-Learning.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
sap open course for s4hana steps from ECC to s4

Parallel processing for splitter in mule esb

  • 1. Parallel processing for Splitter The Splitter Flow Control splits a message into separate fragments, then sends these fragments one at a time to the next message processor in the flow. We can process parallel. The solution was achieved by encapsulating the Collection-Splitter and Collection- Aggregator within VM Outbound Endpoints, such that each item within the collection is assigned to a separate VM thread which then aggregates the resultant payload of each thread. Both VMs were wrapped with the Request-Reply component, as shown below, such that the Request-Reply component waits for all asynchronous processes to complete and receives the asynchronous response from the asynchronous flow
  • 2. Parallel processing for Splitter - Flow
  • 3. Parallel processing for Splitter – XML
  • 4. Parallel processing for Splitter input: A list of objects output: A list of processed objects Mule constructs: •collection-splitter router: To split the list of input objects •vm transport: To queue the objects for parallel processing •async router: To process a object asynchronously and in a mult- threaded model •collection-aggregator router: To aggregate the split and processed objects back to a list for output
  • 5. Parallel processing for Splitter - JSON { "locations": { "record": [ { "id": 8817, "loc": "New YORK CITY" }, { "id": 2873, "loc": "United STATES" }, { "id": 1501, "loc": "New YORK STATE" } ] } }
  • 6. Parallel processing for Splitter - JSON { "locations": { "record": [ { "id": 8817, "loc": "New YORK CITY" }, { "id": 2873, "loc": "United STATES" }, { "id": 1501, "loc": "New YORK STATE" } ] } }