Mastering Concurrency in Python
Python is one of the most popular programming languages, with numerous libraries and frameworks that facilitate high-performance computing. Concurrency and parallelism in Python are essential when it comes to multiprocessing and multithreading; they behave differently, but their common aim is to reduce the execution time. This book serves as a comprehensive introduction to various advanced concepts in concurrent engineering and programming.
Offered by
Difficulty Level
Intermediate
Completion Time
14h52m
Language
English
About Book
Who Is This Book For?
This book is for developers who wish to build high-performance applications and learn about signle-core, multicore programming or distributed concurrency. Some experience with Python programming language is assumed.
Mastering Concurrency in Python
- About Book
- Who Is This Book For?
- Book Content
Book content
chapters • 14h52m total length
Concurrent and Parallel Programming - An Advanced Introduction
Amdahl’s Law
Working with Threads in Python
Using the ‘with’ Statement in Threads
Concurrent Web Scraping
Working with Processes in Python
The Reduction Operation in Processes
Concurrent Image Processing
Introduction to Asynchronous I/O
Asyncio: Pros and Cons
TCP with Asyncio
Deadlock
Starvation
Race Conditions
The Global Interpreter Lock
Designing Lock-Free and Lock-Based Concurrent Data Structures
Memory Models and Operations on Atomic Types
Building a Server from Scratch
Testing, Debugging, and Scheduling Concurrent Applications
Related Resources
Access Ready-to-Use Books for Free!
Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!