23
All you need is PostgreSQL (ebellani.github.io)
submitted 1 day ago by yogthos@lemmy.ml to c/programming@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] dessalines@lemmy.ml 9 points 1 day ago

This has pretty much been my philosophy with lemmy too.

Additional stores, caches, and other storage layers massively increase the complexity of your system. Suddenly you have 3+ places where the user could be getting the data from, and any of them might contain stale or incorrect data, that isn't linked or connected to primary source data.

Even after you add 2 of these layers, troubleshooting and finding problems is only solvable by people who know intimately how all of these things are connected. So I've always tried to keep these extra layers out of the lemmy codebase.

[-] yogthos@lemmy.ml 6 points 1 day ago

I've come to the same realization, the less moving pieces you have in your stack the better. Postgres can handle vast majority of persistence needs, and can even double up as a queue. So, there's really little justification adding another moving piece which you'll have to synchronize data with.

this post was submitted on 26 Jun 2026
23 points (100.0% liked)

General Programming Discussion

9943 readers
27 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 7 years ago
MODERATORS