Thanks for the info<br clear="all">----<br>Regards,<br>Akhil Kodali<br><br>
<br><br><div class="gmail_quote">On Tue, Jul 13, 2010 at 4:00 PM, Marek Majkowski <span dir="ltr"><<a href="mailto:majek04@gmail.com">majek04@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Fri, Jul 9, 2010 at 21:46, Akhil Kodali <<a href="mailto:akhil.kodali@gmail.com">akhil.kodali@gmail.com</a>> wrote:<br>
> [...]<br>
<div class="im">> If I use this approach I'd end up having 2 hrs worth of messages in the<br>
> queue.<br>
> It aint much now but I see it going upto 20,000 in 2 hrs quickly.<br>
> Or would it be better making a DB query to do the same. Going through all<br>
> the rows doesnt seem right.<br>
> What I wanted to check was, are queues build for such a use case or is there<br>
> a better way of doing it?<br>
<br>
</div>RabbitMQ should be able to handle 20k messages without any troubles.<br>
But as all the messages are stored in memroy, please make sure that<br>
you have enough RAM+swap available.<br>
<br>
You also should make sure that the messages are relatively small.<br>
<br>
If you want to handle even more data in queues, you could use our experimental<br>
code. In one of our development code branches we try to make rabbit dump queues<br>
to the disk, when it's running short of memory.<br>
<br>
Hope that helps.<br>
<br>
Cheers,<br>
<font color="#888888"> Marek Majkowski<br>
</font></blockquote></div><br>