Managed databases

Managed Redis 7 in France

In-memory key-value storage, for whatever has to answer right away: cache, sessions, queues. Password protected, written to disk, reachable by your project’s applications.

Running
from €1.56/month
Stopped
€0.06/month
Port
6379
> SET session:4f2a "{\"user\":42}" EX 3600OK> ZINCRBY classement 120 "NoxRunner""1840"> ZREVRANGE classement 0 2 WITHSCORES1) "Kaelis"2) "2210"3) "NoxRunner"4) "1840"5) "gr1ffon"6) "1325"> TTL session:4f2a(integer) 3597

Exactly what you get.

A Redis instance of your own, with its memory and its disk. Nothing is shared with another customer.

Technical sheet of Redis 7.2–7.4 at Arkya
VersionRedis, major version of your choice, official redis image
Port6379, on the project’s private network
AuthenticationA generated password (requirepass), with no username
PersistenceAOF log (appendonly yes) on a persistent disk: your keys survive a restart
MemoryAll your data fits in the memory you give it: size it accordingly
BackupRDB snapshot, scheduled or on demand; no restore from the client area
DiskFrom 1 to 100 GB. It grows whenever you want, and never shrinks.

What people put in it.

Anything that has to answer within a millisecond, and that can be rebuilt if needed.

  • Cache

    Keep the result of a slow query with a time to live (EX), and take load off your PostgreSQL or MariaDB database.

  • Sessions

    Your website’s sessions live outside the container: they survive a deploy of the application.

  • Queues

    BullMQ, Celery, Sidekiq or RQ rely on Redis to dispatch their background jobs.

  • Rate limits

    A counter per address and per minute, with INCR and EXPIRE, protects your API from abuse.

  • Leaderboards

    Sorted sets (ZADD, ZREVRANGE) give a player leaderboard that’s up to date with every point scored.

  • Discord bots

    Cooldowns between commands, profile cache, state shared between several bot processes.

Your application connects to it through references.

In the application’s variables, write the URL with the database’s references: they’re resolved when the container starts.

  • A password, no user. So the URL starts with redis://:; the password is regenerated in the Connection tab, and Redis restarts to pick it up.
  • Your keys, from the browser. The client area’s editor lists keys, shows their type and time to live, and edits values.
  • Nothing is open to the Internet. Only the project’s applications can reach your Redis.
REDIS_URL=redis://:PASSWORD@${guilde-cache.HOST}:${guilde-cache.PORT}# Node.js, with ioredisconst redis = new Redis(process.env.REDIS_URL);# Python, with redis-pyr = redis.from_url(os.environ["REDIS_URL"])

The price of your Redis database.

The same rates for all three engines: CPU, memory and disk, each by the minute. Once stopped, your database only pays for its disk, and for backups beyond the included volume.

Prices include VAT, for a 30-day month, taken from your prepaid balance.

Running all month
€1.56or 0.22 ct/h
Stopped all month
€0.06the disk only
Create a Redis database

Backups and recovery: what you need to know.

Redis is built for speed, not to be the only copy of a piece of data. Here’s how to treat it.

  1. A cache rebuilds itself

    For a cache or sessions, the simplest is to start empty: your application fills it again within minutes.

  2. Backups, without one-click restore

    Turn on backups: an RDB snapshot runs at the time you choose. Restoring them isn’t offered in the client area.

  3. What must last goes elsewhere

    Data you can’t lose (payments, accounts, inventories) lives in PostgreSQL or MariaDB, and Redis only keeps a fast copy of it.

To copy keys over from another Redis, do it from an application in the project (SCAN then DUMP and RESTORE): your database can’t be reached from the Internet.

Questions about Redis.

Does my data survive a restart?

Yes. Redis writes every operation to its AOF log, on a persistent disk, and reads it back at startup. That doesn’t make it a database of record: keep the only copy of your important data in PostgreSQL or MariaDB.

Can I restore a Redis backup?

Not from the client area. Redis backups exist, as RDB snapshots, but one-click restore is reserved for PostgreSQL and MariaDB.

What happens if memory is full?

Redis keeps all its data in memory: plan enough memory for it, and give your cache keys a time to live (EX, EXPIRE). You can grow the memory at any time from the client area.

Can I use several numbered databases?

Yes, SELECT 1, SELECT 2… work as usual. But a single password protects them all: to separate two projects, create two Redis instances.

What does a stopped Redis cost?

Only its disk, €0.06 per month for 10 GB, and its backups beyond the 10 GB included. CPU and memory no longer count.

Your Redis, next to your application.

Create it from the client area, or declare it in arkya.json with "type": "redis" and let ark deploy order it.