Install
Dragonfly is specifically optimized to be run in the cloud.
However, you can easily run it locally via Docker.
1docker run --network=host --ulimit memlock=-1
2docker.dragonflydb.io/dragonflydb/dragonfly
Copy
System Detected:
Requirements: Docker
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
Switch & save up to 80%
Dragonfly is fully compatible with the Redis ecosystem and requires no code changes to implement. Instantly experience up to a 25X boost in performance and 80% reduction in cost