Author |
Message |
Topic: XMS/C# Sessions performance |
kayoumt
Replies: 29 Views: 34345
|
Forum: IBM MQ API Support Posted: Fri Sep 04, 2009 10:11 am Subject: XMS/C# Sessions performance |
Sorry Sonyman,
Your last post really "confused" me !
Did you finally make your C# application run faster with CLIENT connection mode ? |
Topic: XMS/C# Sessions performance |
kayoumt
Replies: 29 Views: 34345
|
Forum: IBM MQ API Support Posted: Wed Sep 02, 2009 7:27 pm Subject: XMS/C# Sessions performance |
Thank you so much, Sonyman, for that workaround. With the BINDINGS mode it works TOO FAST ; maybe faster than before migration to XMS. |
Topic: XMS/C# Sessions performance |
kayoumt
Replies: 29 Views: 34345
|
Forum: IBM MQ API Support Posted: Wed Sep 02, 2009 2:47 pm Subject: XMS/C# Sessions performance |
I'm using CLIENT connection mode. The XMS documentation says that it is the default connection mode for .NET. I have the same delays you had (between 4s and 10s).
I'm not sure, but I think if you ... |
Topic: XMS/C# Sessions performance |
kayoumt
Replies: 29 Views: 34345
|
Forum: IBM MQ API Support Posted: Wed Sep 02, 2009 7:45 am Subject: XMS/C# Sessions performance |
fjb_saper
Session2 uses the anonymous sender to send the reply message to the replyto destination
shashikanth_in
Yes, Temporary queues created on one connection can not be used in another connect ... |
Topic: XMS/C# Sessions performance |
kayoumt
Replies: 29 Views: 34345
|
Forum: IBM MQ API Support Posted: Tue Sep 01, 2009 6:26 pm Subject: XMS/C# Sessions performance |
[quote]I'm thinking you're chasing a red herring there.
[/quote]
I'm seriously seeking to solve my XMS slowness problem. You'll be kind to help me if you have some hints.
Back to the problem : ... |
Topic: XMS/C# Sessions performance |
kayoumt
Replies: 29 Views: 34345
|
Forum: IBM MQ API Support Posted: Tue Sep 01, 2009 7:24 am Subject: XMS/C# Sessions performance |
1) Connection and Session performance is not a big issue for my application. I create them at the beginning of the application and close them at the end.
2) I have read somewhere that temporary que ... |
Topic: XMS/C# Sessions performance |
kayoumt
Replies: 29 Views: 34345
|
Forum: IBM MQ API Support Posted: Mon Aug 31, 2009 9:19 pm Subject: XMS/C# Sessions performance |
fjb_saper,
I did some debugging and some research on JMS. I found out two interesting conclusions :
1) The feature I implemented does not need to use Multi-Threading ; XMS sessions could do the ... |
Topic: XMS/C# Sessions performance |
kayoumt
Replies: 29 Views: 34345
|
Forum: IBM MQ API Support Posted: Mon Aug 31, 2009 5:01 pm Subject: XMS/C# Sessions performance |
Thanks a lot for your help fjb_saper. I'll keep debugging my code. I'll also try to improve my knowledge in XMS/JMS. |
Topic: XMS/C# Sessions performance |
kayoumt
Replies: 29 Views: 34345
|
Forum: IBM MQ API Support Posted: Mon Aug 31, 2009 8:28 am Subject: XMS/C# Sessions performance |
bruce2359,
The only thing I changed is : using XMS API instead of MQ API + native RFH.
About performance :
- My Server (C++) has the same performance than before. It is simpler ; it reads mes ... |
Topic: XMS/C# Sessions performance |
kayoumt
Replies: 29 Views: 34345
|
Forum: IBM MQ API Support Posted: Sun Aug 30, 2009 8:52 pm Subject: XMS/C# Sessions performance |
Forget about this hypothesis :
4) Calling DoEvents do not give back CPU to sessions ?
I did a test without DoEvents and it is still slow. |
Topic: XMS/C# Sessions performance |
kayoumt
Replies: 29 Views: 34345
|
Forum: IBM MQ API Support Posted: Sun Aug 30, 2009 8:48 pm Subject: XMS/C# Sessions performance |
fjb_saper,
I do not think the value of the timeout or the behavior of the form (frozen or not) have direct relationship with my XMS performance.
The problem is to know how do I use XMS stuff fo ... |
Topic: XMS/C# Sessions performance |
kayoumt
Replies: 29 Views: 34345
|
Forum: IBM MQ API Support Posted: Sun Aug 30, 2009 6:52 pm Subject: XMS/C# Sessions performance |
fjb_saper,
Thanks for all hints.
Check your application. Looping around a receive is not good practice.
You should set the right amount of time in the receive... (like receiver.receive(1000).
... |
Topic: XMS/C# Sessions performance |
kayoumt
Replies: 29 Views: 34345
|
Forum: IBM MQ API Support Posted: Sun Aug 30, 2009 9:03 am Subject: XMS/C# Sessions performance |
Hi shashikanth_in,
Thanks for the code you posted. I exactly did what you are suggesting. But, this is only one side of my application. Let me briefly explain you the two sides.
// Session1
Dat ... |
Topic: XMS/C# Sessions performance |
kayoumt
Replies: 29 Views: 34345
|
Forum: IBM MQ API Support Posted: Fri Aug 28, 2009 1:38 pm Subject: XMS/C# Sessions performance |
shashikanth_in,
1) Waiting for my request by looping calling "Application.DoEvents" and 2) Starting a thread which does synchronous consumer.receive. I do not see the difference between t ... |
Topic: XMS/C# Sessions performance |
kayoumt
Replies: 29 Views: 34345
|
Forum: IBM MQ API Support Posted: Thu Aug 27, 2009 9:34 pm Subject: XMS/C# Sessions performance |
Hi,
I have some performance issues in my C#/XMS application. I suspect that the reason of that performance problem is : XMS sessions wait long time before getting CPU. I did not have that slowness ... |