Valkey
Valkey is an in-memory data store, drop-in compatible with the Redis protocol. Use it as a cache, a session store, a rate limiter, or a low-latency key/value layer in front of a slower system of record.
When to use it
Section titled “When to use it”- Caching hot reads to take load off Postgres.
- Ephemeral state: sessions, rate-limit counters, short-lived locks.
- Pub/sub and lightweight queues.
Connecting
Section titled “Connecting”When your instance is ready, copy the connection string from its detail page
and point any Redis-protocol client at it. No client changes are needed beyond
the connection URL.
Valkey is memory-bound: size the instance to your working set. It’s the right tool for data you can afford to lose or rebuild — reach for Postgres when you need durability and relational queries.