Skip to content

Introduction to Redis

Redis is one amazing Open Source software that can serve various needs in a Web Application.

What is Redis?

It is a NoSQL database, and in particular a key/value store. It can be used with any programming language, because it’s not a JavaScript-specific technology - it’s written in C.

We can store values and associate them to a key, and later retrieve them.

One of its special features is high performance. High performance is provided by one of its main characteristics: it’s an in-memory database. Data is kept, stored and accessed in memory instead of being written to a database.

Most databases keep data stored on disk and they optimize by keeping a cached set in memory.

Redis does the opposite: it keeps the data in memory.

By default Redis saves snapshots of the stored data set to disk, and you can configure the details of how this happens and where the data is stored.

Redis is one of my favorite tools because of its flexibility. You have lots of freedom in how you store and manage data storage, and it can be used in many different ways depending on your needs.

This is also because it’s a NoSQL database, meaning it’s very flexible compared to PostgreSQL or other SQL and schema-based databases.

It’s often used as a cache storage mechanism, but also as a message broker, a way to communicate between different processes and applications.

Continue here:



You might be interested in those things I do:

  • Learn to code in THE VALLEY OF CODE, your your web development manual
  • Find a ton of Web Development projects to learn modern tech stacks in practice in THE VALLEY OF CODE PRO
  • I wrote 16 books for beginner software developers, DOWNLOAD THEM NOW
  • Every year I organize a hands-on cohort course coding BOOTCAMP to teach you how to build a complex, modern Web Application in practice (next edition February-March-April-May 2024)
  • Learn how to start a solopreneur business on the Internet with SOLO LAB (next edition in 2024)
  • Find me on X

Related posts that talk about redis: