Redis Introduction

Let’s learn what Redis is, when it was released, and why it is used.

What is Redis?

Redis stands for REmote DIctionary Server. It was written in C by Salvatore Sanfilippo in 2006. It is a NoSQL advanced key-value data store. The read and write operations are very fast in Redis because it stores all data in memory. The data can also be stored on the disk and can be written back to the memory.

It is often referred to as a data structure server because keys can contain strings, hashes, lists, sets, sorted sets, bitmaps, and hyperloglogs.

NoSQL means Not only SQL. The NoSQL databases don’t define database structures like tables, nor do they support queries, such as SQL SELECT. The data is mostly stored as JSON objects or key-value pairs.

Since Redis stores its data in memory, it is most commonly used as a cache. Some of the organizations that are using Redis are Twitter, GitHub, Instagram, Pinterest, and Snapchat.

widget

Prerequisites for this course

Although no prior knowledge of databases is required, it would be a plus if you have ever worked with any database (e.g., relational or NoSQL). You will fully understand the power of Redis and the numerous problems it solves.

Who should take this course

This course is ideal for programmers or DBAs who want to learn a new and efficient method of storing data in a non-relational way. This is an easy-to-understand course and can be taken by any programmer.

What you will learn from this course

In this course, you will learn about the concepts below:

  • Persisting and retrieving data from Redis in various formats, like Strings, Lists, Sets, Maps, etc
  • Redis transactions and pipelines
  • Security features in Redis
  • How to scale Redis using partitioning
  • How to make Redis fault-tolerant through persistence
  • Replication strategies in Redis
  • Redis memory management
  • Redis clusters and sentinels