Redis is an open-source in-memory data structure server that stores data in random access memory (RAM) rather than on a hard drive. This enables Redis to retrieve and store data in microseconds rather than milliseconds. Redis is primarily used as a caching layer between your application and your database, for session data, real-time analytics or temporary data that needs to be available at lightning speed. For small and medium-sized companies with an online shop or web application, this means faster loading times and a better user experience.
How Redis stores and retrieves data
Redis works with key-value pairs: you store data under a unique key and retrieve it later using that same key. Think of a product catalogue that you place in Redis. Instead of querying the database with every visit, your website retrieves the product list from cache. Redis supports various data structures such as strings, lists, sets and hashes. This makes it suitable for a variety of applications, from simple caching to complex real-time counters. Because everything is in RAM, read and write operations are extremely fast. The downside is that your working memory is limited and more expensive than disk space.
Why Redis came into being and why it is relevant today
Redis was developed in 2009 by Salvatore Sanfilippo to improve the performance of web applications without complex database architecture. The problem it solved: traditional databases are optimised for reliability and consistency, not for speed. For many applications, a temporary, lightning-fast cache is far more practical than querying the entire database every time. Redis has now become a standard in modern web development, particularly for applications with many concurrent users or real-time functions. In the Dutch SME sector, Redis is mainly used in online shops with dynamic stock levels, SaaS platforms and websites with personalised content.
What Redis delivers for SME companies
For an SME company with an online shop or web application, Redis delivers measurably faster load times. A product page that normally loads in 800 milliseconds can be reduced to 150 milliseconds with Redis caching. This increases conversion and lowers bounce rate. You can also store session data of logged-in users in Redis, so customers don't have to log in every time a server reboots. In web development, we recommend Redis especially for online shops with more than 500 products or platforms with real-time functions such as live stock or notifications. The investment in extra working memory pays off in speed, but only if your application actually bottlenecks database queries. For a simple website with little traffic, Redis is unnecessary.