Closed MarshalOfficial closed 2 years ago
Speed issue solved via threading that I said above.
My main problem is my country that banned Telegram and connecting via proxy is not a good idea for bot in production mode. so I published the bot on a foreign VPS server.
Hi there,
how to handle the load of million of users' messages and process them all without speed lag?
botClient.StartReceiving( HandleUpdateAsync, HandleErrorAsync, receiverOptions, cancellationToken: cts.Token);
I've used new thread initialization in HandleUpdateAsync and all of my backend services are async, but I have critical speed problems in busy times.