/channels
) at the app level.SOKETI_RATE_LIMITER_DRIVER
local
local
, redis
, cluster
SOKETI_RATE_LIMITER_REDIS_CLUSTER_MODE
false
false
, true
redis
driver. Whether the client should be initialized for Redis Cluster. You have to specify the DB_REDIS_CLUSTER_NODES
value.βlocal
- Rate limiting data is stored in-memory and is lost upon server exit.redis
- Rate limiting data is centralized in Redis. This driver is recommended when deploying multi-node soketi configurations.cluster
- Rate limiting data is centralized within the master instance, that is elected. This driver is recommended when deploying multi-threaded soketi configurations (i.e. PM2)