Is Hutch.publish thread safe? #397
-
We've been using hutch with unicorn and some time ago we switched to puma.
And this is where i got stuck. Because I have not spent enough time investigating what's going on under the hood in hutch, or our testing methods have mistakes, but for me it seems weird when we don't see promised errors when we share channels between threads. So the question is using Hutch.publish in puma safe? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Publishing from multiple threads on a shared channel is explicitly not allowed/supported by all AMQP 0-9-1 clients: and so on. Hutch simply delegates its publishers to Bunny. |
Beta Was this translation helpful? Give feedback.
Publishing from multiple threads on a shared channel is explicitly not allowed/supported by all AMQP 0-9-1 clients:
and so on.
Hutch simply delegates its publishers to Bunny.