RADAR-base / RADAR-IoT

RADAR-base IoT framework
Apache License 2.0
7 stars 2 forks source link

Use Redis Expirable and LRU cache #19

Open yatharthranjan opened 4 years ago

yatharthranjan commented 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.

yatharthranjan commented 4 years ago

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