How can Cache Systems go wrong? The diagram below shows 4 typical cases where caches can go wrong and their solutions. 1. Thunder herd problem This happens when... (opens in new tab)
How can Cache Systems go wrong?<br><br>The diagram below shows 4 typical cases where caches can go wrong and their solutions.<br><br>1. Thunder herd problem<br>This happens when a large number of keys in the cache expire at the same time. Then the query requests directly hit the database, which overloads the database.<br><br>There are two ways to mitigate this issue: one is to avoid setting the same expiry time for the keys, adding a random number in the configuration; the other is to allow o...
Read the original article