Redis is a database that keeps everything in memory, which makes it very fast. Sites and apps use it as a cache, for sessions and for queues of jobs.
In plain words
A regular database such as MySQL stores data on disk and is made never to lose anything. Redis is made for speed: it reads and writes in memory, in a fraction of a millisecond. Valkey is an open variant that works exactly the same.
So Redis mostly holds things you need fast and can rebuild. A web shop keeps its Object cache there, a Laravel app the sessions of signed-in users, and a Magento shop its cache and queue.
Redis has a fixed amount of memory. When it is full, it throws away the oldest or least used data. For a cache that is exactly right.
How it works at Cubli
You add Redis to your project as a database, like MySQL or Postgres. Apps you connect to it get the connection details as variables by themselves.
The Magento and Laravel templates come with Redis, and for WordPress Cubli uses Redis for the object cache.





