Hello I use a relatively long text in a sendMessage and

it takes about 1 second for Telegram to respond and this is too much!
When this happened, when I use the telegram bot api local endpoint, but when I use https://api.telegram.org, it takes less than 100 milliseconds for telegram to respond.
Does anyone know what the problem is?

5 ответов

22 просмотра

Probably your disk is so slow, how much time takes to send same message one more time?

ACᴳ Lover- Автор вопроса

Picture number 1: When I use a relatively long Persian text Picture number 2: When I use relatively long English text Picture number 3: When I use short Persian text And there is only a problem in long Persian texts Is there anything special that I should follow?

ACᴳ Lover- Автор вопроса
/dev/null 🎄
Probably your disk is so slow, how much time takes...

I don't think this is the problem But each time about 1 second

ACᴳ Lover
Picture number 1: When I use a relatively long Per...

These messages allude to slow initialization time, but fast recurrences. This does hint at the disk being the culprit. Try running relevant components of your system from RAM, if you have the memory to spare and have a system that's abstracted enough to do so (e.g. an LXC container whose rootfs could be copied into RAM and booted from). Or failing that, try running a clean such system from faster storage, such as a SATA or NVMe SSD.

ACᴳ Lover- Автор вопроса

Похожие вопросы

Карта сайта