5 ms·
Should I write my own Redis?
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.
- not_your_vase 3y agoUsually 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.
- ihucos 3y agoHahaha, well it would be a pity to code for months in a basement only to find out there is no use case.
- stefanos82 3y ago> 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 https://launchpad.redis.com/project/reqlite
- ihucos 3y agoHmm 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!