|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
test SHARECNV with amqsputc |
« View previous topic :: View next topic » |
Author |
Message
|
mq__quest |
Posted: Thu Jan 19, 2023 3:24 am Post subject: test SHARECNV with amqsputc |
|
|
Apprentice
Joined: 21 Aug 2017 Posts: 49
|
Hello experts,
I'm trying to understand how the SHARECNV works. Can we use amqsputc sample program to test this?
I tried and for every amqsputc a new instance of channel is being created. If amqsputc doesn't work for this, is there any other sample program that I can use?
Thanks |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Jan 19, 2023 4:05 am Post subject: Re: test SHARECNV with amqsputc |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
mq__quest wrote: |
Hello experts,
I'm trying to understand how the SHARECNV works. Can we use amqsputc sample program to test this?
I tried and for every amqsputc a new instance of channel is being created. If amqsputc doesn't work for this, is there any other sample program that I can use?
Thanks |
SHARECNV settings address apps that multi-thread, such that threads of the same app instance share a TCP channel. Amqsputc dos not multi-thread.
Search google for SHARECNV, and watch some of the slide shows that explain conversation sharing. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Andyh |
Posted: Thu Jan 19, 2023 10:41 am Post subject: |
|
|
Master
Joined: 29 Jul 2010 Posts: 239
|
What are you actually trying to achieve through the use of sharecnv?
Sharecnv is essentially a mechanism for potentially reducing the number of sockets in use when multiple connections are made to the same queue manager from the same client application process. While a sharecnv value of more than 1 can reduce the number of sockets in such a scenario it often has other negative performance implications in both the client and the server.
It's unusual these days for there to be a shortage of sockets and sharecnv(1) tends to be the starting point for an MQ performance tuning exercise.
Have you made yourself familiar with the general advice in the MQ performance reports ? |
|
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
|
|
|
|