|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Question: Load balancing using triggering process??? |
« View previous topic :: View next topic » |
Author |
Message
|
dcipher18 |
Posted: Wed Sep 11, 2002 1:59 am Post subject: Question: Load balancing using triggering process??? |
|
|
Novice
Joined: 05 Sep 2002 Posts: 11 Location: Chicago
|
Hi all,
Is is possible to use the triggering process to accomplish load balancing? i.e. to triggger new client programs to consume messages when the number of messages on a queue hits certain threshold levels?
Example of desired scenario...
To have 1 client process handling queues with 1-50 messages on it
To have 2 client processes handling queues with 50-100 messages on it
To have 3 client processes handling queues with over 100 messages.
How would you arrange for this to be done?
Thanks in advance for any pointers. |
|
Back to top |
|
 |
oz1ccg |
Posted: Wed Sep 11, 2002 2:25 am Post subject: |
|
|
 Yatiri
Joined: 10 Feb 2002 Posts: 628 Location: Denmark
|
One way is to write your own trigger monitor.... that sits and control the queue depth and the decide to start additional clients... with some controlling information in the MQTM.. eg. waitinterval.
Anothere approch is to design the applications to do it themself, e.g. check the Qdepth and OIcount, and from there decide if it's time to start a new client, with a shorter wait interval.
This is the thw self balancing algorithmns I just remember, and have seen working in practice.
Just my $0.02  _________________ Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT. |
|
Back to top |
|
 |
Glen Shubert |
Posted: Tue Sep 17, 2002 11:50 am Post subject: |
|
|
 Apprentice
Joined: 16 May 2001 Posts: 42 Location: TSYS - Columbus, GA
|
We currently do this on an OS/390 MQ2.1 system. The triggered process is a CICS transaction that monitors the queue. It also kicks off x transactions where x is set in the User Data. It will also kick off more transactions when a certain depth is hit, also passed in User Data. The "processing transaction" can also process a certain number of messages, again passed as User Data, in order to keep resource utilization to a minimum. _________________ Glen Shubert
Associate Director
MQSeries Technical Support
TSYS |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|