🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Databases Intermediate

What is Redis?

An open-source, in-memory data store used as a database, cache, message broker, and queue with sub-millisecond response times.

Redis stores data in memory for extremely fast read/write operations. It supports various data structures: strings, hashes, lists, sets, sorted sets, streams, and bitmaps. Persistence options include RDB snapshots and AOF logging.

Common uses include session storage, caching (reducing database load), real-time leaderboards, rate limiting, pub/sub messaging, and job queues. Redis Cluster provides horizontal scaling and high availability.

Related Terms

JSONB
PostgreSQL's binary JSON data type that stores JSON documents with indexing, querying, and manipulation capabilities.
NoSQL
A category of databases that store data in non-tabular formats, optimized for specific data models and access patterns.
Database Constraint
Rules enforced by the database to maintain data integrity, including NOT NULL, UNIQUE, CHECK, PRIMARY KEY, and FOREIGN KEY.
CTE (Common Table Expression)
A temporary named result set defined within a SQL statement using the WITH clause, improving query readability and enabling recursion.
Migration
A version-controlled change to a database schema that can be applied and reversed systematically.
MVCC (Multi-Version Concurrency Control)
A technique where the database maintains multiple versions of data to allow concurrent reads and writes without locking.
View All Databases Terms →