Thursday 25 June 2020

What data should I store on Redis?

From what I understand, you should store in Redis information that is often requested, but not every single query to the database, since Redis storage can be expensive.This is why I'm not sure what should I store on Redis. Let's say I'm creating Reddit, what should I cache?. User info seems pointless since no one is going to request it that often, and specific subreddits depends on the user or the number of people that are going to be visiting it. Maybe storing most popular subreddits?All I want is some examples, thanks in advance!

Submitted June 26, 2020 at 06:54AM by Ivaanrl

No comments:

Post a Comment