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.
- Instant deployment setup
- Data and streaming
- BSD-3-Clause
- Replaces Redis application cache
- Runs on
- Your own hardware or a Pilae Cloud region you choose
- Replaces
- Redis application cache
- Licence
- BSD-3-Clause
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.
All 4 requirements, and why each is there
- 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.
- 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.
- Origin databaseCold-start capacityRecord how many uncached requests the authoritative store can serve during restart or traffic transfer.
- 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
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.
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.
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 field | Operational question |
|---|---|
| maxmemory | How much memory is available to the dataset before enforcement begins? |
| maxmemory-policy | Which keys may be removed when the limit is reached? |
| evicted_keys | How many keys were removed under memory pressure during the interval? |
| keyspace_misses | Did unsuccessful key lookups rise at the same time as database reads? |
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.
- CompareSelf-hosting vs managed open source: doing it yourself, or PilaeSelf-hosting gives you the apps and the whole job of running them. Pilae gives you the same open-source apps, operated under a contract, on your premises or in Pilae Cloud.
Moving from Redis application cache to Valkey, step by step
- 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.
- 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.
- 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.
- 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
Engineers who answer for it
On Business and Enterprise, our engineers respond to incidents and take over when the agent needs a hand.
Your data stays where the contract says
On your own servers or in Pilae Cloud, in the region you choose, and your contract names each location.
Who handles your data, in writing
Your data processing agreement names every company that handles your data, and none is added without notice and a right to object.
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 plansValkey: common questions
What happens to a cached price after finance corrects it?
Can we load our existing Redis backup?
Should we use the same cache for login sessions?
What should we bring to a deployment review?
Talk to an engineer about your Valkey
Tell us about the deployment you already have, or the one you are about to start.
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.
