Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the best practice with channels (RabbitMQ?

I have an app in which for each received message it publishes N in the same channel. I'm wondering whether it'd be better to have two channel, a Publish channel and a Receive channel.

What would it be the best practice?

like image 432
Félix Avatar asked Jan 26 '26 08:01

Félix


1 Answers

Best practice is to have one channel per consumer/ queue. I would say that would extend to publishing on a different channel as consuming.

like image 68
robthewolf Avatar answered Jan 28 '26 21:01

robthewolf