Skip to product information
1 of 1

Stock cover image; actual copy may differ.

Python Concurrency with asyncio

Regular price
$40.19 USD
Regular price
Sale price
$40.19 USD

Book details

Fowler, Matthew

Condition
Good
Format
Paperback
ISBN
Not listed

Has a sturdy binding with some shelf wear. May have some markings or highlighting. Used copies may not include access codes or Cd's. Slight bending may be present.

Shipping calculated at checkout.
Description
Learn how to speed up slow Python code with concurrent programming and the cutting-edge asyncio library. Use coroutines and tasks alongside async/await syntax to run code concurrently Build web APIs and make concurrency web requests with aiohttp Run thousands of SQL queries concurrently Create a map-reduce job that can process gigabytes of data concurrently Use threading with asyncio to mix blocking code with asyncio code Python is flexible, versatile, and easy to learn. It can also be very slow compared to lower-level languages. Python Concurrency with asyncio teaches you how to boost Python's performance by applying a variety of concurrency techniques. You'll learn how the complex-but-powerful asyncio library can achieve concurrency with just a single thread and use asyncio's APIs to run multiple web requests and database queries simultaneously. The book covers using asyncio with the entire Python concurrency landscape, including multiprocessing and multithreading. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology It’s easy to overload standard Python and watch your programs slow to a crawl. Th e asyncio library was built to solve these problems by making it easy to divide and schedule tasks. It seamlessly handles multiple operations concurrently, leading to apps that are lightning fast and scalable. About the book Python Concurrency with asyncio introduces asynchronous, parallel, and concurrent programming through hands-on Python examples. Hard-to-grok concurrency topics are broken down into simple flowcharts that make it easy to see how your tasks are running. You’ll learn how to overcome the limitations of Python using asyncio to speed up slow web servers and microservices. You’ll even combine asyncio with traditional multiprocessing techniques for huge improvements to performance. What's inside Build web APIs and make concurrency web requests with aiohttp Run thousands of SQL queries concurrently Create a map-reduce job that can process gigabytes of data concurrently Use threading with asyncio to mix blocking code with asyncio code About the reader For intermediate Python programmers. No previous experience of concurrency required. About the author Matthew Fowler has over 15 years of software engineering experience in roles from architect to engineering director. Table of Contents 1 Getting to know asyncio 2 asyncio basics 3 A first asyncio application 4 Concurrent web requests 5 Non-blocking database drivers 6 Handling CPU-bound work 7 Handling blocking work with threads 8 Streams 9 Web applications 10 Microservices 11 Synchronization 12 Asynchronous queues 13 Managing subprocesses 14 Advanced asyncio
ASIN: 1617298662
VSKU: GBV.1617298662.G
Condition: Good
Author/Artist:Fowler, Matthew
Binding: Paperback
Note: Any images shown are stock photographs and product may differ from what is shown.
Condition Notes: Has a sturdy binding with some shelf wear. May have some markings or highlighting. Used copies may not include access codes or Cd's. Slight bending may be present.
Shipping

We currently ship retail orders within the United States. Orders are normally prepared for carrier handoff within 1–2 business days, excluding weekends and holidays. Carrier transit time is additional.

Available services and charges depend on order value, package weight, destination, and the method selected. Checkout shows the applicable options before payment; not every order qualifies for free shipping.

Read the shipping policy.

Returns

You may request a return within 30 calendar days after delivery. Contact us before sending a book back.

Customers pay change-of-mind return postage. For a wrong, damaged, or materially misdescribed item, we provide a prepaid return label or another resolution you accept. See the policy for eligibility, original shipping charges, and refund timing.

Read the returns and refund policy.

Python Concurrency with asyncio