News for hackers. Stuff that matters.
Re:Ask HN: What are the best key-value self-hosted storage e... by sethammons on Thursday March 31, 2022 @06:35PM (#30872992)
Tossing another vote in for Redis. Generally, you have to give me a reason why Redis is not the answer for a KV store situation. It can run in a cluster mode or individually, and it can choose to run only in memory and not sync to disk if you don't need persistence and you want it fast.

Some folks claim 200k inserts a second, but we topped out at around 20k inserts a second and had to start digging into more advanced configurations and whatnot. Eventually we sharded and sent some requests to one pool of redis and other requests to a different pool based on consistent hashing that we set up. But even then, I don't think most shops need to worry about that scale.

Re:Ask HN: What are the best key-value self-hosted storage e... by yuppie_scum on Thursday March 31, 2022 @11:04PM (#30874779)
As I recall it’s a bitch making redis highly available in production. But maybe easier now if you find a good K8s operator for it or just use elasticache.
Re:Ask HN: What are the best key-value self-hosted storage e... by aynyc on Thursday March 31, 2022 @08:31PM (#30873895)
Is Redis fully ACID? We always used it as a caching engine.
Re:Ask HN: What are the best key-value self-hosted storage e... by diehunde on Thursday March 31, 2022 @09:36PM (#30874268)
Re:Ask HN: What are the best key-value self-hosted storage e... by PaulHoule on Thursday March 31, 2022 @04:37PM (#30871931)
In Java I like

https://mapdb.org/

It is more feature rich than you want but in Python I'd probably just use sqlite3 since it is in the standard library.

Re:Ask HN: What are the best key-value self-hosted storage e... by bitobserver on Thursday March 31, 2022 @08:35PM (#30873923)
Check out Skytable - https://skytable.io/

Pros: Extremely fast. https://github.com/ohsayan/sky-benches

Cons: Still early in development, not a ton of features.

Re:Ask HN: What are the best key-value self-hosted storage e... by avinassh on Friday April 01, 2022 @02:28PM (#30881668)
Redis shines at latency and I don’t see any benchmarks. Ofcourse Skytable throughput will be higher cos it’s multithreaded. I don’t think this is a fair benchmark
Re:Ask HN: What are the best key-value self-hosted storage e... by eatonphil on Thursday March 31, 2022 @06:39PM (#30873027)
Since Redis and memcached are historically the defacto key-value databases I'm curious what about them makes them not as obvious a choice for you.

I'm not saying everyone should only use those two I'm just guessing there's more to the criteria you have in mind than you wrote here.

Re:Ask HN: What are the best key-value self-hosted storage e... by throwaway888abc on Thursday March 31, 2022 @04:54PM (#30872088)
Re:Ask HN: What are the best key-value self-hosted storage e... by inphovore on Thursday March 31, 2022 @05:30PM (#30872423)
Re:Ask HN: What are the best key-value self-hosted storage e... by toast0 on Thursday March 31, 2022 @10:42PM (#30874674)
Mnesia from OTP (Erlang)
Re:Ask HN: What are the best key-value self-hosted storage e... by endisneigh on Friday April 01, 2022 @12:02AM (#30875054)
FoundationDB