3 ms·
I'm curious if assigning a random value from an acceptable range for the expiry time is a common approach. I assume that wouldn't work for all cases, but might
by tyingq 7y ago
I'm curious if assigning a random value from an acceptable range for the expiry time is a common approach. I assume that wouldn't work for all cases, but might spread the avalanche for some.
Google searches on this topic (random expiry to mitigate an avalanche cache refresh) turn up very little.
- NovaX 7y agoIt is very common and often referred to as jitter. A variation, called scaled ttl, was nicely discussed in this video. https://www.youtube.com/watch?v=kxMKnx__uso https://www.youtube.com/watch?v=kxMKnx__uso