Python ThreadPool Jump-Start: Run Your IO-Bound Functions Concurrently With Just A Few Lines Of Code (Python Concurrency Jump-Start Series)

ANT

4.3 3
$5.99 $9.99You save $4.00
Format
Digital edition
PDFEPUB
Works on phone, tablet and computer Instant access after checkout Personal-use digital license
About this edition

• Instant access to your digital edition.
• Read anytime, anywhere, on your favorite device.
• No shipping — your book is delivered digitally.
• Simple, secure access after purchase.

Published date August 10, 2022
Author Jason Brownlee

Instant digital delivery after purchase.

Download link available immediately after checkout.
In stock
Quantity
Secure checkout — encrypted end to end Free exchange or return within 30 days if the product is defective. Digital formats available instantly
Readers also enjoyed

Discover another great read to add to your digital library.

$5.99 $9.99

Description

How much faster could your Python code run
(if you used 100s of threads)?

The ThreadPool class provides easy-to-use thread-based concurrency for IO-bound tasks.

This is not some random third-party library, this is a class provided in the Python standard library (already installed on your system).

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

There's just one problem. No one knows about it (or how to use it well).

Introducing: Python ThreadPool Jump-Start . A new book designed to teach you thread pools in Python, super fast!

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

Including: How to create thread pools and when to use them. How to configure thread pools including the number of threads. How to execute tasks with worker threads and wait for results. How to execute tasks in the thread pool asynchronously. How to execute tasks lazily and respond to results as tasks complete. How to handle results with callbacks and check the status of tasks. How to develop a port scanner that is 70x faster than the sequential version.
Each of the 7 lessons was carefully designed to teach one critical aspect of the ThreadPool, with explanations, code snippets and worked examples.

Each lesson ends with an exercise for you to complete to confirm you understood 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.

Specifications

FormatEPUB, PDF
Pages108
LanguageEnglish
ISBN-13979-8845873255

Frequently asked

Do I need an account to download?

No. After purchase, you can access your ebook directly from the order confirmation or download page.

What if a copy arrives damaged?

Contact us and we’ll help you access the file or provide a replacement download if needed.

Reviews

4.3 2
5★84%4★11%3★3%2★1%1★1%
B Brian Moreno Verified
★★★★★The diagrams do the teachingSeeing the concept drawn before the notation appears changed everything for me.
A Angela Joyce Verified
★★★★★A set text for my classThe problem sets are graded properly and the solutions are complete.
See all reviews

Customers also downloaded