sudheerv opened a new pull request #7918:
URL: https://github.com/apache/trafficserver/pull/7918


   This change adds stats to track hit rate for each remap rule (based
   on their line number/rank in the remap.config file) to allow for such
   visibility via a new http endpoint {remap_stats} which returns the
   stats in a json format
   
   More Context:
   Ordering of remap rules in remap.config in an efficient manner is
   very important as it can have a significant impact on performance and
   throughput that can be achieved using ATS as a proxy server. For example,
   ATS uses a prefix trie to match a forward map rule, but, has to run
   through the regex_map rules sequentially. Interleaving regex_map rules
   with forward map rules can thus result in unnecessary overhead when
   those rules are not overlapping. Further, within regex_map rules, as far
   as possible ordering them based on their "hit" rate (decreasing order) can
   result in a significant performance improvement.


-- 
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:
[email protected]


Reply via email to