[rabbitmq-discuss] IModel / thread sharing

Ashley van Gerven ashley.ohq at gmail.com
Thu Sep 10 10:43:44 BST 2009


The .NET user guide states that IModel instances should not be shared
accross threads. So having multiple web requests publishing to the queue
using the same IModel instance is not an option. However would it be (a)
possible and (b) advantageous to share a IConnection instance, and have each
web request create an IModel using the same connection instance? My thought
is that sharing the IConnection would speed up message publishing (using

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090910/46c9bff2/attachment.htm 

More information about the rabbitmq-discuss mailing list