Faster applications, without installing Redis.
Created in a few fields on your infrastructure, this cache keeps in memory the data your software reads often. It speaks the Redis protocol: your clients connect unchanged.
What it replaces
- Today, without Hyperfluid
- A Redis or a Valkey installed by hand, with its password in a configuration file.
- Public cloud equivalent
- Amazon ElastiCache, Azure Cache for Redis, Google Cloud Memorystore.
- With Hyperfluid
- The platform deploys the cache, generates its password and stores it in the vault (Passe-Partout).
What it's for
-
Share sessions
Several instances of an application find every user's session.
-
Skip a costly query
Its result is read back from memory.
-
Count and throttle
Counters and rate limiting, kept in memory.
In the console
How you use it
- Create the cache, from 128 MB to 4 GB (
Databases › Key-Value). - Keep the default eviction policy, or change it.
- Find the connection URI in the secrets vault.
- Pass it to the application through a variable that references the secret.
# A 256 MB cache that evicts the least recently used keyshfctl kvcache create --name sessions --maxmemory 256mb --maxmemory-policy allkeys-lru --wait# Open the network path from the application, then hand it the URI through a secrethfctl service-links create --consumer app/web --target cache/sessionshfctl apps update web --env-var CACHE_URL=secret:production/hf-key-value-cache/sessions/connection-uri data "hyperfluid_environment" "default" { name = "default"}resource "hyperfluid_key_value_cache" "sessions" { env = data.hyperfluid_environment.default.id name = "sessions" maxmemory = "256mb" maxmemory_policy = "allkeys-lru" resources = { requests = { cpu = "100m", memory = "256Mi" } limits = { memory = "384Mi" } }} Operations and limits
- Lifetime
- Data in memory, never on disk, lost whenever the instance is replaced: rotation, size change, upgrade, maintenance. Put nothing in it that your application cannot rebuild.
- Availability
- One instance, with no standby copy: every upgrade means a short interruption.
- Credentials
- Rotation changes the password and restarts the cache. An application that reads the URI from an environment variable has to restart too.
- Network
- No public access: port 6379, without TLS, password-protected, for the organization's workloads only.
Not shipped yet
- Persistent, disk-backed storage, announced in the console.
- Replication, high availability and cluster mode.
- TLS on the connection to the cache.
Technical sheet and operating details (9)
- Engine
- Valkey 9.1, Redis 7.2 protocol
- Connection
- Internal redis:// URI, port 6379
- Isolation
- Under strict network isolation, only a service link opens the path from the application.
- Credentials
- A generated password, stored in the secret manager with the full URI. In Terraform, credentials come out as a secret reference, never in clear text.
- Sizes
- Six tiers, from Nano (128 MB) to XLarge (4 GB), or a custom size. The size you pick is the threshold where eviction starts: the server's own memory comes on top.
- Upgrade
- The old instance stops before the new one starts.
- Eviction
- Eight policies, allkeys-lru by default. With noeviction, writes are refused once memory is full.
- Terraform
- The example sets no CPU limit: it would throttle the cache even on an idle node.
- Monitoring
- Metrics and logs in the console, and hfctl kvcache metrics from a terminal.
See a password rotation.
What you will see in the demo
An application connected through its secret, then a rotation: the cache restarts empty, the application restarts and carries on with the new password.