Loading video player...
ā¶ Django & HTMX FULL COURSE: https://www.udemy.com/course/django-htmx-hypermedia-web-apps/?couponCode=BUGBYTES-FEB š Join our channel to get access to perks: https://www.youtube.com/channel/UCTwxaBjziKfy6y_uWu30orA/join āļø ššš šŗš² š® š°š¼š³š³š²š²: To support the channel and encourage new videos, please consider buying a coffee here: https://ko-fi.com/bugbytes In this video, we'll look at rate-limiting for FastAPI apps, using SlowAPI. We'll see how to do application-layer rate-limiting with its Limiter object, and how to disable rate-limiting during testing. We'll also explore Redis integration and different rate-limiting strategies, for example at the network level with Cloudflare, Azure WAF and AWS WAF, and at the reverse-proxy level with Nginx. š ššµš®š½šš²šæš: 00:00 Intro to rate-limiting 03:27 Installing slowapi 04:45 Limiter object 09:46 Pytest - turning off rate-limiting during tests 13:35 Redis integration 17:32 Network & Server-layer rate-limiting š¦š¼š°š¶š®š¹ š š²š±š¶š®: ā¶ Udemy: https://www.udemy.com/user/bugbytes/ š Blog: https://bugbytes.io/posts/ š¾ Github: https://github.com/bugbytes-io/ š šššæššµš²šæ šæš²š®š±š¶š»š“ š®š»š± š¶š»š³š¼šæšŗš®šš¶š¼š»: slowapi: https://github.com/laurentS/slowapi Redis Docker Image: https://hub.docker.com/_/redis #fastapi #redis #ratelimiting