Lewis John McGibbney created NUTCH-3151:
-------------------------------------------
Summary: Dynamic Counter Management
Key: NUTCH-3151
URL: https://issues.apache.org/jira/browse/NUTCH-3151
Project: Nutch
Issue Type: Sub-task
Components: metrics
Reporter: Lewis John McGibbney
Assignee: Lewis John McGibbney
Fix For: 1.23
We should implement counter caching for DNS failure bucket metrics in
ResolverThread to eliminate repeated HashMap lookups and standardize with
NutchMetrics constants.
ResolverThread.java creates dynamic counters for DNS failure buckets without
caching, causing repeated context.getCounter() calls in the DNS resolution hot
path. The counters also don't follow the standardized NutchMetrics constants
pattern.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)