adds code


A Redis sorted set is a collection of unique strings (members) ordered by an associated score. When more than one string has the same score, the strings are ordered lexicographically. Some use cases for sorted sets include: Leaderboards. For example, you can use sorted sets to easily maintain ordered lists of the highest scores in a massive online game. Rate limiters. In particular, you can use a sorted set to build a sliding-window rate limiter to prevent excessive API requests. You can read more on https://redis.io/docs/data-types/sorted-sets/ 0:00 INTRO 0:22 ZADD Command 1:25 ZRANGE Command 3:16 ZRANGE withscores Command 4:31 ZRANGEBYSCORE Command 5:38 ZINCRBY Command
Previous Post Next Post