Course image for Redis Caching Concepts with Node.js

Redis Caching Concepts with Node.js

Learn about Redis caching with Node.js and practice it along the way

2 hours+ of total content
5.0
1 rating
87 developers learning
Course Creator: Mehul Mohan

Hang on...

Goals

  • Why is Redis used?
  • Common Redis commands
  • Node.js + Redis Projects
  • Redis workings under the hood

Description

Redis is an open source, in-memory data structure, key-value store, used as a database, cache and message broker. It's super fast and it can be used for a lot of cool things. In this course, we will practically take a look at what Redis is, and how you can use it with Node.js

There are many npm modules that connect Node.js with Redis. We’ll be focusing on redis-cli and ioredis, for interacting with Redis and understanding why we need it.

Some of many concepts discussed in the interactive course:

  1. What is Redis?
  2. Strings and integers in redis
  3. Key-value pairs
  4. Sets and lists
  5. Common operations with redis
  6. Expiring keys
  7. Redis single threaded
  8. Projects built with Redis + Node.js


Are you ready? Let’s go!

Course Structure

30 lectures 02:32:04 total duration

Introduction

(15 lectures • 01 hours and 13 minutes)
  Course Introduction (Preview)
01:26
  What is Redis exactly? (Preview)
03:39
  Why choose Redis? (Preview)
06:52
  Redis Hello World (Preview)
03:22
  Ping Pong (Practice lab)
05:00
  Common operations with Redis 
10:05
  Exercise lab for setting keys (Practice lab)
05:00
  Exercise lab for INCR DECR (Practice lab)
05:00
  Exercise lab for FLUSHALL (Practice lab)
05:00
  Exercise lab for deleting keys (Practice lab)
05:00
  Redis key name convention 
02:38
  Expiring keys in Redis 
04:38
  How expiring keys work in Redis 
03:49
  Connecting Redis with Node.js 
06:41
  Exercise lab for connecting node with redis (Practice lab)
05:00
  Introduction to project 
10:00
  Invalidating Cache 
06:00
  Refreshing data in background 
03:57
  API Caching Lab (Practice lab)
05:00
  Introduction to project 
02:02
  Rate limiting by IP Address 
05:01
  Setting TTL on rate limit 
04:02
  Creating Express.js middleware for rate limiting 
07:34
  Rate limiting API lab (Practice lab)
05:00
  Atomicity and Single Threaded 
07:15
  Key patterns 
03:26
  Lists 
02:08
  More on lists 
06:51
  Sets 
04:12
  Transactions 
06:26

Last 5 Reviews

SA
Sachin Ananthakumar
Apr 10, 2021
A Nice and well structured course to grasp the concept of how redis is used in real world.

Your Instructor

Mehul Mohan

Full-stack developer and security researcher

I'm a full-stack developer working with JavaScript and its associated runtimes for the past 7 years. I love to play with code and make something useful out of it! You can find me on social media, I'm quite active there :)
codedamn logo

We ♥ quality. And we would love to see your growth. Hence, codedamn comes with a pro plan for advanced and accelerated learning!

Free

  • HD video content
  • Certificate of completion
  • Mentorship from codedamn staff
  • Support over WhatsApp
  • Learning Path support
  • Unlimited hands-on practice

Pro

  • HD video content
  • Certificate of completion
  • Mentorship from codedamn staff
  • Support over WhatsApp
  • Learning Path support
  • Unlimited hands-on practice
Become Pro Member