Posted: Fri Jan 24, 2003 1:41 am Post subject: Process vs threads for Channels - listeners - applis
Centurion
Joined: 10 Oct 2002 Posts: 117
Hi,
I wonder about the best way to use mqseries resources (and administration) by choosing to run processes or threads where possible.
- channels can be started as process or thread
- listener on Unix box may be inetd or the one started by runmqlsr
- mqseries application may be arranged to be only one process working with the queue manager or one process with many threads each connecting with the same queue manager
- may be others entities ?
i should be happy to have clear ideas about this topic - thanks in advance
to you all guys who well know the subject
Jack
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
I always found starting the listener via inetd (and the queue manager itself via inittab) was a reliable way for MQSeries to come up automatically on a reboot of the server. Also, if you use something like a script to start runmqlsr and it dies, it won't respawn whereas inetd takes care of that for you.
Instead of threading processes to get multiple connections to a queue manager, we tended to start many copies of the same application, each one connecting to the queue manager. I suppose it would depend on your particular application. _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
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