Skip to Content
Distributed Computing with Python
book

Distributed Computing with Python

by Francesco Pierfederici
April 2016
Intermediate to advanced
170 pages
3h 48m
English
Packt Publishing
Content preview from Distributed Computing with Python

Summary

We looked at a couple of technologies that we can exploit to make our Python code run faster and, in some cases, use multiple CPUs in our computers. One of these is the use of multiple threads, and the other is the use of multiple processes. Both are supported natively by the Python standard library.

We looked at three modules: threading, for developing multithreaded applications, multiprocessing, for developing process-based parallelism, and concurrent.futures, which provides a high-level asynchronous interface to both.

As far as parallelism goes, these three modules are not the only ones that exist in Python land. Other packages implement their own parallel strategies internally, freeing programmers from doing so themselves. Probably, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Distributed Machine Learning with Python

Distributed Machine Learning with Python

Guanhua Wang
Scientific Computing with Python - Second Edition

Scientific Computing with Python - Second Edition

Claus Führer, Claus Fuhrer, Jan Erik Solem, Olivier Verdier
Learning Python Networking - Second Edition

Learning Python Networking - Second Edition

José Manuel Ortega, Dr. M. O. Faruque Sarker, Sam Washington

Publisher Resources

ISBN: 9781785889691Supplemental Content