- Main
- Computers - Programming
- Python Concurrency with asyncio
Python Concurrency with asyncio
Matthew Fowler你有多喜歡這本書?
文件的質量如何?
下載本書進行質量評估
下載文件的質量如何?
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.
About the technology
It’s easy to overload standard Python and watch your programs slow to a crawl. The 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.
• 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.
About the technology
It’s easy to overload standard Python and watch your programs slow to a crawl. The 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.
年:
2022
出版商:
Manning Publications
語言:
english
頁數:
378
ISBN 10:
1617298662
ISBN 13:
9781617298660
文件:
PDF, 6.07 MB
你的標籤:
IPFS:
CID , CID Blake2b
english, 2022
該文件將發送到您的電子郵件地址。 您最多可能需要 1-5 分鐘收到它。
該文件將通過電報信使發送給您。 您最多可能需要 1-5 分鐘收到它。
注意:確保您已將您的帳戶鏈接到 Z-Library Telegram 機器人。
該文件將發送到您的 Kindle 帳戶。 您最多可能需要 1-5 分鐘就能收到它。
請注意:您需要驗證要發送到 Kindle 的每本書。 檢查您的郵箱是否有來自 Amazon Kindle 的驗證郵件。
轉換進行中
轉換為 失敗