Categories
Redis

Testing Redis high concurrency with ApacheBench

In the previous example we have seen how to use Kubernetes and Docker to deploy a Node.js microservice to interact with Redis, also showing in a basic way how Redis persistence works and how to scale up application’s microservice.

In this example we will test our application using ApacheBench.
This will show the applications behaviour when we have many requests and what happens in case of high concurrency with Redis.

Categories
Kubernetes Node.js Redis

An example of Redis persistence using Node.js and Kubernetes

In the previous example we have seen how to use Docker Compose to deploy a Node.js microservice to interact with Redis, also showing in a basic way how Redis persistence works.

Now let’s see istead how to use Kubernetes and Docker to do the same, showing also how we can easily scale up our application.

Categories
Redis

An example of Redis persistence using Node.js and Docker Compose

In the previous example we have seen how to manually deploy with Docker a Node.js microservice to interact with Redis.

Now let’s see how to simplify the deploy of this app using Docker Compose.
We will also take the opportunity to see how Redis persistence works.