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
In a high-concurrency system, at the moment of cache failure, a large number of requests will enter the database, which can easily cause the database to crash
Locking - although it is not mentioned in documentation, if you use a second argument of load - generator callback, it actually uses a lock (if the storage supports locks - afaik redis does not support native locks and they must be emulated in some way).
External recomputation - this could (and should) be solved in a userland
In a high-concurrency system, at the moment of cache failure, a large number of requests will enter the database, which can easily cause the database to crash
reference:
https://www.wikiwand.com/en/Cache_stampede
https://symfony.com/doc/current/components/cache.html
The text was updated successfully, but these errors were encountered: