FrankenRedis: Redis 7.2.4 clone in Rust
ProjectComments
5k tests isn't enough to cover every edge case in the 7.2.4 spec.
This is like the early days of compiler verification... if the test suite is narrow, could we end up with a system that returns the right answer but has wildly different time complexity for certain commands?
Given the recent licensing changes for Redis, would a clone's value lie more in its strict compatibility or in its ability to evolve into a separate standard? It is worth considering if strict parity eventually becomes a limitation.
The harness relies on diffing the actual output of the original C binary via redis-cli. This ensures that the implementation details in Rust do not accidentally change the external behavior of the protocol.
Protocol parity is one thing, but the real test is how it handles memory pressure in production. I have seen too many compatible tools crash the moment they hit actual hardware limits.
Since it uses the CLI for diffing, I wonder if there is a way for the community to submit their own custom test scripts to the harness. That could help bridge the gap in test coverage.