Sunny is
fast
,easy
andkey-value
in memory database.
Sunny takes care of removing the least used keys in the database in order to get a quick response at all times.
Make sure you have g for this project.
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
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
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.
Contributions, issues and feature requests are welcome.
Feel free to check issues page if you want to contribute.
Check the contributing guide.
👤 Luca Becci
- Linkedin: Luca Becci
- Github: @lucabecci
Please ⭐️ this repository if this project helped you!
Copyright © 2022 Luca Becci.
This project is MIT licensed.