A mini redis in 411 lines of Python
github.com
github.com
For automated testing, redis is easy enough to start and stop. It compiles without dependencies and a simple "make" does the job :)
This might have been a nice learning experience for the author, but it's definitely not hacker news.
I think MiniRedis does what it needs to do well, but I was surprised to see it reasonably high on the HN page. I think there are probably more deserving projects out there.
Btw 25% the speed means a lot slower :) My guess was that the difference for small keys that the redis-benchmark is stressing would be smaller.
I think that with big lists or using the SORT command the difference will be bigger.
Cheers, Salvatore