You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/06/04 20:21:38 UTC
[GitHub] [trafficserver] SolidWallOfCode commented on pull request #7918: Add support for Remap rule hit stats
SolidWallOfCode commented on pull request #7918:
URL: https://github.com/apache/trafficserver/pull/7918#issuecomment-854978571
A requirements question - should the stats persist across remap reloads? For very long running processes that have many remap reloads, it seems that URL will enter the map but never leave, yielding potential growth without bound.
If reset on reload is acceptable, why not have an atomic counter in each remap rule structure? The dumper can then grab the current remap configuration and walk it. That object is static and so no locking is required - a remap reload will create an entirely new structure and swap it in.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org