<div dir="ltr">+1, thank you<br></div><br><div class="gmail_quote">st 22. 4. 2015 v 9:42 odesílatel Luís de Sousa <<a href="mailto:luis.a.de.sousa@gmail.com">luis.a.de.sousa@gmail.com</a>> napsal:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone, here's what came out of our analysis on this issue:<br>
<br>
. Celery seems to be an overkill at this stage - it is actually a<br>
second service that must be set up and configured on its own. It will<br>
also make installing PyWPS somewhat more complex. Since Calin only has<br>
6 weeks left in his internship we decided not to tackle it.<br>
<br>
. Multiprocessing has no inbuilt ability to pause/resume a process.<br>
This means that we are unlikely to achieve full WPS 2.0 compliance<br>
during Calin's internship. There are messaging libraries that could be<br>
explored later on for this purpose; it might be a better strategy than<br>
going full on with Celery.<br>
<br>
. Flask comes with inbuilt multiprocessing functionality - this is<br>
what Calin will explore in first place.<br>
<br>
Regards,<br>
<br>
Luís<br>
<br>
On 22 April 2015 at 09:13, Jorge Samuel Mendes de Jesus<br>
<<a href="mailto:jorge.mendesdejesus@wur.nl" target="_blank">jorge.mendesdejesus@wur.nl</a>> wrote:<br>
> Hi Calin<br>
><br>
> I once or twice looked at the documentation of Celery to use it inside<br>
> Flask, I must say that is a very interesting thing, the problem is that<br>
> it would have to be installed together with pywps and configured adding<br>
> another layer of complexity, my opinion is for pywps to run using<br>
> multiprocess and then later give a look at Celery (this could be the<br>
> perfect topic for google summer school)<br>
><br>
> Jorge<br>
><br>
> On 20-04-15 12:02, Calin Ciociu wrote:<br>
>> Hello everyone,<br>
>><br>
>><br>
>> Looking at running processes asynchronously for implementing the<br>
>> status XML response I wanted to ask if there were already some<br>
>> ideas/plans for using some specific python library?<br>
>><br>
>> This needs to be done with multiprocessing and I read something about<br>
>> using task queue like Celery.<br>
>><br>
>> What do you think about this?<br>
>><br>
>><br>
>> Calin<br>
>> _______________________________________________<br>
>> pywps-dev mailing list<br>
>> <a href="mailto:pywps-dev@lists.osgeo.org" target="_blank">pywps-dev@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/pywps-dev" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/pywps-dev</a><br>
><br>
> --<br>
> ISRIC - World Soil Information<br>
> Post: PO box 353, 6700 AJ, Wageningen,<br>
> The Netherlands Visiting Address: Droevendaalsesteeg 3, 6708 PB<br>
> Wageningen (Bdg. 101),<br>
> Office: C.013<br>
> Office Phone: +31 (0) 317 4 83715<br>
> Mobile Phone: +31 (0) 613 9 06950<br>
> OpenPGPKey: 0xA3D0065A<br>
><br>
> _______________________________________________<br>
> pywps-dev mailing list<br>
> <a href="mailto:pywps-dev@lists.osgeo.org" target="_blank">pywps-dev@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/pywps-dev" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/pywps-dev</a><br>
_______________________________________________<br>
pywps-dev mailing list<br>
<a href="mailto:pywps-dev@lists.osgeo.org" target="_blank">pywps-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/pywps-dev" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/pywps-dev</a></blockquote></div>