redis / redis

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
http://redis.io
Other
66.29k stars 23.72k forks source link

Redis Stack write back to Mongodb #13469

Open Harsh-Maheshwari opened 1 month ago

Harsh-Maheshwari commented 1 month ago

Redis Stack write back to Mongo

Since Redis Gears is getting depreciated, Are we developing something to enable write back to a high latency database lets say MongoDb?

LiorKogan commented 1 month ago

@Harsh-Maheshwari

Why would you like to do that? Can you share details about Redis' role in your application's architecture?

Harsh-Maheshwari commented 1 month ago

I want a cache layer (redis) for fast access inside the system.

And then I want an off the system visualisation layer (to understand how is system performaning) which should not put any stress on the redis and hence uses a little delayed data in mongo

LiorKogan commented 1 month ago

Redis collects a lot of metrics and statistics - see INFO, MEMORY STATS, CLIENT LIST. Doesn't it cover the information you want to track? You can also subscribe to keyspace notifications.

Basically, it allows you to move the processing ('the stress') away from Redis

Harsh-Maheshwari commented 1 month ago

It does not actually. I need to access, collect and aggregate all the data into a smaller dataset and then store in a permanent DB like Mongo