Data written to disk every second
Every write goes to the on-disk log (AOF) every second, with RDB snapshots: a restart doesn't empty your queues or your sessions.
Redis on a machine of its own, with Valkey 9 — maintained by the Linux Foundation and compatible with Redis clients — TLS and a password required, data written to disk every second and metrics in the console. Connect it to your app and pay in reais.
No lock-in: prepaid credit via Pix, boleto or card, billed by the second.
Setup, certificates, persistence and metrics are handled by the platform. You connect and use it.
Every write goes to the on-disk log (AOF) every second, with RDB snapshots: a restart doesn't empty your queues or your sessions.
noeviction for queues and sessions, which can't lose keys; allkeys-lru or allkeys-lfu for caching, which drops what's least used when memory fills up.
Only rediss:// connections, with a username and password. There is no passwordless default user, and each connected service gets its own login.
Memory, keys, commands per second, hit rate and evicted or expired keys minute by minute for 30 days, and the slowlog in the console.
Your connected services, up to 50 VPS instances picked by name, up to 50 addresses or networks, or mw redis connect.
Move to a size with more memory and more clients with a restart; what was written to disk comes back with the database.
The memory policy and the parameters that matter, in the console and without a restart.
With noeviction, when memory is full, writes are refused instead of jobs being deleted, and the AOF every second brings the queue back after a restart — in a crash, at most the last second of writes is at risk.
.env
# the connected Redis's variables, in Laravel formatREDIS_HOST=<id>.db.meu-app.netREDIS_PORT=6379REDIS_USERNAME=loja_webREDIS_PASSWORD=generated-for-the-serviceREDIS_SCHEME=tls # and the app uses Redis for the queue and the cacheQUEUE_CONNECTION=redisCACHE_STORE=redisnoevictionallkeys-lruallkeys-lfuvolatile-lru · volatile-lfuvolatile-ttlnotify-keyspace-eventsslowlog-log-slower-thanslowlog-max-lentimeoutmaxmemory-samplesRedis has no backups to restore: it writes to disk every second, but it doesn't go back in time. For data you can't afford to lose, use PostgreSQL, MySQL or MariaDB.
The Redis clients you already use work with Valkey. On a connected service, REDIS_URL arrives ready, with TLS.
Connect the database to a service and the variables arrive on their own, with a login just for that service, rotated every 90 days.
Pick the instance in the list of allowed addresses: Redis keeps up when the instance's IP changes.
mw db connect opens the client; mw db tunnel, a local port for DBeaver or your ORM, without exposing the database.
import Redis from "ioredis" // REDIS_URL arrives on its own: rediss://, with TLSconst redis = new Redis(process.env.REDIS_URL) await redis.set("visitas", 1)import osimport redis r = redis.from_url(os.environ["REDIS_URL"])r.incr("visitas")# the connected Redis's variables, in Laravel formatREDIS_HOST=<id>.db.meu-app.netREDIS_PORT=6379REDIS_USERNAME=loja_webREDIS_PASSWORD=generated-for-the-serviceREDIS_SCHEME=tlsopt, err := redis.ParseURL(os.Getenv("REDIS_URL"))if err != nil { log.Fatal(err)}rdb := redis.NewClient(opt)// ConnectionStrings__Redis arrives in StackExchange.Redis's formatvar redis = ConnectionMultiplexer.Connect( builder.Configuration.GetConnectionString("Redis"));# redis-cli, through the platform$ mw redis connect loja-cache # a single command$ mw redis connect loja-cache -- INFO keyspaceRedis lives in memory; Valkey writes to disk every second so a restart doesn't empty anything.
Every write goes to the on-disk log; on a restart, the database comes back with everything written up to the last second.
A compact copy of the data on the database's own disk, in addition to the log.
Redis has no backups or point-in-time restore. Keep in it what can be rebuilt.
On by default: a Redis is only deleted after you turn it off and confirm the name.
Microsecond responses for what your app looks up all the time.
Take load off your main database and respond in microseconds.
Laravel Horizon, BullMQ, Sidekiq and Celery, with noeviction so no work is lost.
Sessions shared across your app's instances, which scale without dropping anyone's session.
Counters with an expiry to protect APIs from abuse.
Sorted sets for rankings, counters and feeds.
Messages between services and keyspace notifications.
Cache and sessions rebuild on their own; a queue just needs to be drained before the switch.
Choose the size by the memory your data takes up today.
Connect it to the service, and REDIS_URL arrives on the next deployment, or change the URL on your server.
Let the workers finish the old Redis's jobs, then turn it off.
Terminal
$ mw redis create loja-cache --size kv-1-1 # connects it to the service: REDIS_URL arrives on the next deployment$ mw redis bind loja-cache --service webBring it from wherever it runs today
A fixed monthly price, in reais, billed by the second. Choose the size by the memory your data takes up.
Choose the size and see the monthly price. You can change it later.
Estimated total
R$154.80/month
≈ R$0.2121 an hour
Billed by the second, from when the database is ready. No lock-in.
All three work. The difference is what's left to you and how much it costs, in reais.
| Master da Web | Installed on your VPS | International clouds | |
|---|---|---|---|
| Setup and tuning | Ready in a few minutes | Up to you | Ready |
| TLS and password | Required | You configure them | Not always |
| Disk persistence | Every second | You configure it | Depends on the plan |
| Billing currency | Reais, no IOF tax | Reais | US dollars, plus IOF tax |
| Where the data lives | Belo Horizonte | Wherever the VPS is | Usually outside Brazil |
| Support | In Portuguese | In Portuguese | Usually in English |
What everyone asks before moving their database to the cloud.
Choose the size, create your Redis and connect in a few minutes.