Joola uses Redis for several internal services.

store:
  config:
    redis:
      dsn: redis://127.0.0.1
  runtime:
    redis:
      dsn: redis://127.0.0.1
  dispatch:
    redis:
      dsn: redis://127.0.0.1
  websocket:
    redis:
      dsn: redis://127.0.0.1

Redis DSN

The DSN (database source name) format for redis is:

redis://<username>:<password>@<host>:<port>/<db>

Configuration

Redis configuration store holds key/value pairs of Joola's configuration.

Runtime

Joola uses Redis to store runtime volatile data such as security tokens and other scrap data.

Message Dispatch

When dispatch is enabled Redis participates in the dispatch of messages between the different nodes.

Websockets

When using a cluster of nodes, web sockets need to share a central store for ensuring clients receive their data packets, for this purpose, Joola uses Redis.

Learn more about Joola configuration.