[rabbitmq-discuss] use one channel for many consumers/producers
Michael Klishin
michael.s.klishin at gmail.com
Mon Nov 12 16:28:53 GMT 2012
2012/11/12 Mohsen Lotfizad <mtlotfizad at gmail.com>
> *could I use a channel for many (about 20) producers?*
Assuming you are using the Java client, you can. But if you publish
constantly,
it may be a better idea to use 20 channels, there will be less lock
contention.
> *could I use a channel for many (about 20) consumers?*
Yes.
> *How cloud I increase the socket descriptors from 829 to 2000? (in RHEL 5)
> *
Via /etc/security/limits.conf. Note that that file is read on login, so you
will need to
restart RabbitMQ.
--
MK
http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121112/68b578b9/attachment.htm>
More information about the rabbitmq-discuss
mailing list