When we have 15K queue in one broker. Will the same message be duplicated
15k times if I using fanout exchange? or it will just use a pointer/ref to
the message?

Thanks.

On Thu, Feb 19, 2009 at 1:09 AM, Gordon Sim <[email protected]> wrote:

> chenta wrote:
>
>> Thanks for your reply!
>>
>> On Wed, Feb 18, 2009 at 9:55 PM, Gordon Sim (via Nabble) <
>> [email protected]<ml-user%[email protected]>
>> <ml-user%[email protected]<ml-user%[email protected]>
>> >
>>
>>> wrote:
>>>
>>
>>  chenta wrote:
>>>
>>>> How do I send a message to a specific client or a group of client when
>>>>
>>> all of
>>>
>>>> the client subscribe to the same queue?
>>>> I encounter this problem because  I do not want to create a queue for
>>>>
>>> each
>>>
>>>> client. I think it will be a huge overhead for broker when I have more
>>>>
>>> than
>>>
>>>> 15K clients. Am I correct?
>>>>
>>> Are those queues going to be durable?
>>>
>>> If not having a per-client queue should be fine (even for 15k queues)
>>> and is the arguably the 'right' pattern if you want to communicate
>>> point-to-point.
>>>
>>
>>
>> It sounds like that creating a temporary is very cheap for Broker. Do you
>> know how many memory will be consume by one queue? or I can look into the
>> source code to figure it out later.
>>
>
> Hard to give an exact value for the memory overhead for the queue itself.
> The aggregate size of message data will be far more critical.
>
> As a quick experiment I just ran a test that declares 15k queues and the
> broker process is reported as using 90M of memory.
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:[email protected]
>
>

Reply via email to