This question already has an answer here:
- Asynchronous background processes with web2py 3 answers
Getting extended processing times inside web2py when running clustering algorithms.
Tried running the algorithm on a standalone python instance and it finishes in 4-5s, in web2py, it takes over 10 minutes.
How do I pass the parameters from web2py user input to run the algorithm on a separate python instance, finish in 4-5s and return the results to web2py user view?