Answer the question
In order to leave comments, you need to log in
How to handle simultaneous requests to the bot?
There is a regular bot in php. Received a request from the chat - processed - sent a response. But there is a problem: if several users make a request to the bot, then there is a long wait until the first request is processed. How can requests be processed in parallel? Now I process the incoming stream through file_get_contents > php://input
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question