Connect
Copy the connection URL from the database’s page in the dashboard:rediss:// (two s’s): the server only accepts TLS, and there is no plaintext port. A client certificate is not needed; to check the server, use the .pem from Connection → SSL/TLS certificate as the CA. A URL saved from a database created before September 29, 2026 may still say redis://: change it to rediss://.
- node-redis
- ioredis
- Python
- redis-cli
Connection behavior
- Idle clients are disconnected after 300 seconds. Use a client that reconnects automatically (node-redis, ioredis and redis-py do) or send a periodic
PING, as in the examples above. - One logical database (0).
SELECT 1or higher answersERR DB index is out of range: separate data with key prefixes (cache:,session:) instead. - Up to 256 simultaneous clients; past that, new ones get
max number of clients reached. Create one client per process and reuse it. - Authentication is the password of the
defaultuser. Extra ACL users can’t be created.
Commands
Every data command works, as do Lua scripts and Functions, pub/sub,MULTI/EXEC, SCAN and SLOWLOG. These are blocked and answer NOPERM: FLUSHALL, FLUSHDB, SHUTDOWN, CONFIG, DEBUG, ACL, REPLICAOF/SLAVEOF and FAILOVER.
Without CONFIG, the eviction policy and keyspace notifications can’t be changed. To empty the database, delete keys in batches with SCAN and UNLINK:
Built-in modules
Search queries run on as many threads as the database has vCPUs.
Memory
- Redis can hold data up to 90% of the database’s RAM. The other 10% covers its own overhead, client buffers and the room a save needs.
- The policy is
noeviction: when memory is full, nothing is evicted. Writes fail withOOM command not allowed when used memory > 'maxmemory', while reads keep working and the server stays up. - So give cache keys an expiry (
SET key value EX 3600,EXPIRE), and size the RAM for the data that has no expiry. - Changing the database’s RAM restarts it.
Large replies
A client whose unread replies pass 32 MB (or stay above 16 MB for 60 seconds) is disconnected; for pub/sub subscribers the limits are 32 MB and 8 MB for 60 seconds. Commands that return huge replies, such asKEYS * or HGETALL/SMEMBERS on giant keys, and subscribers that read too slowly, get cut off. Iterate with SCAN, HSCAN and SSCAN instead.
Persistence
- Redis saves its data to disk every 60 seconds when at least one write happened. There is no append-only file, so a crash or an out-of-memory stop loses up to the last ~60 seconds of writes. Keep data you can’t lose in a database of record as well.
- If a save fails (full storage, or not enough memory to save), writes answer
MISCONFuntil a save succeeds, and snapshots fail meanwhile. A save needs free storage next to the current data file, about the size of the data.

