Skip to content

Comment on Show HN: Zedis – A Redis clone I'm writing in Zigparent

Comments

It's easy to write a KV store, even a KV store with key expiration. But Redis is quite a bit more than that. Consider sharding and replication at least. Then lists, sets, zsets, bitfields, streams, geospatial indexes, hyperloglog / bloom filters, time series.

Something like LevelDB is relatively easy to write. Then you can build the rest of Redis on top of it.

Then lists, sets, zsets, bitfields, streams, geospatial indexes, hyperloglog / bloom filters, time series.

I mean, I have my own C libraries for most of these!

In Redis those operations are performed server-side, on a shared dataset, and concurrently by many clients.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.