Wanted to introduce a Redis port in Rust

Hi All,

Recently did a port of Redis in Rust. Hoping to have more contributors to the project. For now, the code repo is here: GitHub - mahajpuneet/redrust

More contributors are really welcome here

Regards,
Puneet

2 Likes
cloc . ; grep "unsafe" * | wc -l
      94 text files.
      94 unique files.                              
       0 files ignored.

github.com/AlDanial/cloc v 1.94  T=0.89 s (105.9 files/s, 409623.5 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Rust                            94             32             71         363328
-------------------------------------------------------------------------------
SUM:                            94             32             71         363328
-------------------------------------------------------------------------------
8499
  1. Is this a human written port, or machine generated port ?

  2. Does this have all the benefits of write-ahead-log ?

I've always wanted to be able to write Rust programs that I could kill -9 at any time and restart, and have it restore state, without paying the penalty of all data being stored on an external DB. Does this make it possible to have an "inprocess redis" ?

As of now it has machine transpilation and my own code fixes of the transpilation top to make it build. It still needs code cleanup/linting and warning removal. Looking for active collaborators who can help here.

On the persistence question, we are still taking the design choices taken by redis as part of this port. Not altering that as of now

If you have time, I am interested in hearing more of this.

Does this merely build, or does it also pass all the tests ?

Cargo test is is facing last step gcc linking issues. Trying to work through that

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.