کتاب Asynchronous Programming in Python: Apply asyncio in Python to build scalable, high-performance apps across multiple scenarios [انگلیسی]

لینک آمازون: https://amazon.com/dp/B0FH9M622Y

درباره کتاب

Take a practical journey through the core principles, concepts, and applications of asynchronous programming in Python across real-world environments and technologies.

Key FeaturesUnderstand core principles and theory behind async programming in PythonMeasure the impact of async techniques in practical, real-world use casesApply async patterns in software design and data-oriented architecturesBook Description

Asynchronous programming is one of the most effective but often misunderstood techniques for building fast, scalable, and responsive systems in Python. While it can significantly improve performance, efficiency, and sustainability, using async without a clear understanding of its trade-offs can lead to fragile designs and hard-to-debug issues.

This book offers a structured approach to applying asynchronous programming in Python. It begins with a conceptual framework to help you distinguish between synchronous and asynchronous execution models, and shows how async relates to other concurrency strategies such as multithreading and multiprocessing. From there, you will explore the core tools available for building async applications in Python.

You will also learn how to measure the impact of async programming in practical scenarios, profile and debug asynchronous code, and evaluate performance improvements using real-world metrics. The final chapters focus on applying async techniques to common cloud-based systems, such as web frameworks, database interactions, and data-pipelines tools.

Designed for developers looking to apply async programming with confidence, this book blends real-world examples with core concepts to help you write efficient, maintainable Python code.

What you will learnUse generators, coroutines and async/await to build scalable Python functionsExplore event loops to manage concurrency and orchestrate async flowCompare concurrency models to choose the right async strategyOptimize I/O-intensive programs to improve system throughput and efficiencyBuild async services using real-world APIs and popular Python librariesApply structured concurrency and design patterns for cleaner async designTest and debug async Python code to ensure reliability and stabilityWho this book is for

This book will help Python developers who want to understand and apply the asynchronous programming model in application development, data analysis, and orchestration scenarios. Junior developers, data engineers,, and tech leads will also benefit from the application design examples.

Table of ContentsSynchronous and Asynchronous programming paradigmsConcurrency and Parallelism in PythonGenerators and CoroutinesImplementing Coroutines with Greenlets, Asyncio and TrioBenchmarking: Sync vs Async implementationsAsynchronous Design PatternsAsynchronous programming in Django, FastAPI and LitestarAsynchronous data accessAsynchronous tasks with AirflowAsynchronous Jupyter Notebooks
ASIN ‏ : ‎ B0FH9M622Y
Publisher ‏ : ‎ Packt Publishing
Accessibility ‏ : ‎ Learn more
Publication date ‏ : ‎ November 27, 2025
Edition ‏ : ‎ 1st
Language ‏ : ‎ English
File size ‏ : ‎ 4.0 MB
Screen Reader ‏ : ‎ Supported
Enhanced typesetting ‏ : ‎ Enabled
X-Ray ‏ : ‎ Not Enabled
Word Wise ‏ : ‎ Not Enabled
Print length ‏ : ‎ 275 pages
ISBN-13 ‏ : ‎ 978-1836646600
Page Flip ‏ : ‎ Enabled
Best Sellers Rank: #53 in Parallel Computer Programming #164 in Mobile App Development & Programming #636 in Python Programming
Customer Reviews: 5.0 5.0 out of 5 stars 1 rating var dpAcrHasRegisteredArcLinkClickAction; P.when(‘A’, ‘ready’).execute(function(A) { if (dpAcrHasRegisteredArcLinkClickAction !== true) { dpAcrHasRegisteredArcLinkClickAction = true; A.declarative( ‘acrLink-click-metrics’, ‘click’, { “allowLinkDefault”: true }, function (event) { if (window.ue) { ue.count(“acrLinkClickCount”, (ue.count(“acrLinkClickCount”) || 0) + 1); } } ); } }); P.when(‘A’, ‘cf’).execute(function(A) { A.declarative(‘acrStarsLink-click-metrics’, ‘click’, { “allowLinkDefault” : true }, function(event){ if(window.ue) { ue.count(“acrStarsLinkWithPopoverClickCount”, (ue.count(“acrStarsLinkWithPopoverClickCount”) || 0) + 1); } }); });

, , , , , , ,