Mainly a project to learn more about TCP servers and Redis.
Cordis is a toy Redis implementation that is a RESP2 (Redis Serialization Protocol) compatible.
CMake is used to build Cordis.
In the project root directory:
- Configure and prepare project for compilation:
cmake -S . -B build - Build project:
cmake --build build - OPTIONALLY run tests:
cd build && ctest
CMake should generate executable for both the Cordis client and server under the build/src directories.
To run server: ./build/src/server/server
To run client: ./build/src/client/client
- Support all RESP2 types
- Implement Redis' ZSET commands (sorted set)
- Implement Redis streams