Skip to main content
CF

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

codedamn is a developer-education platform that combines on-demand video courses with browser-based coding playgrounds — students write and run code directly in the platform without needing a local development environment. The platform's catalog covers the modern web-development stack with a focus on practical project-based learning.

The CourseFlix listing carries Redis Caching Concepts with Node.js — covering the patterns for using Redis as a caching layer in front of a Node.js application, including cache-aside, write-through, and the cache-invalidation patterns that show up in production caching.

Material is paid and aimed at Node.js developers picking up Redis caching as a production skill. For broader content, see CourseFlix's Node.js and Redis category pages.

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

Related courses

Frequently asked questions

What prerequisites should I have before taking this course?
Before enrolling, it's beneficial to have a basic understanding of Node.js and JavaScript. Familiarity with npm tools and command-line interfaces will also help, as the course involves using tools like redis-cli and ioredis for connecting to Redis from Node.js applications.
What projects will I build during the course?
The course includes building small projects to apply Redis caching with Node.js. One project involves invalidating cache and refreshing data in the background, while another focuses on implementing rate limiting by IP address using Express.js middleware.
Who is the target audience for this course?
This course is designed for developers who want to integrate Redis caching into their Node.js applications to enhance data retrieval speed and reduce server load. It's ideal for those looking to optimize their backend infrastructure by leveraging Redis as a fast data store.
How does this course compare in depth and scope to other caching courses?
The course provides a focused exploration of Redis caching specifically in the context of Node.js. It covers foundational topics like data storage, key-value pairs, and key expiration, and progresses to advanced concepts like atomicity, single-threaded operations, and implementing middleware for rate limiting. This makes it suitable for those seeking both foundational knowledge and practical application.
What specific tools and platforms are covered in the course?
The course utilizes npm tools such as redis-cli and ioredis to facilitate the connection and command execution with Redis from Node.js applications. These tools are essential for performing common operations and handling data with Redis efficiently.
What topics are not covered in this course?
The course does not cover advanced Redis configurations or deployment strategies in production environments. It focuses primarily on the integration and usage of Redis as a caching mechanism within Node.js applications rather than broader database management or architecture.
What is the expected time commitment for completing this course?
The course comprises 22 lessons, but the total runtime is not specified in the metadata. Students should allocate time for both video lessons and hands-on practice with the projects to fully grasp the concepts and tools involved.