Have a personal or library account? Click to login
Parallel Programming with Python Cover

Parallel Programming with Python

Develop efficient parallel systems using the robust Python environment.

Paid access
|Jul 2014
Product purchase options

Key Features

    Book Description

    Starting with the basics of parallel programming, you will proceed to learn about how to build parallel algorithms and their implementation. You will then gain the expertise to evaluate problem domains, identify if a particular problem can be parallelized, and how to use the Threading and Multiprocessor modules in Python.

    The Python Parallel (PP) module, which is another mechanism for parallel programming, is covered in depth to help you optimize the usage of PP. You will also delve into using Celery to perform distributed tasks efficiently and easily. Furthermore, you will learn about asynchronous I/O using the asyncio module. Finally, by the end of this book you will acquire an in-depth understanding about what the Python language has to offer in terms of built-in and external modules for an effective implementation of Parallel Programming.

    This is a definitive guide that will teach you everything you need to know to develop and maintain high-performance parallel computing systems using the feature-rich Python.

    What you will learn

    • Explore techniques to parallelize problems
    • Integrate the Parallel Python module to implement Python code
    • Execute parallel solutions on simple problems
    • Achieve communication between processes using Pipe and Queue
    • Use Celery Distributed Task Queue
    • Implement asynchronous I/O using the Python asyncio module
    • Create threadsafe structures

    Who this book is for

    Table of Contents

    1. Contextualizing Parallel, Concurrent and Distributed Programming
    2. Identifying if a problem can be parallelizable
    3. Using Threading Module
    4. Using Multiprocessing Module
    5. Using Python Parallel Module
    6. Distributing tasks with Celery
    7. Making Things Asynchronously
    8. Building your own thread-safe structures
    PDF ISBN: 978-1-78328-840-3
    Publisher: Packt Publishing Limited
    Copyright owner: © 2014 Packt Publishing Limited
    Publication date: 2014
    Language: English
    Pages: 124