Python SlowAPI
Postado 2023-04-12 18:06:14
0
10KB
SlowAPI is a ratelimiter library for FastAPI and Starlette adapted from flask-limiter. This package is used in various production setups, handling millions of requests per month, and seems to behave as expected. Here is an example of how it can be used:
@limiter.limit("5/minute")
async def myendpoint(request: Request)
pass
Pesquisar
Categorias
- Arts
- Business
- Computers
- Jogos
- Health
- Início
- Kids and Teens
- Money
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Leia mais
What Product Metrics Do You Actually Keep Track of and How Often Do You Review the Numbers?
Every successful product team knows that data is the compass guiding their decisions. Without...
What are the common challenges in business forecasting?
Business forecasting is an essential practice for organizations that seek to make informed...
Aviation: Soaring Through History
Introduction
Aviation, the art and science of flight, has captivated humanity for centuries....
Best Interview Questions to Ask Candidates [and Great Interview Tips]
Hiring the right person for a role is critical to the success of any organization. While resumes...
Transport logistics
Transport logistics is one of the most important elements in the organization...