Deploy Valkey

Share frequently read application data across servers and control how quickly it expires after the underlying record changes.

USD 299 a month on Team for one server, with unlimited apps and deployment automation through the Pilae Agent. Pilae Cloud machines are rented separately.

Start deploymentInfrastructure

Runs on
Your own hardware or a Pilae Cloud region you choose
Replaces
Redis application cache
Licence
BSD-3-Clause
Event streamp0p1p2Your systemsJobsJobsStorageDashboard

Valkey among the data and streaming apps

The event streams, pipelines and stores a data team runs, placed next to the systems that produce the data rather than in a vendor region.

Valkey system requirements

Before anything is deployed, this is what has to exist. We size it with you in the first session, and we say so when your own hardware is already enough.

Where it runs
Your hardwarebare metal, VMware, Proxmox, Hyper-V or Kubernetes, in your datacentrePilae Cloud regionzur1 fra1 fal1 gra1 ams1 hel1 …machines dedicated to you, in the region your contract namesprivate meshaccess by identityencrypted tunnelencrypted, offsiteValkeypinned, patched, watched02Client accessPrivate network03Origin databaseCold-start capacity04RecoveryRefill or persistentstorageYour teamthe people you allowYour identity providerKeycloak or Entra IDPilae Agentplans, asks, applies, recordsPilae consolechange policy and logYour backup targetstorage you own, at asecond sitea second datacentre,same jurisdictionYour hardwareyour servers, your networkPilae Cloud regionzur1 fra1 fal1 gra1 …private meshby identitytunnelencryptedValkeypinned, patched, watched02Client accessPrivate network03Origin databaseCold-start capacity04RecoveryRefill or persistentstorageYour teamthe people you allowYour sign-inKeycloak, Entra IDPilae Agentplans, asks, applies, recordsPilae consolepolicy and logYour backupsa second sitea second datacentre
On your hardware: the Pilae Agent installs Valkey and what it needs on the machines you choose and runs beside it, and encrypted backups go to storage you own at a second location you pick.In a Pilae Cloud region: the same setup on machines dedicated to you, in the region your contract names, with encrypted backups in a second datacentre inside the same jurisdiction.
All 4 requirements, and why each is there
  1. MemorySized to the working setMeasure the hot keys at peak load. Leave headroom for the process, buffers and any persistence work beyond the dataset limit.
  2. Client accessPrivate networkIdentify the applications allowed to read and write each namespace. Include connection count and the client’s reconnect behaviour in the sizing exercise.
  3. Origin databaseCold-start capacityRecord how many uncached requests the authoritative store can serve during restart or traffic transfer.
  4. RecoveryRefill or persistent storageDecide per workload whether a refill is acceptable. Where the recovery plan uses snapshots or an append-only file, reserve disk and rehearse restoration separately.

Running Valkey in production: what it takes

  1. Review pressure over a trading period

    Compare evictions and misses over the same interval as database query volume. A burst of new products and a memory limit that is too low can both produce slow responses.

  2. Test invalidation across readers

    Publish a corrected product description, then read it through two application instances. Record the longest observed stale interval and compare it with the catalogue owner's requirement.

  3. Rehearse recovery during traffic

    Start with an empty test cache and gradually send reads for the approved dataset. Measure refill time, database load and end-user latency before setting the production restart procedure.

Deployment reference

What to record when the cache reaches its limit

Valkey fieldOperational question
maxmemoryHow much memory is available to the dataset before enforcement begins?
maxmemory-policyWhich keys may be removed when the limit is reached?
evicted_keysHow many keys were removed under memory pressure during the interval?
keyspace_missesDid unsuccessful key lookups rise at the same time as database reads?
The upstream key eviction reference describes these settings and counters. Record counter differences over a common interval when investigating a busy period.

Migrating from Redis application cache to Valkey

Identify which keys the application can recreate from authoritative records. A cold start can work for a product catalogue if the database can absorb the missing reads. Sessions, pending jobs and locks need separate ownership and recovery decisions before switching endpoints.

