Skip to content

Nimeavles/MemDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MemDB

MemDB is a memory based DB.

Run the code

  #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

Use the DB

  #After connecting
  SET CAR "FERRARI 🚗"

  GET CAR

  DELETE CAR

How has it been coded?

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:

Made with ❤️ by @Nimeavles using C++

About

A memory based DB inspired on Redis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published