I am at your mercy here. I have no idea what is best. It _cannot_ be async. The riak_core_util code used to write the path is the code I was directed too as safe.

The threshold (1000) is still up for debate…finding the balance between performance and rapidly climbing counters. Though it seems we have 56bits for the count so 1000 seems kind of low.

What do you recommend? I'm not aware of the perf costs of this code…