Re: [web2py] Re: controller with multiprocessing powers. Howto?

2018-02-25 Thread António Ramos
Ok thank you 2018-02-25 2:35 GMT+00:00 Massimo Di Pierro : > Pierre is right. That is not the way to do it. This is an example of the > XY problem. > > One way to do it to use the scheduler your tasks and performs the queries > in background. > > > > On Thursday, 22

[web2py] Re: controller with multiprocessing powers. Howto?

2018-02-24 Thread Massimo Di Pierro
Pierre is right. That is not the way to do it. This is an example of the XY problem. One way to do it to use the scheduler your tasks and performs the queries in background. On Thursday, 22 February 2018 07:11:06 UTC-6, Pierre wrote: > > i think the entry point to do multiprocessing in

[web2py] Re: controller with multiprocessing powers. Howto?

2018-02-22 Thread Pierre
i think the entry point to do multiprocessing in web2py is the web2py-scheduler. Howewer with this tool you can't share objects betweeen processes like you do using the multiprocessing python module so synchronization might be an issue. There are other tools like for instance* huey* but i am