Parallel Programming with Python
暫譯: 使用 Python 進行平行程式設計

Jan Palach

  • 出版商: Packt Publishing
  • 出版日期: 2014-06-14
  • 售價: $1,190
  • 貴賓價: 9.5$1,131
  • 語言: 英文
  • 頁數: 107
  • 裝訂: Paperback
  • ISBN: 1783288396
  • ISBN-13: 9781783288397
  • 相關分類: Python程式語言
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Develop efficient parallel systems using the robust Python environment

Overview

  • Demonstrates the concepts of Python parallel programming
  • Boosts your Python computing capabilities
  • Contains easy-to-understand explanations and plenty of examples

In Detail

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 from this book

  • 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 thread-safe structures

Approach

A fast, easy-to-follow and clear tutorial to help you develop Parallel computing systems using Python. Along with explaining the fundamentals, the book will also introduce you to slightly advanced concepts and will help you in implementing these techniques in the real world.

Who this book is written for

If you are an experienced Python programmer and are willing to utilize the available computing resources by parallelizing applications in a simple way, then this book is for you. You are required to have a basic knowledge of Python development to get the most of this book.

商品描述(中文翻譯)

開發高效的平行系統,使用強大的 Python 環境

概述
- 演示 Python 平行程式設計的概念
- 提升您的 Python 計算能力
- 包含易於理解的解釋和大量範例

詳細內容
從平行程式設計的基本概念開始,您將學習如何構建平行演算法及其實現。接著,您將獲得評估問題領域的專業知識,識別特定問題是否可以平行化,以及如何在 Python 中使用 Threading 和 Multiprocessor 模組。

本書深入介紹 Python Parallel (PP) 模組,這是另一種平行程式設計的機制,幫助您優化 PP 的使用。您還將深入了解如何使用 Celery 高效且輕鬆地執行分散式任務。此外,您將學習使用 asyncio 模組進行非同步 I/O。最後,在本書結束時,您將深入了解 Python 語言在平行程式設計的有效實現方面所提供的內建和外部模組。

這是一本權威指南,將教您開發和維護高效能平行計算系統所需的所有知識,使用功能豐富的 Python。

您將從本書學到的內容
- 探索平行化問題的技術
- 整合 Parallel Python 模組以實現 Python 代碼
- 在簡單問題上執行平行解決方案
- 使用 Pipe 和 Queue 實現進程間的通信
- 使用 Celery 分散式任務佇列
- 使用 Python asyncio 模組實現非同步 I/O
- 創建線程安全的結構

方法
這是一個快速、易於跟隨且清晰的教程,幫助您使用 Python 開發平行計算系統。除了解釋基本概念外,本書還將介紹稍微進階的概念,並幫助您在現實世界中實施這些技術。

本書的讀者對象
如果您是一位有經驗的 Python 程式設計師,並希望以簡單的方式平行化應用程式以利用可用的計算資源,那麼這本書適合您。您需要具備基本的 Python 開發知識,以便充分利用本書的內容。