Book Image

Parallel Programming with Python

By : Jan Palach, Jan Palach V Cruz da Silva
Book Image

Parallel Programming with Python

By: Jan Palach, Jan Palach V Cruz da Silva

Overview of this book

Table of Contents (16 chapters)
Parallel Programming with Python
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 6. Utilizing Parallel Python

In the previous chapter, we learned how to use the multiprocessing and ProcessPoolExecutor modules to solve two case problems. This chapter will present named pipes and how to use Parallel Python (PP) to perform parallel tasks with processes.

In this chapter, we will cover the following topics:

  • Understanding interprocess communication

  • Discovering PP

  • Using PP to calculate the Fibonacci series on SMP architecture

  • Using PP to make a distributed Web crawler