开发者

what ruby client is the most stable for rabbitmq?

What ruby client should I use for rabbitmq?

开发者_JAVA百科

Would I just connect to the rabbitmq server once during the web application startup i.e. in a initializer or would this be done on a per request basis?

Does doing it once during startup have any concurrency issues?


I have had good success in production with the Carrot gem. https://github.com/famoseagle/carrot Our code connects once per request.

There are a lot of issues that arise when you maintain a connection globally for the application. If you can avoid it, I would recommend against.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