Skip to content

Redis support #19022

@deansheather

Description

@deansheather

Add a new configuration variable CODER_REDIS_URL, that when configured swaps out the following components with Redis versions:

  • The API ratelimiter will become distributed using Redis as the backend, rather than being in-memory per-replica
  • The pub/sub system will become swapped out with a Redis version, rather than using Postgres LISTEN/NOTIFY
  • The tailnet coordinator will become swapped out with a Redis version, rather than using Postgres tables and Postgres LISTEN/NOTIFY

The main benefit would be decreased database load. Redis is very good at handling high throughput for non-persistent data.

Redis support could be gated behind a license feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIssue that require triage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy