Jump to ratings and reviews
Rate this book

Python Concurrency Jump-Start

Python Threading Jump-Start: Develop Concurrent IO-bound Programs And Work With The GIL

Rate this book
Unlock concurrency with Python threads (and run 100s or 1,000s of tasks simultaneously)

The threading module provides easy-to-use thread-based concurrency in Python.

Unlike Python multiprocessing, the threading module is limited by the infamous Global Interpreter Lock (GIL).

Critically, the GIL is released when performing blocking I/O. Additionally, threads can share memory making them perfectly suited to I/O-bound tasks such as reading and writing from files and socket connections.

This is the API you need to use to make your code run faster.

Introducing: "Python Threading Jump-Start". A new book designed to teach you the threading module in Python, super fast!

You will get a rapid-paced, 7-part course to get you started and make you awesome at using the threading API.

Each of the 7 lessons was carefully designed to teach one critical aspect of the threading module, with explanations, code snippets, and worked examples.

You will discover:

* How to choose tasks that are well suited to threads.
* How to create and run new threads.
* How to locate and query running threads.
* How to use locks, semaphores, barriers, and more.
* How to share data between threads using queues.
* How to execute ad hoc tasks with reusable worker threads.
* How to gracefully stop and forcefully kill threads.

Each lesson ends with an exercise for you to complete to confirm you understand the topic, a summary of what was learned, and links for further reading if you want to go deeper.

Stop copy-pasting code from StackOverflow answers.

Learn Python concurrency correctly, step-by-step.

106 pages, Kindle Edition

Published August 4, 2022

5 people are currently reading
8 people want to read

About the author

Jason Brownlee

47 books76 followers
Jason Brownlee, Ph.D. trained and worked as a research scientist and software engineer for many years (e.g. enterprise, R&D, and scientific computing), and is known online for his work on Computational Intelligence (e.g. Clever Algorithms), Machine Learning and Deep Learning (e.g. Machine Learning Mastery, sold in 2021) and Python Concurrency (e.g. Super Fast Python).

Jason writes fiction under the pseudonym J.D. Brownlee: https://www.goodreads.com/jdbrownlee

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
3 (60%)
4 stars
1 (20%)
3 stars
1 (20%)
2 stars
0 (0%)
1 star
0 (0%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.