Learning Concurrency in Python

Elliot Forbes

  • 出版商: Packt Publishing
  • 出版日期: 2017-08-16
  • 售價: $1,830
  • 貴賓價: 9.5$1,739
  • 語言: 英文
  • 頁數: 360
  • 裝訂: Paperback
  • ISBN: 1787285375
  • ISBN-13: 9781787285378
  • 相關分類: Python程式語言
  • 下單後立即進貨 (約3~4週)

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

商品描述

Key Features

  • Build highly efficient, robust, and concurrent applications
  • Work through practical examples that will help you address the challenges of writing concurrent code
  • Improve the overall speed of execution in multiprocessor and multicore systems and keep them highly available

Book Description

Python is a very high level, general purpose language, and also one of the most widely used languages. It offers diverse concurrency approaches, including the language itself and the third-party libraries.

This book introduces the popular and useful libraries in-depth, briefly introduces specialized solutions, and shows you how to choose one. We cover the concurrency approaches and their techniques in Python, showing you why to use, how to use, when to use, and give you background knowledge.

The book will guide you down the path to mastering Python concurrency, giving you all the necessary hardware and theoretical knowledge. Then we explore threading and multi-processing in Python. Next, you will learn about higher-level tools, event-driven programming, reactive programming, and more libraries. You will understand how to handle exceptions, benchmark, and debug code in a concurrent system.

By the end of the book, you will have learned the techniques to write efficient Python code with concurrency.

What you will learn

  • Explore the concept of threading and multiprocessing in Python
  • Understand concurrency with threads
  • Manage exceptions in child threads
  • Handle the hardest part in a concurrent system - shared resources
  • Build concurrent systems with Communicating Sequential Processes (CSP)
  • Maintain all concurrent systems and master them
  • Apply reactive programming to build concurrent systems
  • Use GPU to solve specific problems