Skip to content

lucabecci/sunny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

113 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sunny Database

Sunny is fast, easy andkey-value in memory database.

✨ Demo

demo

❗ Important

Sunny takes care of removing the least used keys in the database in order to get a quick response at all times.

🔧 Installation

Make sure you have g++ for this project.

Manual compilation

Just run the following command at the root of your project to compile the code:

For the Sunny CLI:

g++ ./runtime/client_runtime.cpp -o client && ./client.out 

For the Sunny server:

g++ ./runtime/server_runtime.cpp -o server && ./server.out 

Makefile

You can create the binaries through a makefile and then run them through the console, they will be in the "bin" folder:

make

After this you could run the client or the server by:

##the client
./bin/client

##the server
./bin/server

🚀 Usage

You can see the manual in the CLI with the help command.

Principal commands:

  • put key value - This command will add up or update one key in the database.
  • get key - This command will find a key in the database.

🤝 Contributing

Contributions, issues and feature requests are welcome.
Feel free to check issues page if you want to contribute.
Check the contributing guide.

Author

👤 Luca Becci

Show your support

Please ⭐️ this repository if this project helped you!

📝 License

Copyright © 2022 Luca Becci.
This project is MIT licensed.

About

Free and Open-Source k/v in memory database written in c++.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages