[
https://issues.apache.org/jira/browse/TS-4261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15183110#comment-15183110
]
Alan M. Carroll commented on TS-4261:
-------------------------------------
I think it is in general a good thing to split unrelated bits of code apart and
IMHO that's sufficient justification. If I had the time I would move all of the
stats support completely out of management in to another library.
But in particular this is useful for TS-4260 as noted in the related bugs. As
part of that work I set up some statistics to track the performance of the
event loop. Without this change doing that requires bringing all of the process
management support in to the event loop component which is problematic. It
seemed much simpler and better overall to just split those unrelated items
apart.
> Split statistic update logic from process handling.
> ---------------------------------------------------
>
> Key: TS-4261
> URL: https://issues.apache.org/jira/browse/TS-4261
> Project: Traffic Server
> Issue Type: Improvement
> Components: Manager
> Reporter: Alan M. Carroll
> Assignee: Alan M. Carroll
> Fix For: 6.2.0
>
>
> The logic for updating statistics is mixed in the same source file as process
> management. This creates unnecessary circular dependencies if lower level
> components use statistics.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)