Rate limiting APIs with Redis + Express.js

  Рет қаралды 20,303

Mehul - Codedamn

Mehul - Codedamn

Күн бұрын

Protect your Node.js APIs written in Express by implementing a custom rate limiter through Redis. In this course, we will learn about Redis and how to use it as a rate limiter for your APIs.
This is a preview of the upcoming Redis + Node.js course on codedamn. Make sure you subscribe and press the bell icon to receive the notification when it is out!
If you found the video valuable, please leave a like and subscribe ❤️ It helps the channel grow and helps me pumping out more such content.
About Me:
I'm a CSE'21 graduate from BITS Pilani, Goa. I started coding early in life, at the age of 13 when I created my first blog on Blogger. I am listed in Google, Microsoft, Sony, eSet, etc. Hall of Fame for reporting vulnerabilities in their systems.
I am Apple's WWDC'19 Scholar - visited San Fransisco and attended WWDC. Currently working on my own startup - codedamn.
I am an author of 2 books, on JavaScript and React - www.amazon.in/...
Connect with me:
📸 Instagram: / mehulmpt
📱 Twitter: / mehulmpt
📝 LinkedIn: / mehulmpt
👻 Snapchat: / mehulmpt
📂 GitHub: github.com/meh...
🌎 Personal website: mehulmohan.com
💻 Learn to code: codedamn.com
🏷 Video Tags:
Check out my other personal KZbin channel (it is in Hindi/English mix) where I share coding tips, tricks, and hacks: / @mehulmpt

Пікірлер: 29
@6365bharath
@6365bharath 3 жыл бұрын
This approach won't work if you want to have a separate rate limiter for all your API's. You are storing the key IP in redis where as it should be req.url + IP
@bytebytego-1
@bytebytego-1 6 ай бұрын
ya i guess it would be better man
@vipsingh8723
@vipsingh8723 2 ай бұрын
nice, now make concurrent requests using some pentest tool.
@vivekchaudhary1768
@vivekchaudhary1768 2 жыл бұрын
So, in a interview they ask me what if user IP is changing on every request then how will you rate limit this?
@exitium3572
@exitium3572 Жыл бұрын
rate limit the API key itself
@muhamedsufail8089
@muhamedsufail8089 Жыл бұрын
Rate limit with user id or api keys.
@criptik5208
@criptik5208 3 жыл бұрын
Whats coming in future in terms of new projects or even new cource like android developement or machine learning anything that will be high im demand in future market
@markbarlescu1853
@markbarlescu1853 2 жыл бұрын
Nice. it's assuring to know that people do share such knowledge to the world. rather than keep it to themselves .
@gaurangambasana4237
@gaurangambasana4237 3 жыл бұрын
I never comment on KZbin but I just have 1 word : "Awesome!"
@ethanz4928
@ethanz4928 Жыл бұрын
where i can check this source Code?
@aravindrooswelt4734
@aravindrooswelt4734 4 ай бұрын
How will it work when we add clustering in our server? When the last count, all concurrent requests will be accepted right?
@samhanna7382
@samhanna7382 3 жыл бұрын
compiler has no chill 😂
@criptik5208
@criptik5208 3 жыл бұрын
Front end or back end ? Accelator program?
@allanjeremias6060
@allanjeremias6060 3 жыл бұрын
i know it's pretty randomly asking but does anyone know of a good site to watch newly released tv shows online?
@crewquinn428
@crewquinn428 3 жыл бұрын
@Kristopher Andres Definitely, have been using FlixZone for since march myself :)
@allanjeremias6060
@allanjeremias6060 3 жыл бұрын
@Kristopher Andres Thanks, signed up and it seems like a nice service :D Appreciate it!!
@kristopherandres4454
@kristopherandres4454 3 жыл бұрын
@Allan Jeremias you are welcome xD
@khwbhawjfamilylivechannel322
@khwbhawjfamilylivechannel322 3 жыл бұрын
How can i download your code?
@greendsnow
@greendsnow Жыл бұрын
That's good! Maybe I can apply it to Supabase?!
@Cospel
@Cospel 2 жыл бұрын
This video was very useful! Thanks you!
@niamreg_dev
@niamreg_dev 3 жыл бұрын
Thank you !
@codedamn
@codedamn 3 жыл бұрын
You're welcome!
@khwbhawjfamilylivechannel322
@khwbhawjfamilylivechannel322 3 жыл бұрын
No work to me, I use TypeScript
@mdjahidulislam9205
@mdjahidulislam9205 3 жыл бұрын
Thanks 😘
@codedamn
@codedamn 3 жыл бұрын
No problem!
@ShubhamYadav-df1kc
@ShubhamYadav-df1kc 3 жыл бұрын
Is JSX used in node.js?
@niamreg_dev
@niamreg_dev 3 жыл бұрын
There is no JSX in this video. And you can't or maybe with this package: jsx-node
@codedamn
@codedamn 3 жыл бұрын
I've personally not seen any backend codebase using JSX.
@CodingUnited
@CodingUnited 3 жыл бұрын
@@codedamn _Server Side Components have left the chat_
Hardest Backend Node.js Concept to Master
11:20
Mehul - Codedamn
Рет қаралды 68 М.
What is Rate Limiting / API Throttling? | System Design Concepts
16:11
Be A Better Dev
Рет қаралды 66 М.
Please Help This Poor Boy 🙏
00:40
Alan Chikin Chow
Рет қаралды 23 МЛН
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 104 МЛН
Rate Limiting with Redis
26:46
Redis
Рет қаралды 31 М.
Node.js Security Best Practices: JWT blacklisting, rate limiting, schema validation
12:02
Cloudflare vs Vercel - We need to talk
27:50
Mehul - Codedamn
Рет қаралды 8 М.
Concurrency vs Parallelism in Node.js
7:47
Mehul - Codedamn
Рет қаралды 42 М.
"Stop Rate Limiting! Capacity Management Done Right" by Jon Moore
42:20
Strange Loop Conference
Рет қаралды 36 М.
Learn how to do caching in NodeJS using Redis
24:34
Mafia Codes
Рет қаралды 34 М.
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 651 М.
Please Help This Poor Boy 🙏
00:40
Alan Chikin Chow
Рет қаралды 23 МЛН