vdrhtc / InLaTeXbot

Customizable LaTeX bot for Telegram messenger
http://t.me/InLaTeXbot
GNU General Public License v3.0
211 stars 11 forks source link

Performance #8

Closed tyalie closed 2 years ago

tyalie commented 5 years ago

What is your experience: What is the slowest thing in the whole pipeline? E.g. could one provide a faster feedback by maybe MarkDown with MathJax instead?

vdrhtc commented 5 years ago

I guess it's the proxy

vdrhtc commented 5 years ago

Didn't mean to close yet =)

tyalie commented 5 years ago

What do you mean? 😅

vdrhtc commented 5 years ago

What do you mean? sweat_smile

Since Telegram is blocked in my country, I have to use Tor to connect the bot to the net. However, if I remember correctly, even without the proxy the slowest part was http requests. I think, Webhook API should be used to improve the speed. I'll leave this issue as a reminder.

tyalie commented 5 years ago

Okay. My first thought that the LaTeX rendering would take too long.

vdrhtc commented 2 years ago

Not blocked anymore