Book Image

Concurrent and Distributed Computing with Python [Video]

By : Harish Garg, Mithun Lakshmanaswamy
Book Image

Concurrent and Distributed Computing with Python [Video]

By: Harish Garg, Mithun Lakshmanaswamy

Overview of this book

<p>Facing difficulty in implementing concurrent and multithreaded programs in your Python applications? Is this preventing you from implementing efficient code in your apps and benefiting from multiprocessing?</p> <p>This course will help you resolve these difficulties. You will start by exploring the basic concepts of concurrency and distributed computing, and you'll learn which Python libraries are relevant to these. You will not only learn to see Celery as a way to build-in concurrency into your apps, but also Pyro as an alternative to Celery. You will create processes and manage processes along with interprocess communication; combine coroutines with threads and processes; practice the management of process pools; implement asynchronous tasks/job queues using AsyncResult and Celery backends; invoke remote methods in your Python-based code, and use these skills and concepts when working with AWS for Python.</p> <p>All the code and supporting files for this course are available at&nbsp;<a href="https://github.com/PacktPublishing/Concurrent-and-Distributed-Computing-with-Python" target="_blank">https://github.com/PacktPublishing/Concurrent-and-Distributed-Computing-with-Python</a></p> <h1>Style and Approach</h1> <p>A comprehensive course, packed with executable instructions, and working examples. You will learn about all the libraries, techniques, and tools needed to exploit concurrent and distributed programming with Python.</p>
Table of Contents (7 chapters)
Chapter 3
Using Multiprocessing in the Application
Content Locked
Section 4
Managing Process Pools
Get introduced to the concept of process pools and how multiprocessing. Pool class helps us realize a process pool. - Introduce process pools - Introduce Python PIL Module - Demo the code