[BangPypers] Asynchronous method calls in python

Pradip Caulagi ppc.lists at gmail.com
Thu Oct 16 08:25:26 CEST 2014


On Friday 10 October 2014 02:06 PM, Okan bhan wrote:
> Hi,
>
> I'm working on an appengine + flask application which makes multiple
> requests to third party APIs as part of one request. All of these are
> independent.
>
> So I was hoping what should be the best way to make these method calls
> asynchronously. Whatever I know:

You could also use - 
https://docs.python.org/3/library/concurrent.futures.html.  It is ported 
to Python 2 in https://pypi.python.org/pypi/futures.

I tried concurrent.futures a bit - 
https://medium.com/@caulagi/python-concurrent-futures-1028b47db1cf

-- 
Pradip P Caulagi


More information about the BangPypers mailing list