You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Dk Jack <dn...@gmail.com> on 2019/04/04 04:19:55 UTC

http stats

Hi,
I see this comment in records.config

##############################################################
# The HTTP stats are expensive, turn off you don't need them #
##############################################################
CONFIG proxy.config.http.enable_http_stats INT 0

Are there any actual numbers published on how expensive the http stats are?
I am thinking of enabling them and would like to know the penalty if
possible. Thanks.

Dk.

Re: http stats

Posted by Leif Hedstrom <zw...@apache.org>.

> On Apr 3, 2019, at 10:19 PM, Dk Jack <dn...@gmail.com> wrote:
> 
> Hi,
> I see this comment in records.config
> 
> ##############################################################
> # The HTTP stats are expensive, turn off you don't need them #
> ##############################################################
> CONFIG proxy.config.http.enable_http_stats INT 0
> 
> Are there any actual numbers published on how expensive the http stats are?
> I am thinking of enabling them and would like to know the penalty if
> possible. Thanks.


No numbers, but you should benchmark and share! :-).

I don’t know of anyone *not* using the HTTP stats in production. The default is also “1”. We probably should change that old comment …

— Leif


Re: http stats

Posted by Leif Hedstrom <zw...@apache.org>.

> On Apr 3, 2019, at 10:19 PM, Dk Jack <dn...@gmail.com> wrote:
> 
> Hi,
> I see this comment in records.config
> 
> ##############################################################
> # The HTTP stats are expensive, turn off you don't need them #
> ##############################################################
> CONFIG proxy.config.http.enable_http_stats INT 0
> 
> Are there any actual numbers published on how expensive the http stats are?
> I am thinking of enabling them and would like to know the penalty if
> possible. Thanks.


No numbers, but you should benchmark and share! :-).

I don’t know of anyone *not* using the HTTP stats in production. The default is also “1”. We probably should change that old comment …

— Leif


Re: http stats

Posted by Leif Hedstrom <zw...@apache.org>.

> On Apr 3, 2019, at 10:19 PM, Dk Jack <dn...@gmail.com> wrote:
> 
> Hi,
> I see this comment in records.config
> 
> ##############################################################
> # The HTTP stats are expensive, turn off you don't need them #
> ##############################################################
> CONFIG proxy.config.http.enable_http_stats INT 0
> 
> Are there any actual numbers published on how expensive the http stats are?
> I am thinking of enabling them and would like to know the penalty if
> possible. Thanks.


No numbers, but you should benchmark and share! :-).

I don’t know of anyone *not* using the HTTP stats in production. The default is also “1”. We probably should change that old comment …

— Leif


Re: http stats

Posted by Dk Jack <dn...@gmail.com>.
Thanks Lief, Bryan. 

Dk. 

> On Apr 4, 2019, at 10:07 AM, Bryan Call <bc...@apache.org> wrote:
> 
> We have never run without stats on a production machine to my knowledge.  Also, I have never seen stats come up as using a lot of CPU while profiling when running a benchmark.  The comment should definitely be changed.
> 
> -Bryan
> 
> 
> 
>> On Apr 3, 2019, at 9:19 PM, Dk Jack <dn...@gmail.com> wrote:
>> 
>> Hi,
>> I see this comment in records.config
>> 
>> ##############################################################
>> # The HTTP stats are expensive, turn off you don't need them #
>> ##############################################################
>> CONFIG proxy.config.http.enable_http_stats INT 0
>> 
>> Are there any actual numbers published on how expensive the http stats are?
>> I am thinking of enabling them and would like to know the penalty if
>> possible. Thanks.
>> 
>> Dk.
> 

Re: http stats

Posted by Bryan Call <bc...@apache.org>.
We have never run without stats on a production machine to my knowledge.  Also, I have never seen stats come up as using a lot of CPU while profiling when running a benchmark.  The comment should definitely be changed.

-Bryan



> On Apr 3, 2019, at 9:19 PM, Dk Jack <dn...@gmail.com> wrote:
> 
> Hi,
> I see this comment in records.config
> 
> ##############################################################
> # The HTTP stats are expensive, turn off you don't need them #
> ##############################################################
> CONFIG proxy.config.http.enable_http_stats INT 0
> 
> Are there any actual numbers published on how expensive the http stats are?
> I am thinking of enabling them and would like to know the penalty if
> possible. Thanks.
> 
> Dk.