This is a mini-recreation of Redis in C++. It is a solution to the CodeCrafters.io challenge Build Your Own Redis.
This servers connects with the redis-cli and can handle the following commands: PING, ECHO, GET, SET (with expiration time), CONFIG GET, KEYS - more are to be added in the future. It also reads .rdb files and parses the Redis protocol. Can handle multiple clients at the same time using a single threaded event loop (epoll) so that it is closer to the original solution without threads.
Disclaimer: I am not responsible for any misuse of this code. This code is intended for educational purposes only.