samedi 20 novembre 2021

What are the pros and cons of using TTL vs actively sending a request to invalidate a key to invalidate a key in a cache?

Are there any best practices around key invalidation for caches like Redis? Should I let the key fall out after the TTL expires or should I call a delete on the key in question to remove that key from cache?

Would the actively calling a delete operation put more load and hurt the throughput of my cache?

Aucun commentaire:

Enregistrer un commentaire