Skip to main content
CourseFlix

Redis Caching Concepts with Node.js

1h 52m 26s
English
Paid

Redis is an in-memory data store. You can use it as a database, a cache, or a message broker. It keeps data in RAM, so it responds fast. In this course, you learn how Redis works and how you can use it with Node.js.

What You Use in This Course

You work with popular npm tools like redis-cli and ioredis. These tools help you connect to Redis and run commands from your Node.js apps.

What You Learn

  • How Redis stores data
  • How strings, numbers, and key-value pairs work
  • How to use sets and lists
  • Common Redis commands
  • How key expiration works
  • Why Redis runs on a single thread
  • How to build small projects with Redis and Node.js

Why This Matters

You learn how Redis can help you store data fast and cut load on your app. You also see how to use it in real Node.js code.

About the Author: Codedamn

Codedamn thumbnail

Our mission is to become the main platform for programming education for the next billion beginner developers. We are creating a foundation of interactive learning technologies worldwide, combining technology and community with maximum efficiency.

We are a technology company striving to improve programming education tenfold through technology. This includes:

  • Lowering the cost of education worldwide
  • Rewarding instructors for their efforts
  • Saving students' time through maximum efficiency

We are creating a platform that helps instructors create highly engaging interactive courses, and helps beginner developers improve through hands-on learning.

Watch Online 22 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 22 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: Course Introduction
All Course Lessons (22)
#Lesson TitleDurationAccess
1
Course Introduction Demo
01:27
2
What is Redis exactly
03:40
3
Why choose Redis
06:53
4
Redis Hello World
03:23
5
Common operations with Redis
10:06
6
Redis key name convention
02:39
7
Expiring keys in Redis
04:39
8
How expiring keys work in Redis
03:50
9
Connecting Redis with Node.js
06:42
10
Introduction to project
10:01
11
Invalidating Cache
06:01
12
Refreshing data in background
03:58
13
Introduction to project 2
02:03
14
Rate limiting by IP Address
05:02
15
Setting TTL on rate limit
04:03
16
Creating Express.js middleware for rate limiting
07:35
17
Atomicity and Single Threaded
07:16
18
Key patterns
03:27
19
Lists
02:09
20
More on lists
06:52
21
Sets
04:13
22
Transactions
06:27
Unlock unlimited learning

Get instant access to all 21 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription