Dragonfly
Dragonfly is an in-memory data store compatible with the Redis and Memcached APIs, so existing Redis clients and tools work against it unchanged. It is multi-threaded, uses every core it is given and takes snapshots without forking.
Dragonfly
In Development
This script is currently in active development and may be unstable or incomplete. Use in production environments is not recommended.
This script is currently in active development and may be unstable or incomplete. Use in production environments is not recommended.
Installation
Default install:
1
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/DevScripts/main/ct/dragonfly.sh)"
Notes
Dragonfly refuses to start with less than 256 MiB of free RAM per CPU core. Add RAM when you add cores, or set --maxmemory=<size> in /etc/dragonfly/dragonfly.conf.
When memory is full, writes fail instead of evicting old keys. For cache use, add --cache_mode=true to /etc/dragonfly/dragonfly.conf and run systemctl restart dragonfly.