A managed cache in India: sessions, queues and hot data
Plexivo Cache is a managed in-memory cache in Mumbai, powered by Valkey, from US$6.06 a month, with TLS, persistence and private access.

Almost every product reaches the point where the database is doing too much. Sessions are read on every request. A leaderboard is recalculated a thousand times a minute. Background jobs need a queue that does not lose work. That is the moment for an in-memory cache.
Plexivo Cache is a managed in-memory cache, powered by Valkey®, that runs in Mumbai, next to your apps and databases. The client libraries and frameworks your app already uses connect to it as they are: Laravel, Django, Rails, BullMQ, Sidekiq, Celery and more. This guide covers sizes and prices, how to choose persistence and eviction, how to connect securely, and how to keep it private.
What is an in-memory cache used for?
The common jobs:
- Sessions. Keep signed-in users' sessions out of the database, with an expiry on each.
- Page and query caching. Store the result of a slow query or a rendered fragment for a few seconds or minutes.
- Job queues. BullMQ, Sidekiq and Celery keep their queues in an in-memory store.
- Rate limits and counters. Increment a key per user or IP and let it expire.
- Leaderboards and hot data. Sorted sets and small values your app reads constantly.
- Pub/Sub. Channels for live updates, visible in the console as they happen.
Each of these wants slightly different behaviour when memory fills up, which is why Plexivo asks you to choose.
How much does a managed cache cost in India?
Plexivo Cache starts at US$6.06 a month for 256 MB of memory, persisted on its own disk. Every size, on shared vCPU:
| Memory | vCPU | Client connections | Price a month |
|---|---|---|---|
| 256 MB | 0.125 | 1,000 | US$6.06 |
| 512 MB | 0.125 | 2,000 | US$9.16 |
| 1 GB | 0.25 | 5,000 | US$17.32 |
| 2 GB | 0.25 | 10,000 | US$29.71 |
| 4 GB | 0.5 | 15,000 | US$58.41 |
| 8 GB | 1 | 25,000 | US$115.82 |
| 16 GB | 1 | 40,000 | US$214.94 |
| 32 GB | 2 | 50,000 | US$428.88 |
| 64 GB | 2 | 65,000 | US$825.36 |
Your data can use 90% of the size. The rest is kept for the cache's own work, so your eviction policy acts before memory runs out. The price is charged by the day, from your prepaid wallet, and Indian customers pay in rupees with a GST tax invoice. See every plan on the pricing page.
For a first product, the smallest size, 256 MB with 1,000 client connections, is plenty for sessions and caching. Resize from Settings as you grow.
Should I turn on persistence?
Persistence decides whether data survives a restart. You choose it when you create the cache:
| Persistence | What happens |
|---|---|
| AOF (the default) | Every write is appended to a log on the data volume, so data survives a restart. |
| Snapshot | The whole dataset is saved to the volume: after an hour if anything changed, after 5 minutes if 100 keys changed, and after a minute if 10,000 changed. |
| None | Memory only. A restart starts empty: right for a pure cache. |
Which eviction policy should I choose?
When memory is full decides what happens to new writes once the cache is full:
allkeys-lru(the default) removes the least recently used keys.allkeys-lfuremoves the least frequently used keys.volatile-lruremoves the least recently used keys that have an expiry.noevictionkeeps every key and refuses new writes. Right for queues and data you cannot lose.
A practical guide from the Create a cache docs:
| For | When memory is full | Persistence |
|---|---|---|
| Page and query cache | allkeys-lru | None or Snapshot |
| Sessions | volatile-lru, with an expiry on each session | AOF |
| Job queues | noeviction | AOF |
| Rate limits and counters | allkeys-lfu | AOF |
Persistence and eviction are set at creation. To change them, create a new cache with the settings you want and point your app at it. If you run both a queue and a page cache, two small caches with different policies are often the cleaner choice.
How secure is a managed in-memory cache powered by Valkey?
Every connection uses TLS. Each cache has a generated password and its own certificate authority, so your client can verify that it is talking to your cache before it sends the password. The certificate is renewed before it expires, under the same certificate authority, so the CA file you downloaded keeps working.
Commands that change the server itself are not available, such as CONFIG, REPLICAOF, DEBUG, MODULE, SHUTDOWN, ACL changes, CLIENT KILL, MONITOR, SAVE and MIGRATE. Plexivo sets persistence, memory and eviction from your choices. Managed caches also run in an extra sandbox and cannot open outbound connections.
You decide who connects, on the cache's Network tab:
- Public, with TLS: anyone with the password, over an encrypted connection.
- Trusted networks: only the IP addresses you list, with the password, over TLS.
- Private: no internet address at all. Your apps and Plexivo Containers for Kubernetes workloads in the same project reach it over the private network.
See Network access for the limits on each plan.
Create and connect Plexivo Cache, step by step
- Create it. Choose Create, then Plexivo Cache. Enter the Cache name: lowercase letters, digits and dashes, starting with a letter.
- Choose size and behaviour. Under Size and behaviour, pick the Cache size, When memory is full and Persistence. Check the Estimated monthly cost and create it. It is ready in a few minutes.
- Connect your Plexivo App Runner app. On the app's Environment tab, under Add a database or cache, choose the cache as the Resource and choose Connect. The app receives
REDIS_URLandREDIS_CA_CERT, and the variables follow every password rotation. - Or connect from a server outside Plexivo. On the cache's Connect tab, choose Reveal and Copy for the connection string, under Public · servers outside Plexivo. Download the CA certificate, such as
sessions-ca.pem. SetREDIS_URLto the string andREDIS_CA_FILEto the path of the CA file. - Make it private. On the Network tab, under Access, choose Private and Save network access.
- Test it.
`` redis-cli -u "$REDIS_URL" --tls --cacert sessions-ca.pem ping ``
The connection string looks like rediss://default:<password>@sessions-3f9a1c.db.plexivo.app:<port>. The rediss:// scheme means TLS. Each cache has its own public port, so always use the one shown. Keep the string on your servers, never in a browser or mobile app.
How do I connect from Node.js, Python and my framework?
With ioredis in Node.js, create one shared client per server process:
import Redis from 'ioredis';
import { readFileSync } from 'node:fs';
export const cache = new Redis(process.env.REDIS_URL, {
tls: { ca: readFileSync(process.env.REDIS_CA_FILE), rejectUnauthorized: true },
enableAutoPipelining: true,
connectTimeout: 5000,
commandTimeout: 3000
});BullMQ uses ioredis too, so you can pass the same kind of connection to your queues and workers, on a cache set to noeviction. With redis-py in Python, create the client once per worker:
import os
import redis
cache = redis.Redis.from_url(
os.environ["REDIS_URL"],
ssl_ca_certs=os.environ["REDIS_CA_FILE"],
ssl_cert_reqs="required",
ssl_check_hostname=True,
max_connections=4,
)Django and Celery talk to in-memory servers through Python clients, and Laravel, Rails and Sidekiq have their own cache settings. In each, use the rediss:// connection string and point the client's TLS settings at the cache's CA certificate. Never turn off TLS verification. The Connect page has every example, and our Laravel guide shows a full app with Plexivo Database for MySQL and Plexivo Cache.
For the lowest latency, connect from your Plexivo apps in the same project over the private address, keep one client open for the life of each worker, and batch independent commands.
Can I reach a private cache from my laptop?
Yes. The Plexivo CLI opens an encrypted tunnel to the cache, even a private one:
plexivo auth login
plexivo db connect sessionsIt listens on 127.0.0.1:6380, or a free port if that one is taken, and prints the connection string to use. The cache's own TLS and password still apply inside the tunnel, and every tunnel is recorded in your organisation's audit log. More in the Plexivo CLI guide.
How quickly does Plexivo Cache recover?
Plexivo tests recovery on its own production platform and publishes only passed results. In a drill on 15 Oct 2026, Plexivo Cache was restarted and was answering again after 1.2 s. In another, a cache grew from 512 MB to 1,024 MB and answered over TLS 200 seconds later. Updates arrive in your weekly maintenance window, after an email. See every measured result on the reliability page.
FAQ
Which client libraries connect to Plexivo Cache?
The ones your app already uses connect over TLS. Libraries and frameworks such as ioredis, redis-py, Laravel, Django, Rails, BullMQ, Sidekiq and Celery work unchanged.
Where is my cache hosted?
In Mumbai, India, next to your apps and databases. Read Data residency in India for where each kind of data lives.
Will I lose data if the cache restarts?
Not with AOF, the default: every write is appended to a log on the data volume and survives a restart. Snapshot saves the dataset on a schedule. None is memory only, which suits a pure cache.
How many connections can my cache take?
It depends on the size, from 1,000 client connections at 256 MB to 65,000 at 64 GB. Every size shows its limit before you create it and keeps it.
Can I resize a cache later?
Yes. Resize it from Settings. It restarts on its new size, and with persistence on, its data is kept.
Add a cache to your app
Sessions, queues and hot data, in Mumbai, over TLS, from US$6.06 a month. Start your free trial on the Developer plan, with no credit card required, and read more on the Plexivo Cache page. The smallest sizes and their prices are on one page: a managed Valkey cache in India.
Valkey® is a registered trademark of LF Projects, LLC. Valkey includes code based on a fork of Redis® Open Source 7.2. Redis is a registered trademark of Redis Ltd. Any rights therein are reserved to Redis Ltd. Any use by Plexivo is for referential purposes only and does not indicate any sponsorship, endorsement or affiliation between Redis and Plexivo.