About Redis
Redis keeps data structures in memory: strings, hashes, lists, sets, sorted sets, streams, bitmaps and geospatial indexes, each with atomic commands. Redis 8 folds the former Stack modules into the core, adding JSON documents, the Redis Query Engine, time series, probabilistic structures and vector sets.
From version 8 the code comes under your choice of AGPL-3.0, RSALv2 or SSPLv1, while 7.2 and earlier stay BSD-3-Clause. A CloudSat VPS gives the dataset its own DDR5 memory, and RDB snapshots or the append-only file write it to NVMe for restarts.
Redis listens on 6379, bound to localhost with protected mode on.
What you get with Redis
- Strings, hashes, lists, sets, sorted sets and streams
- JSON, search, time series and vector sets in Redis 8
- RDB snapshots and append-only persistence
- Pub/sub and consumer groups on streams
- ACL users with per-command permissions
- Replication and Redis Cluster sharding
Redis use cases
- Cache database queries and rendered pages
- Hold sessions and rate-limit counters for a web app
- Back job queues for Sidekiq, Celery or BullMQ
After you deploy Redis
- Connect over SSH when the server is Running and test with
redis-cli ping, which should answerPONG. - Set
requirepassor define ACL users in/etc/redis/redis.conf, then runsystemctl restart redis-server. - When Redis acts as a cache, set
maxmemoryand amaxmemory-policysuch asallkeys-lru. - Before changing
bindfor remote clients, admit only your application hosts to 6379 with CloudSat firewall rules and turn on TLS.
Redis ports
Open these in your firewall if you use one: 6379/tcp Redis (localhost by default).
Redis FAQ
Is Redis open source again?
Redis 8 added the OSI-approved AGPL-3.0 next to RSALv2 and SSPLv1, and you pick one. If you want a BSD-licensed server, Valkey is a compatible fork.
How much RAM do I need?
The whole dataset lives in memory, plus headroom for replication buffers and the fork that writes snapshots. Size the plan well above used_memory from INFO memory.
Disclaimer. The Redis project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.