Settings

Theme

Should I write my own Redis?

1 points by ihucos 2 years ago · 4 comments · 1 min read

Reader

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.

stefanos82 2 years 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

  • ihucosOP 2 years ago

    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!

not_your_vase 2 years ago

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.
  • ihucosOP 2 years ago

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection