Answer the question
In order to leave comments, you need to log in
How to increase the performance of a chat bot?
I'm going to write my own chat bot for VK, and it became interesting in advance how to increase the speed of the bot. From here, I also had a lot of other questions, namely: If several people write to community messages at the same time, does VK send these requests to my server at once or does it create a queue of requests? Is a new bot script instance created for each request from VK?
And in the end, if we have a fairly popular bot, then how do we cope with a heavy load, create some kind of threads in the script itself or increase the capacity of our server, how does it all work?
PS I plunged into the abyss of web programming not so long ago, so the questions may seem silly, I ask you not to throw stones :)
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