Answer the question
In order to leave comments, you need to log in
Telegram bot response time?
️Friends, what determines the response time from the bot? There are bots where there are quite a lot of users, but the response from the bot is still instant! How can the same effect be achieved? Even VPS took for this case, the code was optimized, but alas, the response time is somewhere around 1-2 seconds. I use: PHP/MySQLi/WebHook
Answer the question
In order to leave comments, you need to log in
You can suspect anything, for example, a connection to the database (if it occurs for each message)
But we don’t have a crystal ball, but you can simply write time to the log with great accuracy through each line to see which line takes a lot of time
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question