Redis
FreemiumThe open source, in-memory data store used by millions of developers as a cache, vector database, document database, streaming engine, and message broker.
Scores
About
Redis (Remote Dictionary Server) is an open-source, in-memory data structure store, first released in 2009. It stores data entirely in RAM, enabling sub-millisecond read and write latency that makes it the standard choice for caching, session storage, and real-time leaderboards.
Beyond simple key-value storage, Redis provides a rich set of data structures: strings, hashes, lists, sets, sorted sets (ordered by score), bitmaps, HyperLogLogs for approximate cardinality, geospatial indexes, and streams for append-only log-style messaging. TTL-based key expiration allows automatic cache invalidation without a separate cleanup process.
Persistence options include RDB snapshots and AOF (Append Only File) logging, allowing recovery after restart despite being in-memory. Redis Sentinel provides high availability with automatic failover; Redis Cluster adds horizontal sharding. Redis Stack extends the core with modules for full-text search (RediSearch), JSON documents, and time series data.
Key Features
- In-memory storage for sub-millisecond latency
- Rich data structures: strings, hashes, lists, sets, sorted sets
- Built-in replication with Redis Sentinel for high availability
- Pub/sub messaging with streams support
- TTL-based key expiration for automatic cache invalidation
- Persistence options: RDB snapshots and AOF logging
- Horizontal scaling with Redis Cluster
- Redis Stack adds search, JSON, and time series capabilities
Pros
- Blazing fast—in-memory operations
- Simple to learn and use
- Versatile data structures for many use cases
- Excellent for caching and real-time applications
- Robust clustering and replication options
- Huge ecosystem of client libraries
- Strong community support
- Lightweight and resource-efficient
Cons
- Memory limited by RAM—can be expensive for large datasets
- Data loss risk if persistence not configured
- Not ACID compliant—not suitable for transactional data
- Limited querying capabilities compared to relational databases
- Cluster management can be complex
- Enterprise features require paid Redis Cloud
- Memory efficiency concerns with certain data structures
- Built-in GUI limited—third-party tools needed
Pricing
Freemium- · Self-hosted Redis
- · Full feature set
- · Community support
- · Dedicated VPC isolation
- · Up to 75 TB storage
- · Redis Enterprise features
- · Pay by the hour
- · Starting at $7/month
- · 0.1 GB - 100 GB storage
- · Includes Redis Stack
- · Self-managed enterprise
- · Active-Active replication
- · Contact for pricing
Possible Stacks
Advanced API (Go)
ProjectA high-performance API stack for advanced engineers. Go handles concurrency, PostgreSQL + Redis back the data layer, Kubernetes orchestrates containers, and Prometheus + Grafana provide observability.
Programming
Databases
Hosting
Authentication
DevOps
Observability
n8n Self-Hosted + Postgres
InfrastructureSelf-host n8n on your own VPS for complete data ownership and no per-workflow pricing. PostgreSQL stores workflow executions and credentials; Redis queues background jobs for reliable at-least-once execution. Docker keeps the stack reproducible across any Linux host.
PostHog Self-Hosted
InfrastructureSelf-host PostHog for full-stack product analytics with complete data ownership. PostgreSQL handles transactional storage for user and event metadata; ClickHouse powers fast analytical queries over large event volumes. Kafka buffers the event ingestion pipeline between capture and ClickHouse; Redis provides the in-memory caching layer. Docker Compose orchestrates the full multi-service deployment.
Related Tools
Works well with (15)
Learning Resources
No resources yet — check back soon.