Install

Dragonfly is specifically optimized to be run in the cloud.
However, you can easily run it locally via Docker.

Prod
1docker run --network=host --ulimit memlock=-1 2docker.dragonflydb.io/dragonflydb/dragonfly
Copy

System Detected:

Requirements: Docker

Other Installations

Once installed, Dragonfly will respond to both HTTP and RESP (Redis Serialization Protocol) requests out of the box!You can test your connections to Dragonfly using any Redis-compatible client. The following example uses `redis-cli`:
1# Connect to Dragonfly using `redis-cli`: 2$> redis-cli -p 6379 3 4# Start to interact with Dragonfly: 5127.0.0.1:6379> SET hello world 6OK 7127.0.0.1:6379> KEYS * 81) “hello” 9127.0.0.1:6379> GET hello 10world
Start building today

Dragonfly is fully compatible with the Redis ecosystem and requires no code changes to implement.