Managed Redis
Redis for caching, sessions and queues, deployed as a fault-tolerant master and replicas set watched over by Sentinel. You get the microsecond latency of Redis without administering replication and failover by hand.
In-memory storage and cache with automatic failover
What you get
  • -1-
    Fault tolerance out of the box

    A master and replicas, with automatic switchover on a failure

  • -2-
    Sentinel monitoring

    The state of the cluster is watched continuously and failover happens without an engineer in the loop

  • -3-
    Data durability

    Data lives on persistent volumes and survives a restart

  • -4-
    Protected access

    The password is generated automatically and kept in a secret

  • -5-
    Standard protocol

    Any Redis client works: redis-cli and the libraries for every language

Redis here is not a separate product but a service from the DevSpace catalog. It is deployed inside your space and lands in the common bill of the project together with the rest of your services: databases, queues, Kubernetes clusters. For applications in the same space the cache is reachable at an internal address, so no public IP is needed for it.
How the service works
The service is run by Redis Operator, an open-source Kubernetes operator (the actively maintained continuation of the well-known Spotahome operator) that implements the classic production topology for Redis:
  • Master and replicas

    Writes go to the master and data is replicated to the standby nodes. You choose how many replicas to run.

  • Sentinel as the arbiter

    Separate Sentinel processes watch the health of the nodes. The loss of the master is confirmed by quorum and one of the replicas is promoted automatically. The application only has to reconnect.

  • Self-healing

    The operator recreates failed nodes and brings the cluster back to the configuration you set, with no manual steps.

  • Persistent volumes
    Every node keeps its data on a persistent volume, so the cache does not warm up from scratch after a restart.
Features
Use cases
  • Caching
    Taking load off the main database, caching pages and API responses
  • Sessions and tokens
    Fast state storage for web applications and API gateways
  • Queues and pub/sub
    Lightweight task queues and messaging between services
  • Rate limiting and counters
    The atomic operations of Redis for limits, leaderboards and real-time counters
How to deploy Redis in the cloud in three steps
  • 1
    Add the “Redis” service in your DevSpace space: size, number of replicas, volume size.
  • 2
    Take the address and the password from the service page.
  • 3
    Connect with any Redis client, the protocol is completely standard.

FAQ

Сообщение об успешной отправке!
Try it out