With RabbitMQ, is there a way to "push" messages from a queue TO a consumer as opposed to having a consumer "poll and pull" messages FROM a queue?
This has been the cause of some debate on a current project i'm on. The argument from one side is that having consumers (i.e. a windows service) "poll" a queue until a new message arrives is somewhat inefficient and less desirable than the idea having the message "pushed" automatically from the queue to the subscriber(s)/consumer(s).
I can only seem to find information supporting the idea of consumers "polling and pulling" messages off of a queue (e.g. using a windows service to poll the queue for new messages). There isn't much information on the idea of "pushing" messages to a consumer/subscriber...
select
orkqueue
at the lowest level. So, you guys should probably not worry about it and build your thing. I'm 95% sure that polling rabbitmq is not going to be the bottleneck in your system. – U2EF1basic.consume
works exactly as you asked - consumer subscribes to receive messages from specific queue and then broker notifies consumer with messages from that queue, from head to tail (FIFO). And why having consumers are inefficient? – pinepain