Getting ready…
You need to finish the installation of the Redis Server as we described in the Downloading and installing Redis recipe in Chapter 1, Getting Started with Redis. You need to use the FLUSHALL command to flush all the data in your Redis instance before moving on to the next section.
An IDE is recommended for this recipe. Here we use Intellij IDEA (Community Edition, Intellij for short). You can download Intellij at: https://www.jetbrains.com/idea/download/.
The JDK (8 or above) is also needed for code compilation and running.
Due to space limitations in this book, we won't talk about all the details of this demo project. Only the code and settings associated with Redis will be discussed in the following two sections. For the complete ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access