Even though statistics are lockless they still use atomics which might cause contention. Split stats counters into buckets, sharded by an artificial thread identifier, to increase throughput.
Even though statistics are lockless they still use atomics which might cause contention. Split stats counters into buckets, sharded by an artificial thread identifier, to increase throughput.