📚 Redis Infrastructure Basics

1. What is Redis?


2. Basic Single-Instance Deployment

Example start command:

redis-server /path/to/redis.conf

Example simple client connect:

redis-cli

Limitations:


3. Redis Persistence Options

Redis can save data to disk (important for durability):

Mode How it works Notes
RDB (snapshot) Save a point-in-time snapshot at intervals Fast startup, but might lose recent writes
AOF (append-only file) Log every write operation to a file Safer but slower