sudheerv opened a new pull request #7909: URL: https://github.com/apache/trafficserver/pull/7909
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 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. -- 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]
