The IPython parallel architecture

The IPython.parallel package has moved to the ipyparallel project. While not a major change, this has introduced a dependency on the ZeroMQ messaging library.

Overview

The ipyparallel architecture is a natural extension of the serial IPython architecture. The decoupling of the client from the interpreter lends itself to an architecture in which multiple interpreters and clients can run in parallel.

Components

The IPython architecture consists of four components:

  • The IPython Engine
  • The IPython Controller/Client
  • The IPython Hub
  • The IPython Scheduler

The IPython Engine

An IPython Engine is a Python instance that accepts Python commands and objects over a network connection. The ability to run engines on different processors ...

Get Mastering IPython 4.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.