Hi,

Ad 1) It seems that your queue consists from 8 journal files each
~1,5MB big. If 100Kb is your message payload, you have to expect some
overhead, but you can do the math how many messages fit in.

Ad 2) The client can control using acknowledgements and transactions
when are the data really removed from the queue. With a properly
written client, it should allow you to achieve at-least-once
reliability.

Ad 3) The journal files get deleted when you delete the queue. You do
not need to do it manually. In case you are running the brokers in
cluster, it is a good idea to delete the backups of the stores which
are created when the brokers are being restarted etc.

Ad 4+5) The Qpid C++ broker has the persistent queues of a fixed size.
When creating a persistent queue, you can specify queue size in bytes,
number of files which should be used and a size of these files (in
pages). Unless you specify them, the default values from the broker
config or the general default values will be used. Once you fill in
the queue (either the queue size limit or simply fill all the files),
the producer gets an exception. The journal files are created when the
queue is created - you would run out of disk space when creating the
queue, not when storing a message.

I believe the queues can be resized, but only when the broker is not
running. You have to simply create the queues big enough ... ugly
concept (yes, I understand there are probably some advantages as well)

I hope I answered your questions correctly.

JAkub

On Thu, Nov 17, 2011 at 20:51, dmounessa <[email protected]> wrote:
> I have created queues with durable property and it seems to work.
>
> Questions:
>
> 1. If I am sending messages of up to 100K Bytes to the queue,
>    do I need to configure the persistent queues differently, or will it
> work as is?
>
> 2. When does the data gets removed from the store
>    is it right after it was delivered to the client?
>
> 3. Do I need to maintain these files - delete them?
>   i.e as long as my queues are usable, do I need to do any thing with
> these?
>
> 4. Will the data gets saved until there is no disc-space if there are no
> listeners
>    and under what conditions it will stop saving on the Queue.
>
> 5. If there are no space on disk, will the sender get exception?
>
> /usr/bin/qpid-config queues
> Queue Name                     Attributes
> ==================================================
> NODE0                          --durable
>
>
> ./qpidd_data/rhm/jrnl/0011> ls -l NODE0
> total 12356
> -rw-r----- 1 qpidd qpidd 1573376 Nov 17 13:04 JournalData.0000.jdat
> -rw-r----- 1 qpidd qpidd 1573376 Nov 17 06:42 JournalData.0001.jdat
> -rw-r----- 1 qpidd qpidd 1573376 Nov 17 07:18 JournalData.0002.jdat
> -rw-r----- 1 qpidd qpidd 1573376 Nov 17 07:55 JournalData.0003.jdat
> -rw-r----- 1 qpidd qpidd 1573376 Nov 17 08:31 JournalData.0004.jdat
> -rw-r----- 1 qpidd qpidd 1573376 Nov 17 09:07 JournalData.0005.jdat
> -rw-r----- 1 qpidd qpidd 1573376 Nov 17 09:44 JournalData.0006.jdat
> -rw-r----- 1 qpidd qpidd 1573376 Nov 17 11:55 JournalData.0007.jdat
> -rw-r----- 1 qpidd qpidd     844 Nov 16 12:28 JournalData.jinf
>
> Thanks for your help.
>
>
> --
> View this message in context: 
> http://apache-qpid-users.2158936.n2.nabble.com/Managing-the-qpidd-data-rhm-jrnl-files-tp7005500p7005500.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:[email protected]
>
>

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to