Skip to content

Caching

Managed Redis on your own cluster

In-memory store for caching, sessions and queues. Runs Valkey, speaks the Redis protocol, as a cache or as a durable instance.

Created inside a project, beside the apps that use it. Each project gets its own instance, storage and credentials.

01What it does

Redis, run for you

Valkey 8 or 9, the open-source Redis fork, on Anyport's own chart. It speaks the Redis protocol, so every Redis client connects unchanged.

The cache, session store and job queue most stacks already assume. Two modes, chosen once: Cache keeps everything in memory and evicts under pressure, which is the fastest and loses its data on restart; Durable attaches a volume and keeps your data across restarts.

Pick a size, bind it to your apps, and they read REDIS_URL. The eviction policy follows the mode (LRU for cache, no eviction for durable) unless you set one. Switch on the metrics exporter and memory, hit rate, evictions and connections appear on the Metrics tab once Observability is installed.

02Options

What you choose

What the console asks when you create it, in the catalog's own numbers. Anything marked chosen once cannot change without creating a new instance.

Modes
Cache, or Durable with a volume; chosen once
Sizes
small 256Mi, medium 1Gi, large 4Gi of memory
Storage
1Gi by default in durable mode, chosen once
Versions
Valkey 8 (default) or 9
Eviction
noeviction, allkeys-lru, allkeys-lfu, volatile-lru, volatile-ttl or allkeys-random
Pause
Yes
Public port
6379 can be opened on a public cluster

03Binding

What your app receives

Bind it to an app and these arrive as environment variables. The values are generated once into a secret and reach the app from there, rather than as something you copy.

  • REDIS_HOST
  • REDIS_PORT
  • REDIS_PASSWORD
  • REDIS_URL

04Adding it

Add Redis to a project

The same four steps as every service in the catalog.

  1. 01Open a project and go to Services.
  2. 02Pick it from the catalog and choose its options. Only the size is required; everything else has a default.
  3. 03Create it. Anyport installs it into the project's namespace, generates its credentials into a secret there, and tracks its health.
  4. 04Bind it to an app. The connection details arrive as environment variables, and rotating the credential never means editing an app.

Also under Caching