Welcome to a new tutorial where you will learn:
What is Throttling and why would we use it.
How to use throttle to control the rate of request to Django API.
How to control the rate of request for Authenticated and Unauthenticated users.
How to configure throttling for different parts of Django API and control the rate of requests for each application separately.
How to use Cache to persist the throttling data even if the server restarts.
Source Code:
https://github.com/CodeEnvironment/dj...
Django REST Framework Throttling doc:
https://www.django-rest-framework.org...
Django’s cache framework doc:
https://docs.djangoproject.com/en/3.1...