Accelerating Your Web Application With Redis Cache
In this article, we will demonstrate in a simple example how to accelerate web applications using Redis cache. We will start with a small introduction to Redis. Then, we will build a simple web application backend in Node.js to retrieve the number of Github repositories for a certain Github username. We will measure the API’s request-response time. After that, we will implement a Redis cache middleware to store the retrieved data and serve it to the user, and compare the request-response time to the previous implementation without Redis.