[rabbitmq-discuss] dropped messages

smittycb10 msmith1638 at gmail.com
Fri May 22 20:39:24 BST 2009


Just wondering, is there a max number of messages any one channel can have
queued in it at one time? I am currently trying to squeeze all the messages
into one channel, should I be splitting work across channels and threads on
the receiving side??
Thanks 

smittycb10 wrote:
> 
> Thanks for the reply,
> I changed these settings so that now my publish looks like this:
> m_RabbitChannel.BasicPublish(QUOTES_EX, QUOTES_EX, m_RabbitProperties,
> packet);
> 
> however I still have the same problem 100,000's messages in and only
> 1,000's of messages out.
> Do I need to anything to broker? 
> Is a message rate of 100,000 per second unreasonable? 
> Am I publishing and subscribing in the most efficent manner?
> 
> Going to be spending the weekend reading up on AMPQ and Rabbits .NET
> client:-(
> 
> Thanks
> 
> 
> Matthias Radestock-2 wrote:
>> 
>> Mark,
>> 
>> smittycb10 wrote:
>>> I am still having problems, when I run the client program on the server
>>> I am
>>> getting the same degraded numbers as when run across the network. Some
>>> details:
>>> I am publishing about 4000 message per second to a direct exchange via
>>> the
>>> .NET client, however I am only receiving about 10% of these messages on
>>> the
>>> client subscription side.
>>  > [...]
>>>  m_RabbitChannel.BasicPublish("quotes", "quotes", true, true,
>>> m_RabbitProperties, packet);
>> 
>> Why are you setting mandatory=true and immediate=true? The latter means 
>> the server will return messages unless it can *immediately* send them on 
>> to a client, i.e. it will never enqueue the messages.
>> 
>> Also, don't set mandatory=true unless you have to - it degrades
>> performance.
>> 
>> 
>> Regards,
>> 
>> Matthias.
>> 
>> 
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/dropped-messages-tp23659084p23676641.html
Sent from the RabbitMQ mailing list archive at Nabble.com.





More information about the rabbitmq-discuss mailing list