On 05/13/2016 11:15 AM, Jonathan Kamens wrote:
> I recommend that you use gipc <
https://pypi.python.org/pypi/gipc/0.6.0>
> for this.
I actually did and gipc does appear to handle a lot more edge cases and
subtleties thank mp+gevent. However because I was not planning on any
actual IPC other than just reading off of the stdout, I was not quite
certain if I needed it at the moment.
I will take a look again.
Thanks.
AM
>
> On 05/13/2016 02:14 PM, ams.fwd wrote:
>> Hi All.
>>
>> I am planning on using multiprocessing to spawn off cpu-intensive and
>> somewhat long-running tasks from a gevent+flask based web server and
>> stream the output back to the HTTP client. I do not intend to exchange
>> any data other than read stdio. I have previously rolled my own
>> implementation using sub-process but need to use more cores this time
>> around.
>>
>> On the surface it seems reasonably straight-forward with no gotchas
>> and wanted to find out if anybody else has use multiprocessing to
>> spawn off processes and read stdout/err and run into any issues?
>>
>> Thanks.
>> AM
>> --
>> You received this message because you are subscribed to the Google
>> Groups "gevent: coroutine-based Python network library" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to
gevent+un...@googlegroups.com
>> <mailto:
gevent+un...@googlegroups.com>.
> --
> You received this message because you are subscribed to the Google
> Groups "gevent: coroutine-based Python network library" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
gevent+un...@googlegroups.com
> <mailto:
gevent+un...@googlegroups.com>.