amarmaks Posted September 19, 2020 Posted September 19, 2020 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.
Krydos Posted September 19, 2020 Posted September 19, 2020 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. 1
amarmaks Posted September 19, 2020 Author Posted September 19, 2020 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now