[rabbitmq-discuss] RabbitMQ memory management
Ben Hood
0x6e6562 at gmail.com
Thu Sep 11 12:38:13 BST 2008
Eran,
On Thu, Sep 11, 2008 at 12:14 PM, Ben Hood <0x6e6562 at gmail.com> wrote:
> You've got 2 options:
You might also have a third option: setting the auto-delete flag. By
setting this flag, when the consumer goes away, the queue will be
auto-deleted and hence the messages will be dropped.
ATM, I assume you have a durable queue that you are sending persistent
messages to. Does this necessarily fit in with the nature of your
application from a design perspective? Do you *really* need persistent
messages for stuff that you are apparently not interested in
consuming?
Off on a tangent, this *may* be a use case for pluggable queues. If
you implemented a queue backend that overflowed to disk, then you
could happily queue up messages until the cows come home. Or at least
until your SAN fills up. Again, this could be a future feature.
HTH,
Ben
More information about the rabbitmq-discuss
mailing list