3 ms·
Why not just modify the Redis code to modularize the server part, and define a user friendly API? It seems like a waste to re-implement all of the data structur
by oconnore 16y ago
Why not just modify the Redis code to modularize the server part, and define a user friendly API? It seems like a waste to re-implement all of the data structures, since they will eventually do exactly the same thing.
This seems like a bad case of NIH syndrome.
- stephth 16y agoMaybe the Redis codebase is too closely tied to the fact that the complete db has to be loaded in memory?
- drdaeman 16y agoFrom the quick glance over the source code, it seems that this implementation has this assumption too. (I may be wrong, though - it is possible I've missed something.) On the other hand, Redis has "VM" thing, which allows larger-than-memory databases by swapping less frequently used data to disk.
- seppo0010 16y agoYes, this was my assumption.