H
H
hpmalo2018-03-26 14:58:33
Telegram
hpmalo, 2018-03-26 14:58:33

How to determine the throughput of telegrams of a bot using the bot.polling method?

How to determine the throughput of telegrams of a bot using the bot.polling method?
Is it possible to do without webhooks for a bot with more than 1000 daily visitors?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2018-03-26
@hpmalo

In the most extreme case, throughput with longpolling will be lower than with webhooks, only because of the resources to open "second connections" to send data. I think that at 1000 users the difference will be imperceptible.
What, in my opinion, will be noticeable and will require separate solutions for longpolling, even with minimal loads, is the minimization of delay . First, you need to choose a polling strategy. Secondly, just the same time for "second connections".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question