Subcategories

Learning Concurrency in Python

Posted By: AlenMiler
Learning Concurrency in Python

Learning Concurrency in Python by Elliot Forbes
English | 16 Aug. 2017 | ISBN: 1787285375 | ASIN: B01NARDH3B | 360 Pages | AZW3 | 1.35 MB

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 that is utilized heavily in fields such as data science and research, as well as being one of the top choices for general purpose programming for programmers around the world. It features a wide number of powerful, high and low-level libraries and frameworks that complement its delightful syntax and enable Python programmers to create.

This book introduces some of the most popular libraries and frameworks and goes in-depth into how you can leverage these libraries for your own high-concurrent, highly-performant Python programs. We'll cover the fundamental concepts of concurrency needed to be able to write your own concurrent and parallel software systems in Python.

The book will guide you down the path to mastering Python concurrency, giving you all the necessary hardware and theoretical knowledge. We'll cover concepts such as debugging and exception handling as well as some of the most popular libraries and frameworks that allow you to create event-driven and reactive systems.

By the end of the book, you'll have learned the techniques to write incredibly efficient concurrent systems that follow best practices.

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

About the Author

Elliot Forbes has worked as a full-time software engineer at a leading financial firm for the last two years. He graduated from the University of Strathclyde in Scotland in the spring of 2015 and worked as a freelancer developing web solutions while studying there.

He has worked on numerous different technologies such as GoLang and NodeJS and plain old Java, and he has spent years working on concurrent enterprise systems. It is with this experience that he was able to write this book.

Elliot has even worked at Barclays Investment Bank for a summer internship in London and has maintained a couple of software development websites for the last three years.

Table of Contents

Speed It Up!
How About Parallel It?
Life of Thread
Synchronization Between Threads
Communication Between Threads
Debug and Benchmark Threads
Executors and Pools
Multiprocessing
Event-driven Programming
Reactive Programming
Using GPU
Choosing a Solution