qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Conway <acon...@redhat.com>
Subject Re: Journal with LVQ
Date Thu, 17 Feb 2011 14:41:32 GMT
On 02/15/2011 10:31 AM, Kim van der Riet wrote:
> On Tue, 2011-02-15 at 09:08 -0500, Alan Conway wrote:
>>>> I was asking if there is a way to know the used size of the journal
>> in a
>>>> given time. When I run my publisher for the first time, and in
>> qpid-stat
>>>> the queue size 2m in bytes, how can I know the effectively used
>> journal?
>>> The calculation is quite complex and there tend to be lots of
>> variables (exact
>>> timings of dequeues v. enqueues, relative messages sizes etc). in
>> practical
>>> terms I have not found a way to accurately estimate the journal size
>> required
>>> and so always greatly inflate it. It is an area I think we need to
>> make simpler
>>> in some way.
>> Perhaps it would be useful to add some management instrumentation to
>> the
>> journals, so it is at least easy to see how much space is actually
>> used when you
>> run a test (or indeed in production so you can see if you're getting
>> close to
>> the limit)
> This has been discussed. It is likely that a QMF function call would be
> added which would calculate the amount of space left in the store when
> it is called. However, to do this continually (it through
> instrumentation) would likely be expensive and could slow the store down
> significantly.

Doesn't that depend on how often you do it? E.g. could the user to configure an 
alert every 10 minutes, or if the free space goes below 10% etc.?

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org

View raw message