I have exposed a message flow which takes SOAP request message builds a stored procedure call and executes it and timeout is set for 1 minute.
I have deployed on broker with default instances.
HTTPInput>>>>ComputeNode>>>>>>HTTPReply
Practically it seems like it is processing one SOAP request at a time and the requests which are coming after that are queued up in SYSTEM.BROKER.WS.INPUT queue.....
The issue here is when it is processing first message it is taking nearly 45 seconds and forcing the second message wait in SYSTEM.BROKER.WS.INPUT queue by the time second message gets processed the third message is getting timed out.
Does one instance of message flow cannot handle multiple simultaneous requests....
Well additional requests can be processed simultaneously if you set the "additionalInstances" on the flow! This equates to number of threads processing messages. By default there will only be one thread processing messages... _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
By default there will only be one thread processing messages...
By default there will be one thread PER *Input node in the flow. Regardless of what "kind" of input node that is. If the SOAPInput node was instead an MQInput node, and the flow still took 45 seconds to process but requests were coming in every 5 seconds... messages would *still* be piling up on a queue.
Joined: 30 Nov 2006 Posts: 614 Location: Washington DC
Actually my question is by default if we set Additional instances to 0 for the message flow and deploy it ....
How many concurrent connections broker can accept at a given point of time as per the documentation it says 250 which means the 251st client that tries to connect will get a Connection Refused response. But its not at all happening for me all the requests are piling up in the SYSTEM.BROKER.WS.INPUT queue which is making the client timeout.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum