Reputation: 1581
Sorry for the newbie-ish question, but are messaging brokers such as RabbitMQ a replacement for writing our own message buffers? Meaning if we have fast producers and slow consumers, using a messaging broker takes care of the queueing or do I still have to implmement my own queue buffer?
Upvotes: 0
Views: 209
Reputation: 3171
Your scenario does indeed suggest using a JMS solution, like RabbitMQ. This is a primary reason these queue solutions exist. If you're expecting a huge bottleneck, with more producers than you can afford consumers, you may have to configure your queues in a more sophisticated manner. But, you shouldn't have to implement your own buffer.
Upvotes: 1