Book Image

Mastering Python Scientific Computing

Book Image

Mastering Python Scientific Computing

Overview of this book

Table of Contents (17 chapters)
Mastering Python Scientific Computing
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The architecture of IPython parallel computing


The architecture of parallel computing in IPython has three main components. These components are part of the parallel package of IPython. The architecture of IPython parallel computing is depicted in the following figure:

The three main components of IPython parallel computing are client, controller, and engines. The controller component is composed of two subcomponents: HUB and SCHEDULERS. It allows client interaction with engines through two main interfaces: direct interface and load-balanced interface.

The components of parallel computing

Various components and concepts related to the IPython parallel computing architecture will be discussed in this subsection. The components are the IPython engine, the IPython controller (the hub and schedulers), and the IPython clients and views.

The IPython engine

The core component performs the actual execution of the Python command received as a network request. The engine is an instance of a regular Python...