Jump to content

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


amarmaks

Recommended Posts

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...