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">&lt;<a href="mailto:majek04@gmail.com">majek04@gmail.com</a>&gt;</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 &lt;<a href="mailto:akhil.kodali@gmail.com">akhil.kodali@gmail.com</a>&gt; wrote:<br>
&gt; [...]<br>
<div class="im">&gt; If I use this approach I&#39;d end up having 2 hrs worth of messages in the<br>
&gt; queue.<br>
&gt; It aint much now but I see it going upto 20,000 in 2 hrs quickly.<br>
&gt; Or would it be better making a DB query to do the same. Going through all<br>
&gt; the rows doesnt seem right.<br>
&gt; What I wanted to check was, are queues build for such a use case or is there<br>
&gt; 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&#39;s running short of memory.<br>
<br>
Hope that helps.<br>
<br>
Cheers,<br>
<font color="#888888"> �Marek Majkowski<br>
</font></blockquote></div><br>