Currently supports:
- RESP2/RESP3 Compatible
- Pub/Sub (PUBLISH, SUBSCRIBE, UNSUBSCRIBE)
- SET, GET, MSET, MGET, INCR, INCRBY, DECR, DECRBY, FLUSHALL
- Server and Client CLI (kinda like redis-server and redis-cli)
- [WIP] Clusters via docker compose. Currently supports:
- CLUSTER START
- CLUSTER CREATE
- CLUSTER MEET
- CLUSTER ADDSLOTSRANGE
- Planned: Other data types, persistence, transactions, TTL, Cache Eviction
git clone https://github.com/omavashia2005/emberdb.git && cd emberdbOpen connection to server
go run main.go
ember-server> ember startStart CLI
./ember-cliRun any Redis commands (SET, GET, MSET, MGET, INCR, INCRBY, DECR, DECRBY, FLUSHALL)
Start the server cluster
docker compose up --buildIn a separate session, run the CLI. This example is for the current compose.yaml with 5 nodes. Minimum 3 nodes required.
./ember-cli --create-cluster 127.0.0.1:6379 127.0.0.1:6380 127.0.0.1:6381 127.0.0.1:6382 127.0.0.1:6383