Create a Redis ACL user with command and key restrictions
Redis ACL rules combine authentication, command categories, key patterns, channel patterns, and enabled state for each user.
Choose a Redis AOF fsync policy from the actual loss budget
AOF records write commands and appendfsync controls how Redis requests durability, trading write latency against the amount of acknowledged data at risk.
Set Redis client output-buffer limits without disconnect storms
Redis tracks pending output per client class and disconnects a client when configured hard or sustained soft limits are exceeded.
Interpret Redis LATENCY DOCTOR with operating-system evidence
The latency monitor samples configured event classes inside Redis, while LATENCY DOCTOR summarizes detected spikes and suggested causes.
Measure Redis key memory without running an unbounded key dump
MEMORY USAGE estimates bytes allocated for one key and can sample nested values, while aggregate overhead and allocator fragmentation appear elsewhere.
Test a Redis RDB restore without overwriting production
An RDB file is a point-in-time dataset snapshot loaded at server startup; a meaningful test uses a separate instance and validates data semantics.
Find large Redis keys without blocking the server with KEYS
SCAN incrementally iterates the keyspace with limited work per call but may return duplicates and does not provide a transactionally stable snapshot.
Use Redis SLOWLOG to find server-side command latency
SLOWLOG records commands whose execution time exceeds a threshold, excluding network I/O, so it identifies server work rather than total client latency.
Enable Redis TLS and verify every communication channel
Redis can protect client, replication, and cluster-bus traffic with TLS, but certificates, ports, trust, and client configuration must converge together.
Use Redis WAIT without claiming strong consistency
WAIT blocks a client until earlier writes are acknowledged by a requested number of replicas or timeout, but acknowledged copies can still be lost during failover.