Answer the question
In order to leave comments, you need to log in
In what cases have you used Redis?
Hello. I heard about such a storage as a radish, at the same time the question arose why it is needed when searching, I found out that it can be used to cache requests to the database or store sessions, but how did you use Redis for?
Answer the question
In order to leave comments, you need to log in
In addition to the above, I can recommend looking on YouTube for reports from Roman Imankulov about the use of Redis, like this one .
Помимо всего вышеуказанного:
- рейтинги топ100
// update player value on corresponding event
ZADD ratings_gold <value> <playerId>
// fetch top100 later
ZREVRANGEBYSCORE ratings_gold +inf -inf WITHSCORES LIMIT 100
- Для pub/sub
- Для всего, для чего можно создать таблцу в БД, но лень.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question