envoyproxy/envoy

perf: thread local stat caching

Open

#509 opened on Feb 25, 2017

View on GitHub
 (0 comments) (2 reactions) (0 assignees)C++ (5,373 forks)batch import
area/perfhelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

Running Envoy on very high core count boxes is going to lead to atomic contention for counters and gauges. We should implement the option of doing thread local caching of the stats, and then flushing them to the central global representation.

Contributor guide