Cacing is a simple in memory cache engine.
- Intuitive API
- Key-value store
- Single executable for server and client
- Pluggable storage engine
- Single server instance for single application client
Starting the server by run:
$ cacing run --user root --password 123 --port 8081
Connect to server (as client) by run:
$ cacing connect --dsn cacing://root:123@localhost:8081
-
SET a key with value.
example:
SET user1 cacing SET user2 hadihammurabi SET user3 needkopi
-
GET value of a key
example:
GET user1 GET user2 GET user3
-
DEL to delete a key
example:
DEL user1 DEL user2 DEL user3
-
EXISTS to check key existence
example:
EXISTS user1 EXISTS user2 EXISTS user3
If you want to use cacing in your application, here some drivers you can use.