Forums

Problem with Threads, it's too many slow.

Hello, I hope you can help me.

I'm working with a project in Django, in one of the modules I generate reports, either Excel or PDF files, which are very heavy to generate, which is why I use the python threading module to generate threads in which I host all the process of creating these files, however, the process in pythonanyware is too slow, or sometimes it does not finish, it should be noted that the program has been tested on different machines, and it works perfectly, giving the document in less than 10 seconds, but once uploaded to pythonanyware that time can be extended to 10, 20 or more minutes!, which is unsustainable. Are there any settings that I need to activate, or properties that I need to place in order for my threads to work correctly?

See https://help.pythonanywhere.com/pages/AsyncInWebApps/