4 ms·
65,000 lines of code? I'm not a developer but that seems impressive.
by zymhan 8y ago
65,000 lines of code? I'm not a developer but that seems impressive.
- smueller1234 8y agoImpressively small or large? It's tiny compared to most storage products/databases. I would say that's mostly due to that when it gets down to brass tacks, Redis (ignoring the orchestration in Cluster) really is a fairly simple interpreter with simple memory management (largely delegated to the malloc implementation) that glues together a fair number of nice data structure/algorithm implementations that have little codependence. That last point is really, really important in it's developer accessibility. (antirez called this modularity elsewhere I think.) It also helps keep code size down.
- zymhan 8y agoDefinitely small for something so powerful.