-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Asynchronous Programming in Python
By :
Asynchronous Programming in Python
By:
Overview of this book
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.
Table of Contents (14 chapters)
Preface
Synchronous and Asynchronous Programming Paradigms
Identifying Concurrency and Parallelism
Generators and Coroutines
Implementing Coroutines with Asyncio and Trio
Assessing Common Mistakes in Asynchronous Programming
Testing and Asynchronous Design Patterns
Asynchronous Programming in Django, Flask and Quart
Asynchronous Data Access
Asynchronous Data Pipelines
Asynchronous Computing with Notebooks
Unlock Your Exclusive Benefits
Other Books You May Enjoy
Index
Customer Reviews