Moving from Redis application cache to Valkey, step by step

  1. Classify the keys: Record the client version, commands, key prefixes, expiry rules and update paths. Identify every writer that invalidates a cached value when a price or product changes.
  2. Exercise one catalogue partition: Run a representative reader against Valkey with a distinct namespace. Compare the application response with a direct lookup for an active item, a changed price and a withdrawn product.
  3. Rehearse an empty cache: Warm a representative subset, then measure query load and response latency with an empty pilot namespace. Agree how quickly traffic can move while the database serves cache misses.
  4. Change reader ownership: Keep invalidations reaching both caches while readers move. If that cannot be guaranteed, use a fresh namespace when reverting. Confirm the latest catalogue revision is visible before reopening the old path.

What Valkey is, and who runs it

How long can a corrected price stay visible?

Two application servers display the same catalogue. One reads a price from the database and saves it in Valkey. The other can then reuse that result. The difficult moment comes when finance changes the price between those reads. Give the catalogue owner a test item, change its price through the usual publishing workflow and check the result from both application servers. Include a withdrawal in the test so the team can see how a cached item disappears from sale.

Memory pressure poses a different question. When Valkey drops a cached record, the next reader may have to query the source again. If the source is PostgreSQL, pair a chart of cache misses with query latency during a busy period. A useful Grafana dashboard shows whether the database has enough spare capacity to refill the hot items after a restart. Valkey documents the dataset limit and the policies used to select entries for eviction. Key eviction reference

Read the full briefFold the brief

Choose a recovery path for each key family

A catalogue entry can be rebuilt as long as the source remains available. A queued job may be the only record that work is due. Inventory the two separately before choosing persistence. Valkey supports periodic snapshots and an append-only log, and it can run without persistence for a disposable cache. Include the snapshot interval or log sync policy when defining an acceptable recovery point. Persistence options

Bring one real update path and the exact Redis version if the project involves migration. Compare application responses and expiry behaviour before choosing between copying compatible files and warming a new cache. Valkey publishes its server under the three-clause BSD licence. Upstream migration guide · Project licence

What the managed plans cover

Compare the operating responsibilities included in Pilae’s plans. How the platform does it.

Ours

  • A pinned version: A version we have run, not whatever latest resolves to that day.
  • A runbook: What it depends on, how it fails, what to do about it. In your repository.
  • Daily backups: Encrypted and offsite, and on Business and Enterprise restored every month. A backup nobody has restored is a file.
  • A patch window: The agent applies security updates automatically in your window, with a rollback ready.
  • Continuous monitoring: Every endpoint probed on the minute. Alerts reach your team, and on Business and Enterprise a Pilae engineer too.

Yours

  • The credentials: You hold them. Ours are separate, named, logged and revocable with one command.
  • The change policy: The agent applies updates automatically in your window. You can require human approval for selected changes or for every update.
  • The exit: The machines, data, deployment configuration and runbook are already yours. Nothing stops when our access does.

Who runs it

Valkey runs on every plan. Team is USD 299 a month for up to 3 servers (yours, or Pilae Cloud machines at their own price) and unlimited apps, with no charge per server.

Compare the plans

Valkey: common questions

What happens to a cached price after finance corrects it?

The application must invalidate or replace the cached value, or rely on its agreed expiry. Test every path that changes the underlying record and check what a second reader sees.

Can we load our existing Redis backup?

Check the source version and format. Upstream documents compatibility with Redis OSS through 7.2. Redis CE from 7.4 produces incompatible data files. For reproducible cache entries, consider a controlled refill from the source database.

Should we use the same cache for login sessions?

A shared eviction policy can discard a session alongside an ordinary cached result. Inventory which session losses are acceptable and whether the application needs a separate instance and recovery policy.

What should we bring to a deployment review?

Bring the client and server versions, peak memory and traffic, key lifetimes, a description of the source database and the longest acceptable cold start. Identify any modules or commands the application depends on.

Talk to an engineer about your Valkey

Tell us about the deployment you already have, or the one you are about to start.

Start deployment

Compare plans and prices, or write to us with a question this page leaves open.

  • Go deeperManaged open-source hosting and operationsPatching, daily encrypted backups, monitoring and incident response for your open-source apps, under an SLA with an availability commitment of up to 99.9%.
  • CompareData and streaming appsThe event streams, pipelines and stores a data team runs, placed next to the systems that produce the data rather than in a vendor region.
  • CheckBackups and disaster recovery for your self-hosted appsDaily encrypted offsite backups on every plan; 90-day retention, point-in-time recovery for databases and monthly restore tests from Business; recovery objectives on Enterprise.