qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kim van der Riet <kim.vdr...@redhat.com>
Subject Re: Journal with LVQ
Date Tue, 15 Feb 2011 15:31:49 GMT
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

That said, we want to make this accessible and are looking for smart
ways to do it.

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

View raw message