Jump to content

Recommended Posts

Posted

Hi,

I would like to have python-telegram-bot module installed

 

Python version: 3.6

Username: devad

Server: Ricky

 

Thanks in advance!

 

 

As you can imagine, I'm working on a telegram bot, but I'm worried about CPU load, should I use webhooks instead of long polling?

My bot is just for a couple of private groups, so won't need much CPU, however, I'm afraid of being suspended.

On the other hand, there are webhooks, more efficient and resource-friendly, but I don't know if they can be set.

 

-devad

 

Posted

There you go https://krydos1.heliohost.org/cgi-bin/modules36.py

 

As far as the load goes it's hard to say. You're technically allowed to use unlimited cpu and unlimited memory, but if the server starts to perform poorly the account that is causing the most load is suspended to get the server back into acceptable operating performance. As long as you aren't the highest load on the server though that means someone else will get suspended, not you. The best advice I have is to post on here and ask us how your load is occasionally. Even if you're the highest load that doesn't mean you'll get suspended either as long as the server is still working well.

Posted

Thank you very much! I really appreciate your support, quick answer and great job in general :)

 

Have you considered automate that process, e.g adding a top list by users?

Posted

We've considered it, but it takes very little time and effort to do it manually. Generally we prioritize automating things that take a lot of time or effort.

Guest
This topic is now closed to further replies.
×
×
  • Create New...