[–] 2 points 3 weeks ago

A corollary of that is that, at least for the most part, as far as I can tell, this situation is not due to “vibe coding”. This code was written well before that was a possibility.

It's not AI that's at fault here. Put down your pitchforks. It actually helped discover the bugs.

  • source
  • [–] 3 points 1 month ago

    Short answer, maybe. Until you specify your needs or use case it is very difficult to say.

    In general, most if not all, benchmarks I have seen comparing Postgres to RAM key value stores has always had postgres coming significantly slower. If speed is the most important factor then likely no, you still need a key value store.

    Also, you wrote "small scale", but even that can be ambiguous. Is it small scale because it is small, but you still need fast lookups? or is it "small scale" because it is a small setup and speed is not an issue?

    It ultimately comes down to your needs and your appetite for having a second technology if you already have postgres. Sometimes, even if a second technology is better at something, the overhead of having the second technology may not be worth it.

  • source
  • parent
  • context
  • [–] 1 point 9 months ago

    I don't feel like leaving the records in-table is that terrible. Maybe even partition on the deleted-at column to keep the performance impact minimal. The benefit of simplicity massively outweighs the rest for me

  • source
  • [–] 18 points 1 year ago* (1 child)

    TLDR

    Redis for caching, RabbitMQ for queues, Elasticsearch for search, and MongoDB for... reasons?

    Postgres might be too good for its own good. It's so capable that it makes most other databases seem unnecessary for 90% of applications.

    Thanks for sharing. The built-in text search sounds helpful for the project I'm working on.

  • source