A C++ implementation of Redis-like server and client functionality.
This project is currently under active development.
- Ubuntu 24.04.1 or higher
- CMake 3.10 or higher
- g++ (GNU C++ Compiler) 13.3.0 or higher
You can manually compile and run the server and client files, or you can use the provided run.sh
script for convenience. Follow the steps below to get started.
- Open a terminal.
- Navigate to the project directory.
- Make the script executable (only needed once):
chmod +x run.sh
- Run the script to build the project and start the server:
./run.sh
- Execute the client with the desired command arguments:
./build/client.exe set key1 hello
set <key> <value>
: Sets the value for the specified key.get <key>
: Retrieves the value associated with the specified key.del <key>
: Deletes the specified key.
This project is based on the "Build Your Own .org" guide book by James Smith. It helped me understand low-level socket programming, client-server communication, and building a Redis-like key-value store.