Do I just implement a rate limiter using a database?

2 ответов

21 просмотр

Since the rate limits are usually small amounts of time, you can store them in a dictonary (map in other programming languages) - User<->timestamp of the last request

Sean- Автор вопроса
💻Георгий Гришко💻
Since the rate limits are usually small amounts of...

yeah but I don't know how I check if they've finished typing

Похожие вопросы

Карта сайта