275
redis cluster (lemmy.nz)
you are viewing a single comment's thread
view the rest of the comments
[-] Gonzako@lemmy.world 1 points 8 hours ago

Do people have uses for redis? What does it do better than just the standard DB queue?

[-] expr@programming.dev 7 points 7 hours ago

I'm not sure what you mean by "standard DB queue" (perhaps you mean a message queue, I guess?), but yeah Redis (or really, Valkey, now, since Redis tried to change license on everyone) is a very important tool in the toolbox for system design. In-memory databases trade persistence guarantees for raw throughput, and are very well-suited for different workloads than a traditional database is. It's great for caching, rate-limiting, realtime analytics, leaderboards... Basically anything with ephemeral data or data that can easily be reconstructed from some other source of truth. It's an optimization tool that can significantly reduce the load on your primary application database for certain workloads (and achieve higher throughput).

[-] marcos@lemmy.world 2 points 6 hours ago

What does it do better than just the standard DB queue?

It makes a queue without loading the DB.

ACID DBs don't scale indefinitely, and it's a very easy win if you are having performance issues even before scaling them.

this post was submitted on 23 Sep 2026
275 points (98.9% liked)

Programmer Humor

33314 readers
876 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS