Kind of new to Redis cache database. I have a scenario where I have a list of items (say around 5000) which on converting it to JSON format takes around 400 MB. So each time if any one of the items is modified, I have to get the value from the Redis database and have to change that particular item and again push it to the Redi database. This is kind of affecting the performance.
So instead of caching the whole items in one file. I have decided to cache the items individually in the Redis database. But If I need to get all the items at once, I have to loop and pass 5000 keys to Redis and get the data which will make 5000 calls in Redis. Is there any option to get all the items at once whenever necessary so that I can get all the data and also individual data wherever necessary? Also is there any limitations on how many keys can be stored in Redis?
Thanks in Advance