Author |
Message
|
sapana |
Posted: Wed Oct 07, 2009 2:21 am Post subject: Fan-out requests from aggregation nodes |
|
|
Apprentice
Joined: 16 Apr 2007 Posts: 33 Location: Pune
|
It is mentioned in the message broker(v6.1) documentation that:
When you include these(Aggregation) nodes in your message flows, the multiple fan-out requests are issued in parallel from within a message flow.
But I have observed that the fan-out requests are sent serially, for example consider we have 4 OUT terminals of AggregateControl node connected to initiate 4 different services. I had an impression that during run time, the control would be split into 4 threads being processed in parallel. But this doesnot seem to be the case.
Please clarify. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Oct 07, 2009 2:33 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
No, the aggregation nodes do not create new threads.
You can send fan out request messages to MQOutput nodes to start a new thread off an MQInput node, and in this way process each request in parallel. |
|
Back to top |
|
 |
sapana |
Posted: Wed Oct 07, 2009 2:40 am Post subject: |
|
|
Apprentice
Joined: 16 Apr 2007 Posts: 33 Location: Pune
|
But then why does the documentation says : the multiple fan-out requests are issued in parallel from within a message flow ?
And then isnt it similar to what we can achieve using MQOutput nodes in sequence? Whats the added benefit of using aggregate nodes then? |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Oct 07, 2009 2:47 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The advantage of the aggregation is the combination of the replies at the AggregationReply node. |
|
Back to top |
|
 |
sapana |
Posted: Wed Oct 07, 2009 2:50 am Post subject: |
|
|
Apprentice
Joined: 16 Apr 2007 Posts: 33 Location: Pune
|
ok.. Thanks for you replies. |
|
Back to top |
|
 |
sapana |
Posted: Wed Nov 25, 2009 3:34 am Post subject: |
|
|
Apprentice
Joined: 16 Apr 2007 Posts: 33 Location: Pune
|
I had sent a note to IBM support team saying : "Fan-out requests are not issued in parallel but in serial in random sequence. It is misleading to say that fan-out requests are issued in parallel."
They have replied saying : "We will work with our developers to update the topic."
Sapana |
|
Back to top |
|
 |
|