DiceDB is an open-source, fast, reactive, in-memory database optimized for modern hardware. Commonly used as a cache, it offers a familiar interface while enabling real-time data updates through query subscriptions. It delivers higher throughput and lower median latencies, making it ideal for modern workloads.
The easiest way to get started with DiceDB is using Docker by running the following command.
$ docker run -p 7379:7379 dicedb/dicedb:latest
The above command will start the DiceDB server running locally on the port 7379
and you can connect
to it using DiceDB CLI and SDKs.
Note
If you are looking to setup DiceDB for development or want to setup from source, refer our CONTRIBUTING/README.md guide.
The best way to connect to DiceDB is using DiceDB CLI and you can install it by running the following command
$ sudo su
$ curl -sL https://raw.githubusercontent.com/DiceDB/dicedb-cli/refs/heads/master/install.sh | sh
If you are working on unsupported OS (as per above script), you can always follow the installation instructions mentioned in the dicedb/cli repository.
Note
If you are looking to setup DiceDB for development or want to setup from source, refer our CONTRIBUTING/README.md guide.
The Code Contribution Guidelines are published at CONTRIBUTING/README.md; please read them before you start making any changes. This would allow us to have a consistent standard of coding practices and developer experience.
Contributors can join the Discord Server for quick collaboration.
We are incredibly grateful to our sponsors for their generous support, which makes the development of DiceDB possible.
DiceDB is a project with a very strong vision and roadmap. If you like what we do and find DiceDB useful, please consider supporting and sponsoring us on GitHub.
This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.