ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Question: Load balancing using triggering process???

Post new topic  Reply to topic
 Question: Load balancing using triggering process??? « View previous topic :: View next topic » 
Author Message
dcipher18
PostPosted: Wed Sep 11, 2002 1:59 am    Post subject: Question: Load balancing using triggering process??? Reply with quote

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
View user's profile Send private message
oz1ccg
PostPosted: Wed Sep 11, 2002 2:25 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Glen Shubert
PostPosted: Tue Sep 17, 2002 11:50 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Question: Load balancing using triggering process???
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.