codedamn logocodedamn
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
4 ratings
63 students enrolled
Course Creator: Mehul Mohan

Hang on...

Heads up!

This is an official course from Full Stack Web Developer Learning Path learning path.

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 (Watch video)
01:26
  What is Redis exactly? (Watch video)
03:39
  Why choose Redis? (Watch video)
06:52
  Redis Hello World (Watch video)
03:22
  Redis Ping 
05:00
  Common operations with Redis 
10:05
  Setting values inside redis 
05:00
  INCR DECR 
05:00
  FLUSHALL 
05:00
  Delete keys 
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
  Connecting Node with Redis 
05:00
  Introduction to project 
10:00
  Invalidating Cache 
06:00
  Refreshing data in background 
03:57
  Building a cached API with Redis 
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
  Building a rate limiter with Redis 
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

Student feedback

5.0
Course Rating

100%

0%

0%

0%

0%

Reviews

Nov 25, 2021
It was an awesome experience while learning Redis and also connecting Redis with NodeJS. for what I have enrolled the course and I have learned a lot from this course.
Nov 23, 2021
Great resource to level up your back-end knowledge.
Oct 21, 2021
Some errors in some lab tests. Please look into it. Product is great though.
Apr 10, 2021
A Nice and well structured course to grasp the concept of how redis is used in real world.

Your Course Instructor

Course Instructor Image

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 :)

Upgrade to codedamn Pro Plan and unlock more courses for accelerated learning. Unlimited courses, interactive learning and more.

Free

  • HD video content
  • Certificate of completion
  • Mentorship from codedamn staff
  • Support over WhatsApp
  • Full learning path unlocked
  • Unlimited hands-on practice

Pro

  • HD video content
  • Certificate of completion
  • Mentorship from codedamn staff
  • All exclusive courses unlocked
  • Unlimited hands-on practice
Try codedamn Pro (14-day free refund)