You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2010/08/11 03:25:16 UTC

[jira] Work started: (TS-411) Eliminate unecessary stats thread

     [ https://issues.apache.org/jira/browse/TS-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on TS-411 started by Leif Hedstrom.

> Eliminate unecessary stats thread
> ---------------------------------
>
>                 Key: TS-411
>                 URL: https://issues.apache.org/jira/browse/TS-411
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 2.1.2
>
>
> There's an entire thread (that loops through every stat in the system) for this one single stat (from Cache.cc):
> IOCORE_RegisterStatUpdateFunc("proxy.process.cache.bytes_used");
> I believe we can eliminate this entirely, and use the "cb" field instead, i.e. change the define for the above macro to use RecRegisterRawStatUpdateFunc() instead. This feature, "UpdateFunc", is only used by this one single stat, and I'm fairly sure it's a legacy / remnant that should have been eliminated. Doing this, will allow us to eliminate this thread completely.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.