LinkedIn Reddit icon

Dunder Doc

by Valdir Stumm Jr

Counting With Redis Sorted Sets

I’ve used Redis as a cache layer multiple times in my career. Most of the times, all I needed was a fast storage where I could store pre-computed JSON data and retrieve it by key. Redis was just perfect for that. Lightweight, easy to use, good docs, widely available in Cloud providers, etc. A couple weeks ago, though, I was faced with a different problem that helped me learn Redis a little more in depth.