varnishtop feature request: show _expensive_ urls

Harm Verhagen harm.verhagen at gmail.com
Wed Nov 2 13:27:59 CET 2011


On Wed, Jun 29, 2011 at 3:16 PM, Rogier R. Mulhuijzen
<drwilco at drwilco.net>wrote:

>
>  Currently varnishtop shows the top urls purely based on frequency.
>> Depending
>> on your usecase that might be usefull, but might also NOT give you the
>> bottlenecks you are looking for.
>>
>
> Agreed.
>
>
>  I'd like to use varnish for the following (example) scenario:
>>
>
> ---- SNIP ----
>
>
>  expensive url  =   backend url with high  total time spend  (freq x
>> duration)    (So the slow ones, that are called often)
>>
>> What do you guys think ?
>> This would instantly give the problem areas of a website, no ?
>>
>
> I think this would work quite nicely. I would just change the "freq x
> duration" definition to "cumulative duration".
>
> It would mean adding the 5th (or 6th) field from ReqEnd to the counter
> instead of 1. The hard part is probably (guessing here, have yet to look at
> v-top source) getting the ReqEnd values to add to the individual counters.
>
> Throw it on the shopping list, I'd say.
>


Whats the best way to get this on the shopping list ?

Regards,
Harm Verhagen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20111102/c683bb79/attachment-0003.html>


More information about the varnish-dev mailing list