Jump to content

[Answered] Does HelioHost have multithreading support (2 threads max)


Recommended Posts

Posted

Hello!

I am looking to develop a Discord bot (using discord.py) for my robotics team with a backend web app (most likely using tornado server) to provide statistical data. To do this, I would need two threads. I know that pythonanywhere is limited to a single thread, rendering it useful for my purposes, but I was not able to find anywhere if HelioHost supported libraries like multithreading for processes with 2 threads.

Posted

Yes, multithreading is supported.

 

You can actually run as many threads or processes as you want. Tommy and Johnny have 8 cpus, and Ricky has 4. We do monitor cpu usage and memory usage though, so scripts that run constantly like discord bots have a tendency to get people suspended. We provide an account load graph in cpanel that you can watch, and if the cpu bar or the memory bar start to get close to 100 you can shut down your bot before you get suspended. Feel free to try out our free service, and if causes too much load you could consider a VPS https://www.heliohost.org/vps/ instead where you could cause pretty much as much load as you want and it wouldn't affect any of our other users.

  • Like 1
Posted

Yes, multithreading is supported.

 

You can actually run as many threads or processes as you want. Tommy and Johnny have 8 cpus, and Ricky has 4. We do monitor cpu usage and memory usage though, so scripts that run constantly like discord bots have a tendency to get people suspended. We provide an account load graph in cpanel that you can watch, and if the cpu bar or the memory bar start to get close to 100 you can shut down your bot before you get suspended. Feel free to try out our free service, and if causes too much load you could consider a VPS https://www.heliohost.org/vps/ instead where you could cause pretty much as much load as you want and it wouldn't affect any of our other users.

Awesome, thank you for letting me know and I'll make sure to check out the vps!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...