from Hacker News

Should I write my own Redis?

by ihucos on 3/17/24, 5:52 PM with 4 comments

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.

  • by stefanos82 on 3/17/24, 6:47 PM

    > 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

  • by not_your_vase on 3/17/24, 5:55 PM

    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.