You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the most impactful (negative on performance) item was the usage of BaseHTTPMiddleware the parent of your SlowAPIMiddleware. Therefore the global rate limiter impacts the app performance negatively.
Describe the bug
Thanks for your package, really useful. I made a collection of performance optimisations based on my real word examples. You can see them here: https://kisspeter.github.io/fastapi-performance-optimization/
One of the most impactful (negative on performance) item was the usage of BaseHTTPMiddleware the parent of your SlowAPIMiddleware. Therefore the global rate limiter impacts the app performance negatively.
To Reproduce
https://kisspeter.github.io/fastapi-performance-optimization/middleware
Expected behavior
SlowAPIMiddleware with minimal or no overall performance impact
Screenshots
If applicable, add screenshots to help explain your problem.
Your app (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: