redis / redis
Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported.
Redis maintains a beautifully self-contained, purely C-based structural organization. There are minimal dependencies, relying mostly on direct OS POSIX abstractions and a monolithic core executable setup managed plainly inside the `src` folder.
- Uncompromising C simplicity. Minimal subdirectories, maximizing flat access.
- Deep dependency encapsulation. Everything needed to build Redis completely isolated in the `/deps` directory.
Notable Directories
/srcThe single, massive core directory containing everything from the CLI tools to the primary caching engine.
/depsEmbedded dependencies like jemalloc and hiredis, guaranteed to compile seamlessly without external package managers.
/testsTCL-based test framework rigorously evaluating memory leaks and multi-threaded edge cases.
Build Your Own Ecosystem
Learn from redis's structure and craft your own software scaffolding.