A
A
Andrey Grinevich2015-06-18 21:42:55
Python
Andrey Grinevich, 2015-06-18 21:42:55

Where can I find information about parallel computing in python?

Good day
I would like to practice parallelizing heavy calculations in python.
Recommend an interesting project / good example or blog where this topic is covered.
Is it possible to use greenlets for these purposes?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
L
lega, 2015-06-18
@lega

Greenlets are for the web (io), not for computing.

T
throughtheether, 2015-06-18
@throughtheether

Recommend an interesting project / good example or blog where this topic is covered.
IPython , MPI
Is it possible to use greenlets for these purposes?
It is possible, but not necessary. Greenlets are, to my knowledge, more efficient at concurrent handling of IO tasks.

Y
Yuri Shikanov, 2015-06-18
@dizballanze

For parallelization of computations - multiprocessing , tk. Gil.

L
lPolar, 2015-06-19
@lPolar

Heavy calculations on pure python + multiprocessing in my opinion do not make sense - it will be slow.
Options:
1. Theano - habrahabr.ru/post/173819
2. Write critical calculations in Cython
3. If there is a lot of data, you can try Spark through the Pyspark API.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question