Live data from Hacker News

Should I write my own Redis?

news.ycombinator.com

1–5 of 5 posts

Should I write my own Redis?

#1
Hello,

there is an excellent library for golang which allows you to implement the redis server protocol: https://github.com/tidwall/redcon

I would like to put in the effort to implement most redis commands there and map them to SQL, so that all data can be saved inside a fine tuned sqlite.

Essentially if this is implemented we would have a database compatible to redis, the difference is that data is saved to disk and not to RAM.

Is there a use case for that? Do people want that? There is some interesting things that could be done with that but I am not sure if the world needs this.

Re: Should I write my own Redis?

#3

Usually people don't know is they really want something until it's in front of them. It's also easier to show off what it does that way. > If you build it, they will come.

Hahaha, well it would be a pity to code for months in a basement only to find out there is no use case.

Re: Should I write my own Redis?

#5

> I would like to put in the effort to implement most redis commands there and map them to SQL, so that all data can be saved inside a fine tuned sqlite. Maybe this is related to what you are looking for? https://launchpad.redis.com/project/reqlite

Hmm interesting. Yes, kind of related still different. It's a sqlite extension to query existing redis server data. Not a redis server itself. But interesting. Thanks for the link!