Rate limiting APIs with Redis + Express.js
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 KZread channel (it is in Hindi/English mix) where I share coding tips, tricks, and hacks: / @mehulmpt
Пікірлер: 29
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
@devitaliya2264
4 ай бұрын
ya i guess it would be better man
Nice. it's assuring to know that people do share such knowledge to the world. rather than keep it to themselves .
I never comment on KZread but I just have 1 word : "Awesome!"
How will it work when we add clustering in our server? When the last count, all concurrent requests will be accepted right?
So, in a interview they ask me what if user IP is changing on every request then how will you rate limit this?
@exitium3572
Жыл бұрын
rate limit the API key itself
@muhamedsufail8089
Жыл бұрын
Rate limit with user id or api keys.
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
This video was very useful! Thanks you!
where i can check this source Code?
nice, now make concurrent requests using some pentest tool.
That's good! Maybe I can apply it to Supabase?!
Front end or back end ? Accelator program?
@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
3 жыл бұрын
@Kristopher Andres Definitely, have been using FlixZone for since march myself :)
@allanjeremias6060
3 жыл бұрын
@Kristopher Andres Thanks, signed up and it seems like a nice service :D Appreciate it!!
@kristopherandres4454
3 жыл бұрын
@Allan Jeremias you are welcome xD
How can i download your code?
Thank you !
@codedamn
3 жыл бұрын
You're welcome!
compiler has no chill 😂
Thanks 😘
@codedamn
3 жыл бұрын
No problem!
No work to me, I use TypeScript
Is JSX used in node.js?
@niamreg_dev
3 жыл бұрын
There is no JSX in this video. And you can't or maybe with this package: jsx-node
@codedamn
3 жыл бұрын
I've personally not seen any backend codebase using JSX.
@CodingUnited
3 жыл бұрын
@@codedamn _Server Side Components have left the chat_