←back to thread

132 points barddoo | 1 comments | | HN request time: 0s | source

Writing Redis from scratch in Zig.
Show context
k_bx ◴[] No.45310497[source]
Sorry if somewhat off-topic, but might help with getting more users. Redis is actually good enough and easy to install for most projects, but it has downside that it's "memory-only" (needs to fit in ram), and if you're in a tight container/vm – you'd better not rely on it solely.

So, there's another project – called kvrocks https://github.com/apache/kvrocks , which is for people which don't need in-memory perf of redis but would like to use its protocol and be still very performant. However, its devs never packaged a release in deb and other formats.

So, if you were to implement something similar ^ which will implement the protocol, have ability to grow on disk, and be available in distro repos (ideally) – would definitely hold a niche of many little projects which benefit from redis-like thing I've done.

replies(4): >>45310703 #>>45311050 #>>45311944 #>>45312922 #
jasonjmcghee ◴[] No.45310703[source]
fwiw redis has persistence https://redis.io/docs/latest/operate/oss_and_stack/managemen...
replies(1): >>45310837 #
1. lyu07282 ◴[] No.45310837[source]
That just makes it durable, the entire dataset still has to fit in memory.
replies(1): >>45313168 #