Forums

Flask is slow to receive many requests

I wrote a webhook for Telegram inside my Flask project.

Now I got an advertising campaign, so there are hundreds of people entering the bot, the amount of messages (requests) that reach the site is very large

What should I do to receive requests faster, the bot takes about half an hour to an hour to get a response to one message

I know that the Telegram API has something to do with the subject, but in general Flask is slow here

You have only one web worker handling requests on a free account so it might not be able to handle "hundreds of people entering the bot".

on $5 account how many i have?