7/6/2026 at 4:05:39 PM
I love Postgres, and I agree with the general sentiment. But I read the (growing) genre of "use Postgres for everything" articles and they imply a difficulty in running other software that I just don't see.I'm thinking of Redis in particular. If you're using it as incredibly fast but not critical storage, it's trivial to set up and it ~never crashes or requires maintenance. It creates no headaches, and in exchange gives me a k/v store that I can thrash without worrying about performance (I know it's fast), downstream impact (am I slowing down critical-path SQL queries), etc. Especially in the age of LLMs, which I've found to be great at devops-type tasks, I feel slightly less compelled to simplify my stack.
by dpc10
7/6/2026 at 5:26:02 PM
The problem only arises when you have to worry about persistent state. As soon as you have to worry about that, you have to think about backups, replicas, disaster recovery drills and so on. It is much easier to solve for that can of worms for one system than three.by alex_smart
7/6/2026 at 8:12:03 PM
Maybe for the other stuff, but not Redis.by mattmanser
7/6/2026 at 4:20:59 PM
Yeah I've found this quite odd. Even the LLMs want to pressure you to not use Redis and go all in on Postgres. Postgres is great, and I usually use it. But Redis is so trivial to add to your stack and it does what it does really well. Why not use the right tool for the job?by dinkleberg
7/6/2026 at 5:34:34 PM
Presumably this is because LLMs just echo all the pro-Postgres Medium articles they've been trained on. They don't have any actual experience.by c0_0p_
7/6/2026 at 5:10:32 PM
LLMs from hyperscalers allow for paid advertisingby happyPersonR
7/6/2026 at 4:37:03 PM
because if you already have postgres, and dont need thousands of k/v per second, then postgres can do the same ?by Faaak
7/6/2026 at 4:47:01 PM
If you're stressing your database, offloading some work to Redis can buy you a lot of Postgres headroom. But sure, start with YAGNI.by stickfigure
7/6/2026 at 4:14:20 PM
Redis really is a great piece of software. Low memory, high-performance, feature-rich, and stable. Really hard to beat it for places where you want a durable cache even if technically you can use something else.by Xeoncross
7/6/2026 at 4:45:11 PM
And Redis has auto-delete rows (aka TTL). In Postgres you need a cron job to clear stale rows.by deepsun
7/6/2026 at 4:58:09 PM
This is one way to handle the problem, but not the only...by pooloo
7/6/2026 at 4:17:28 PM
Oh no, redis is super simple to set up and use. It's just that setting it up is not as simple as not setting it up.by stavros
7/6/2026 at 4:28:49 PM
For smaller projects and locally, I'm running background services via a compose file... it's a few lines of configuration, and just works. Redis is crazy low hanging fruit.. even job queues that run over Redis make a bit more sense than with Postgres more often than not.I'm far more hesitant to throw a more formal MQ in the mix though... mostly from experience in that a lot of mid level ("senior") developers don't really understand queues very well at all. Even if conceptually, using tables for queues is more complex.
That said, I will use PG for workflows similar to K/V, Document (JSONB) and other structures over reaching for say MongoDB, etc.
by tracker1
7/6/2026 at 5:26:33 PM
Of course spinning up a hello world of anything is easy. Now introduce monitoring, change controls, version upgrades, multiple environments and regionsIt's not that it's necessarily complex. But if you don't need it, don't use it. The business could use your time elsewhere
by willsmith72
7/6/2026 at 5:33:26 PM
For a redis cache? I think you're way over-valuing the effort it takes to keep a redis instance running.For a persistent store.. sure... but that's true for PostgreSQL as well, which has some pretty painful major version migrations by comparison to other options.
by tracker1
7/6/2026 at 4:22:07 PM
OK, but it is relatively easy to setup. Obviously, nobody thinks it is _literally_ effortless.by wuliwong
7/6/2026 at 4:25:43 PM
Every extra straw you put on the back of your ops team, especially when you're a young company, adds weight. It's good to be choosey about which technologies actually justify that expenditure.by munk-a
7/6/2026 at 4:59:54 PM
Your response is a Strawman argument. I was simply saying that nobody thinks that Redis is literally effortless. I was pointing out that the person's comment was not helpful as they were pointing out that Redis installation does actually require effort.A better response to my comment could have been "just let it go" or something. ₍₍(˶>ᗜ<˶)⁾⁾
by wuliwong
7/6/2026 at 5:26:20 PM
Only problem for me vs using your primary DB is that Redis has no redundancy unless you run it in cluster mode. For us that means when the kubernetes node restarts, availability degrades. Could of course enable clustering, but at that point it isn’t dead simple anymore. And using the DB is.by gentlewater
7/6/2026 at 5:47:52 PM
If you run kubernetes, it might be worth looking at valkey/valkey-operator that manages a valkey cluster for you.by preisschild
7/6/2026 at 6:04:08 PM
I think your post misses the point of the DBMS centralization: managed consistency.It is not about ops cost in infrastructure, but ops cost in debugging consistency errors.
by b-man