[rabbitmq-discuss] dropped messages
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 for the reply,
> I changed these settings so that now my publish looks like this:
> m_RabbitChannel.BasicPublish(QUOTES_EX, QUOTES_EX, m_RabbitProperties,
> 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
> Matthias Radestock-2 wrote:
>> 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
>>> I am publishing about 4000 message per second to a direct exchange via
>>> .NET client, however I am only receiving about 10% of these messages on
>>> 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
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
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