Open yatharthranjan opened 4 years ago
We can use the Redis Expirable and LRU cache support instead of our own implementation. This would be more reliable and will be robust against any crashes and faults of the services.
More info - https://redis.io/commands/expire and https://redis.io/topics/lru-cache
can listen to expired keys using - https://redis.io/topics/notifications
We can use the Redis Expirable and LRU cache support instead of our own implementation. This would be more reliable and will be robust against any crashes and faults of the services.