Redis

Use cases

Pub/Sub

  • Redis Pub/Sub (Publish/Subscribe) is a messaging pattern where clients can subscribe to channels, and other clients can publish messages to these channels. Clients that are subscribed to a channel receive all the messages published to that channel. This messaging pattern is useful for broadcasting messages to multiple clients.

  • Redis Pub/Sub | Redis (opens in a new tab)

Redis Streams

Cache-aside (Lazy-loading)

  • Improves read performance

Write-Behind (Write-Back)

Write-Through

Read-Replica

Resources