Consolidation outcome
210 GiB Redis dataset compressed into 128 GiB Dash table with zero BGSAVE fork spikes
An 18-node Redis Cluster (9x r6i.2xlarge primaries + 9 replicas = 1,152 GiB provisioned RAM) was consolidated onto 2 r7g.8xlarge Dragonfly nodes (512 GiB total RAM) using --cluster_mode=emulated and --cache_mode=true.
1. Production Dragonfly flag configuration (32-core vertical cache & parallel .dfs snapshots)
dragonfly.flagfile · shared-nothing production profile
--proactor_threads=32 --conn_io_threads=8 --maxmemory=205G --cache_mode=true --cluster_mode=emulated --lock_on_hashtags=true # Zero-fork parallel .dfs snapshots via Linux io_uring (writes 32 shard files) --dir=/var/lib/dragonfly/snapshots --dbfilename=prod-dump --snapshot_cron="0 */4 * * *" # Multi-stream replication & client buffer guardrails --Replica_partial_sync=true --pipeline_squash=10
2. Linux kernel io_uring ulimit & Dash memory verification
bash · kernel check & redis-cli telemetry
# Ensure Linux kernel >= 5.15 and unlimited memlock for io_uring rings uname -r && ulimit -l unlimited # Inspect Dash table memory efficiency, object overhead, and parallel stream replication redis-cli -p 6379 INFO memory | grep -E "used_memory_human|used_memory_rss_human|object_used_memory" redis-cli -p 6379 INFO replication







