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
Node.js

An example of microservice to interact with Redis using Node.js and Docker

In this really basic example I show how is simple to write a microservice in Node.js to get and set key value pairs on Redis and to deploy them using Docker containers.