MAD-Blog · 6 November 2026

Valkey: one cache for every MAD app

Why we added one open-source cache to the whole estate, and why every app keeps working without it.

Zuko Leonard RabotapiZuko Leonard RabotapiFounder, My African Dream (Pty) Ltd

As the estate grew, the same questions hit the database again and again: the price list, the menus, the latest versions. We added Valkey, the open-source fork of Redis, as one cache for every app.

How we set it up

  • One cache for the whole estate, not one per app: the singularity rule.
  • Memory only, a fixed size, the oldest answers dropped first when it is full.
  • No door to the outside: only our own apps on the same server can reach it, with a password.
  • If it stops, every app carries on without it, straight from the database. A cache must never be a single point of failure.

Why open source

Valkey is community-run and free of licence surprises. Choosing it keeps our infrastructure ours, and the skills our team builds on it are skills that travel.

A cache should make things faster and never make anything break.

Watched from Central Command

Central Command shows whether Valkey is up, how full it is and how often it answers instead of the database, so we can see what it is worth, not just assume it.

Share this article
Zuko Leonard Rabotapi
Zuko Leonard Rabotapi
Founder, My African Dream (Pty) Ltd

Zuko Leonard Rabotapi introduced Valkey across the My African Dream estate.

Valkeyperformanceengineering

Build with My African Dream

One MAD-ID for every product: family, health, savings, books and more.

Visit myafricandream.net

v1.59.4