REST API Rate Limiter in NodeJS using Redis and ExpressJs | REST API Rate Limiter | Redis
In this video we will learn to create fixed window rate limiting feature in ExpressJs and Redis. we will rate limit the GET API on REST server such that in 1 minute user can only hit 5 request.
## References
- Install Redis using docker and docker compose | Redis Insight docker installation
https://www.youtube.com/watch?v=qucL1F2YEKE
- Install Redis using docker compose
http://selftuts.in/install-redis-using-docker-compose/
-Code Base
https://github.com/self-tuts/ratelimiter-in-nodejs-using-redis
0:00 - Intro
0:20 - What we are going to build
0:57 - Why rate limiter is needed in REST API
2:00 - What we are going to develop
2:18 - Fixed Window algorithm for rate limiter
3:00 - Prerequisite for building the application
3:14 - Environment Setup
4:11 - Setup Express Server
5:15 - Create ping GET API
7:58 - Understand the Request, Response and Middleware in expressjs
8:50 - Rate limiter logic
11:58 - Connection with Redis server
12:15 - Implement Rate limiter code
17:18 - Add rate limiter middleware to express server
19:34 - Support me
Видео REST API Rate Limiter in NodeJS using Redis and ExpressJs | REST API Rate Limiter | Redis канала CodeWithRajRanjan
## References
- Install Redis using docker and docker compose | Redis Insight docker installation
https://www.youtube.com/watch?v=qucL1F2YEKE
- Install Redis using docker compose
http://selftuts.in/install-redis-using-docker-compose/
-Code Base
https://github.com/self-tuts/ratelimiter-in-nodejs-using-redis
0:00 - Intro
0:20 - What we are going to build
0:57 - Why rate limiter is needed in REST API
2:00 - What we are going to develop
2:18 - Fixed Window algorithm for rate limiter
3:00 - Prerequisite for building the application
3:14 - Environment Setup
4:11 - Setup Express Server
5:15 - Create ping GET API
7:58 - Understand the Request, Response and Middleware in expressjs
8:50 - Rate limiter logic
11:58 - Connection with Redis server
12:15 - Implement Rate limiter code
17:18 - Add rate limiter middleware to express server
19:34 - Support me
Видео REST API Rate Limiter in NodeJS using Redis and ExpressJs | REST API Rate Limiter | Redis канала CodeWithRajRanjan
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![I want to clone a remote repository | Git Questions](https://i.ytimg.com/vi/yL9FTg8NGc8/default.jpg)
![Find the last non repeating character in a given string | String Algorithm | HashMap](https://i.ytimg.com/vi/zJq4bFfbZGA/default.jpg)
![Print first n numbers of Fibonacci series | Basic Math algorithm in Java](https://i.ytimg.com/vi/KWyZs36KBx0/default.jpg)
![Part 10 - *args Argument in Python | Python for Beginners](https://i.ytimg.com/vi/Q5-UIqlvNhM/default.jpg)
![Part 10 - What is Kafka consumer | Kafka for beginners](https://i.ytimg.com/vi/7n1zlkPwUSQ/default.jpg)
![Part 4 : Docker architecture | Docker for Beginners #docker #dockercontainer](https://i.ytimg.com/vi/Vr0NP86KE3E/default.jpg)
![Part 5 - Paragraph in markdown](https://i.ytimg.com/vi/WX2AjAghw_E/default.jpg)
![Part 4 - How exception handling is done in Python](https://i.ytimg.com/vi/uDpNoAEL-sg/default.jpg)
![I want to start a local repository | GIT Questions](https://i.ytimg.com/vi/f3rUvKNA5fI/default.jpg)
![Redis Master Slave Replication using Docker Compose | Redis](https://i.ytimg.com/vi/4MMtuDzxmuE/default.jpg)
![Part 8 - Function in Python | Python for Beginners](https://i.ytimg.com/vi/c3mGhg1Z9YY/default.jpg)
![Prometheus and Grafana installation using Docker Compose](https://i.ytimg.com/vi/-Ec5wzzV9lM/default.jpg)
![Rotate a given Array by one | Basic Array algorithms](https://i.ytimg.com/vi/bmq7C8kwfj0/default.jpg)
![Part 10 : Create Your first Docker Container | Docker for Beginners](https://i.ytimg.com/vi/PwwhFXDD5q4/default.jpg)
![Part 9 - Delete documents in MongoDB using PyMongo | Python and MongoDB](https://i.ytimg.com/vi/GZj6gvEPtbM/default.jpg)
![Part 7 - Ordered list in markdown](https://i.ytimg.com/vi/hOc1m10HHVM/default.jpg)
![Part 3 - Variable in Python | Python for Beginners](https://i.ytimg.com/vi/_mOUVP3mXw8/default.jpg)
![Part 5 - Routes in express](https://i.ytimg.com/vi/g5KNlsB3ND0/default.jpg)
![Part 1- What we are going to build | Todo REST App in Express and MySQL](https://i.ytimg.com/vi/2_WhYFSVHnY/default.jpg)
![Part 6 - Get Task by id REST endpoint | TODO App in express and MySQL](https://i.ytimg.com/vi/tKd9EPe9x8Q/default.jpg)
![Part 1 : Why do we need docker | Docker for Beginners | Docker Course](https://i.ytimg.com/vi/cQxWgECrg1w/default.jpg)