You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eliminate wlocks when updating existing histograms, gauges (#116)
apcu_add always takes a wlock in the current version 5.1.22, which
leads to lots of lock contention in high concurrency scenarios. Since
the most common operation ought to be updating an already existing
key, wrap apcu_add in an apcu_exists that only takes a rlock.
Signed-off-by: Tobias Bengtsson <[email protected]>
Co-authored-by: Lukas Kämmerling <[email protected]>
0 commit comments