[web2py] Re: Issues with site in production environment

2016-04-09 Thread Anthony
On Saturday, April 9, 2016 at 7:57:29 PM UTC-4, Jason Solack wrote: > > Thank you for the tip, I will look into running the math as a background > service, is the task scheduler the only way to achieve that? The web2py scheduler is probably the easiest approach, as it is built in, but there

[web2py] Re: Issues with site in production environment

2016-04-09 Thread Jason Solack
Thank you for the tip, I will look into running the math as a background service, is the task scheduler the only way to achieve that? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Issues with site in production environment

2016-04-09 Thread Anthony
It's generally not good to have HTTP requests taking so long. Instead, when such a request is made, you should pass the task off to a job queue (e.g., using web2py's built-in scheduler or some other similar solution) to be completed in the background. You can then have the browser poll the