this post was submitted on 13 Sep 2026
23 points (100.0% liked)

PostgreSQL

2221 readers
6 users here now

The world's most advanced open source relational database

Project
Events
Podcasts
Related Fediverse communities

founded 3 years ago
MODERATORS
top 3 comments
sorted by: hot top controversial new old
[–] anzo@programming.dev 1 points 1 day ago (1 children)

Would this be a replacement for Valkey in small scale?

[–] francisco_1844@discuss.online 3 points 6 hours 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.

[–] Gonzako@lemmy.world 2 points 1 day ago

Saving it for a read later on!