Performance of SonicMQ

paulsu

New Member
Hi folks,

I wonder if anyone has any tips for improving the performance of SonicMQ broker and the SonicMQ 4gl adapter.

We have a VB program that sends an XML message to a topic on the SonicMQ broker using the Sonic ActiveX component to talk to the broker.

We then have a 4gl program running on a different box. It has a durable subscription to the topic and receives the XML (via the sonicMQ 4gl adapter), parses it, creates a database record and then sends a new XML message to a different topic on the SonicMQ broker (which the VB program receives as a reply).

When only a small number of messages are transmitted this architecture works really well. However if we need to send a large number of messages (ie 1000+) performance is seriously compromised.

When we send a large number of messages the process seems to run quite quickly until the buffer on the adapter fills up - I think the adapter can only hold about 216 messages. Once this buffer fills up the process slows down. Its seems that every time a message is taken off the adapter, the adapter then request another message from the broker.

Is there any way to increase the size of the buffer on the adapter? Even if this buffer can be increased, will this help to improve the performance?

Any other advice would be appreciated.

Thanks in advance

Paul
 

molly

New Member
Hi,
Not sure if this helps but if the messages are one to one and the order of receiving and sending isn't important you could use queues and set up more then one client on the 4gl side.

MOlly
 
Top