Skip to content

The Redis architecture

Client sends command, single-threaded event loop processes it, reads/writes RAM, returns result.

graph LR
  C[Client] -->|command| R[Redis]
  R -->|read/write| M[Memory]
  R -->|persist| D[Disk - RDB/AOF]
  R -->|response| C
  style R fill:#E8F5E9