MemDB is a memory based DB.
#Setup meson
meson setup build/
#Compile the code into
ninja -C build/
#Exec the program
./build/memdb
#New Terminal and connect a client
netcat localhost 8080
#After connecting
SET CAR "FERRARI 🚗"
GET CAR
DELETE CAR
This project is not a development one. I mean, it has been made just for learning a bit more about how does sockets works, and how does the kernel handle multiples connections to the same "server".
There are some libraries which has helped me to make this project posible. Some of them are:
Let me say, that if you are not familiar with socket
and epoll
programming, it might well be challenging for you to understand these code. That is why I'm going to lend you some resources, which would help.
These resorces are the followings: