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 » slower performance observed What to do?.

Post new topic  Reply to topic Goto page Previous  1, 2
 slower performance observed What to do?. « View previous topic :: View next topic » 
Author Message
jefflowrey
PostPosted: Thu Apr 07, 2005 10:23 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Remember, it's going to take nx time for the client to put n messages.

The MDB can't get the first message until after the first one of those x periods of time.

So the MDB has to wait x length of time before it can get the first message.

So if you are measuring the length of time it takes for MDB to process by subtracting the start time from the end time... and forgetting to exclude the time it takes for the client to put....

There is some parallelism here. But if the MDB processes each message faster than the client commits the put, then it is still waiting.

And, of course, if the client really doesn't commit the puts until all of them are done, then the MDB has to wait for nx before it can do any work.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Apr 07, 2005 1:54 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20766
Location: LI,NY

Quote:
hi fjb_saper the problem is like
Put 2000 messages using MQClient on to Queue takes = 2 hours say.
process 2000 messages using MDB takes = 2 hours
say when they ran one after another it is taking (2+2) 4 hours.

if one start both MQClient and MDB together it should be takeing 2 hours right. But it is taking still 4 hours and more.
Each message commited by MQClient independently not depended on other messages. MDB is running concurrently. then why the slow down.


This information is not specific enough. When does the client put the first / last of the 2000 messages. When does the MDB do the first/last get?

Your 4 hours are dependent on
first and last put to the queue
first and last commit of the putting application.

Now if it takes 2 hours to put the 2000 messages (must be a lot of other computing going on) and the first commit on the putting client is at the end of the 2000 messages you have already lost 2 hours during which the MDB could not get any of the messages as they were not yet committed.

If the last of the put messages is put 4 hours after the 1st and each are committed individually processing speed does not matter. The total processing time (first put to last get) is then really dependant on last put to last get and the MDB can have spent 99 % of the time idle waiting for the messages from the put application.

I hope you chose your numbers as an example. I have seen put/get rates of more than 5000 messages per minute.

Enjoy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General Discussion » slower performance observed What to do?.
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.