Code Reference

Glossary

Redis · Reference cheat sheet

Glossary

Redis · Reference cheat sheet


📋 Overview

Alphabetical glossary of Redis data structures, durability, and client terms.

🔧 Core concepts

TermDefinition
AOFAppend-only file persistence log of write operations.
EvictionRemoving keys under maxmemory per policy.
HashField-value map stored at a single key.
KeyspaceThe set of keys in a selected logical database.
ListOrdered sequence supporting push/pop at ends.
Pub/SubFire-and-forget channel messaging.
RDBSnapshot persistence format.
ReplicaRead copy of a primary for HA/scale-out reads.
SetUnordered collection of unique members.
Sorted setUnique members ordered by score.
StreamAppend-only log with consumer groups.
TTLTime-to-live before a key expires.
SCANCursor-based incremental iteration.

💡 Examples

Type check:

TYPE session:abc
TTL session:abc

Logical DB:

SELECT 0

⚠️ Pitfalls

  • “Persistent Redis” still needs backup/HA design — persistence ≠ full DR plan.
  • Mixing cache and primary data on one instance without key discipline causes pain.

On this page