couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: Profiling views
Date Fri, 12 Jun 2009 22:04:12 GMT
On Wed, Jun 10, 2009 at 9:34 AM, Simon Metson<simonmetson@googlemail.com> wrote:
> Hi All,
>        I was wondering if there was any way of profiling views without using
> a lot of log() statements. The application we are developing needs a lot of
> analytic information (who's querying what, how long a view takes to
> generate, if a query comes in that doesn't map to a view etc.) and having
> some decent timing reports on which views in a design document are taking up
> time would be really handy, so that we can set/manage update policy, cache
> policies etc.

In the current view architecture the views in a design doc will likely
be hard to measure individually, as each doc is run through all views
in a design doc in one go. Except for this detail, I support the idea
of adding some metrics here.


> Cheers
> Simon
>
> PS.  My hope is that a lot (all?) of this analytic stuff can be done as a
> generic couchapp and made publicly available. Will try and keep people
> posted as things start to materialise...
>



-- 
Chris Anderson
http://jchrisa.net
http://couch.io

Mime
View raw message