Setup Container Redis, run commands, and publish/subscribe messages

In this story, we will setup a Redis server and we will use a Redis CLI to execute some Redis commands. We will use Docker containers to setup the environment.

In the first part, we will setup the environment. Then we will see how to manipulate Strings, Lists, Hashes, and Sets.

But before that, let’s introduce Redis.

Redis (REmote DIctionary Server) is an Open Source database of type “in-memory data structure store”, i.e. the data are stored in memory. It works on…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store