[rabbitmq-discuss] big messages

Eugene Kirpichov ekirpichov at gmail.com
Fri Jul 6 23:38:24 BST 2012


On Fri, Jul 6, 2012 at 3:28 PM, Fabio B. Silva
<fabio.bat.silva at gmail.com> wrote:
> Thanks for answer Eugene..
>
> Our expected trafic are about 25 queues and 200 messages between 1MB
> and 2MB for each queue.
You mean 200 messages per second?

>
> The RAM exactly is the point for us on the tests.
> When we shutdown the consumer and keep producing messages the RAM is
> exhausted..
> This is a extreme case when happens some comunication problem.
>
> Is there any way to avoid the server overload ?
You have to throttle the producer, i.e. avoid sending messages when
the server is too loaded.
A good way to do that is to use "publisher confirms".
In your server, keep track of how many of the messages you published
the server has not yet "confirmed" and do not let this number become
too large.

>
>
> Thanks
>
>
>
> 2012/7/6 Eugene Kirpichov <ekirpichov at gmail.com>:
>> Worked fine in my experience. Though you should be careful not to exhaust RAM and overload the server by stressing it too much with such big messages. What's the expected throughput?
>>
>>
>>
>> 06.07.2012, в 14:54, "Fabio B. Silva" <fabio.bat.silva at gmail.com> написал(а):
>>
>>> Hi guys
>>>
>>> i'm doing a study for my company.
>>> we are thinking about use rabbitmq to transfer big messages..  (between 1MB and 2 MB)
>>> Is there any restriction with big messages ?
>>>
>>>
>>> Thanks
>>> _______________________________________________
>>> rabbitmq-discuss mailing list
>>> rabbitmq-discuss at lists.rabbitmq.com
>>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
>
> --
> Att: Fábio B. Silva
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss



-- 
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov


More information about the rabbitmq-discuss mailing list