Author |
Message |
Topic: Problem: QueueSender sends message in 500ms |
vermakov
Replies: 19 Views: 11334
|
Forum: IBM MQ Java / JMS Posted: Sun Sep 27, 2009 5:28 am Subject: Issue closed |
I found the problem. Our developer created listeners and receivers on one session on one connection. This would be fine but he has decided to create listener as asynchronous so
- it listens the Q fo ... |
Topic: Problem: QueueSender sends message in 500ms |
vermakov
Replies: 19 Views: 11334
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 24, 2009 7:24 am Subject: Problem: QueueSender sends message in 500ms |
You are not in any way doing anything to pick the specific reply to your specific request?
You are reading from the replyto queue in a first in first out manner?
Yes. I'm reading reply queue as FI ... |
Topic: Problem: QueueSender sends message in 500ms |
vermakov
Replies: 19 Views: 11334
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 24, 2009 7:19 am Subject: Problem: QueueSender sends message in 500ms |
Have you looked at the client application and the network being the culprit?
Yes, I'm looking into it. Client is consistently slower than server on different machines with different Windows and har ... |
Topic: Problem: QueueSender sends message in 500ms |
vermakov
Replies: 19 Views: 11334
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 24, 2009 6:45 am Subject: Re: Problem: QueueSender sends message in 500ms |
You shouldn't use currentTimeMillis for performance timing (it is inaccurate and doesn't update regularly) but besides that...
I'm not doing performance timing. I'm looking for the spot where we ar ... |
Topic: Problem: QueueSender sends message in 500ms |
vermakov
Replies: 19 Views: 11334
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 24, 2009 6:35 am Subject: Problem: QueueSender sends message in 500ms |
Did you ensure that your receiver was using the native form of the selector to match the reply?
We are not using selectors. All reply messages are consumed by the client and dispatched internally t ... |
Topic: Problem: QueueSender sends message in 500ms |
vermakov
Replies: 19 Views: 11334
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 24, 2009 6:32 am Subject: Re: Problem: QueueSender sends message in 500ms |
For a 500 ms delay in putting a message a trace should not mask the problem. MQ trace I mean. So perhaps trace it and see what can be seen. I suggest to take a look at strmqtrc, endmqtrc instructio ... |
Topic: Problem: QueueSender sends message in 500ms |
vermakov
Replies: 19 Views: 11334
|
Forum: IBM MQ Java / JMS Posted: Wed Sep 23, 2009 4:58 pm Subject: Re: Problem: QueueSender sends message in 500ms |
For a single message, an MQPUT or Java equivalent should be much quicker than this unless the message is extremely large.
I agree. I should have said under 20ms. This is what I observe on the other ... |
Topic: Problem: QueueSender sends message in 500ms |
vermakov
Replies: 19 Views: 11334
|
Forum: IBM MQ Java / JMS Posted: Wed Sep 23, 2009 3:03 pm Subject: Problem: QueueSender sends message in 500ms |
You should review the MQ Peformance Report SupportPacs and make sure that a) your expectations aren't unrealistic, b) your queue manager is configured to handle the volume you're giving it, c) you und ... |
Topic: Problem: QueueSender sends message in 500ms |
vermakov
Replies: 19 Views: 11334
|
Forum: IBM MQ Java / JMS Posted: Wed Sep 23, 2009 7:40 am Subject: Problem: QueueSender sends message in 500ms |
I trust your question was "what does algo mean" rather than "what is the round robin algorithm".
I'm not sure what round-robin scheduler you are asking about...
The OS sched ... |
Topic: Problem: QueueSender sends message in 500ms |
vermakov
Replies: 19 Views: 11334
|
Forum: IBM MQ Java / JMS Posted: Wed Sep 23, 2009 6:21 am Subject: Problem: QueueSender sends message in 500ms |
Have you looked at the transactional behavior of the session? (true, autoack)
Yes, I looked into it. This is non-transactional implementation. But changing it to transactional + commit didn't make ... |
Topic: Problem: QueueSender sends message in 500ms |
vermakov
Replies: 19 Views: 11334
|
Forum: IBM MQ Java / JMS Posted: Tue Sep 22, 2009 7:00 pm Subject: Problem: QueueSender sends message in 500ms |
Given: Windows 2003 Server or Windows XP, MQ Version 7, MQ client is java application running in JDK1.5
Expected behavior: client should be very fast sending a short point-to-point object message, ... |