Performance basics
- Memory sizing: ensure enough RAM for your dataset and overhead. Watch for eviction policies that might kick in under pressure.
- Persistence trade‑offs: snapshots are lighter but less granular; AOF increases durability at a write‑amplification cost. Pick what fits your risk profile.
- Latency hygiene: avoid oversized values and chatty small writes; batch where it makes sense.
- Warm‑up and caches: benchmark with warmed caches and realistic command mixes.