Jump to content


Photo

[Solved] Python Package Installation

python module python

  • This topic is locked This topic is locked
4 replies to this topic

#1 devad

devad

    Newbie

  • Members
  • 4 posts

Posted 07 January 2019 - 08:28 PM

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

 



#2 Luigi123

Luigi123

    Rank X Member

  • Moderators
  • 1,353 posts
  • Gender:Male
  • Location:Winnipeg, Manitoba, Canada

Posted 07 January 2019 - 11:24 PM

This support request is being escalated to our root admin.

server_load_s.gifserver_load_j.gifserver_load_t.gif
server_uptime_s.gifserver_uptime_j.gifserver_uptime_t.gif

 


#3 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 17,831 posts
  • Gender:Male

Posted 08 January 2019 - 01:09 AM

There you go https://krydos1.heli...in/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.

#4 devad

devad

    Newbie

  • Members
  • 4 posts

Posted 08 January 2019 - 01:11 PM

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?

#5 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 17,831 posts
  • Gender:Male

Posted 09 January 2019 - 01:22 AM

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.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users