{"product_id":"python-concurrency-with-asyncio-9781617298660","title":"Python Concurrency with Asyncio","description":"\u003cb\u003eLearn how to speed up slow Python code with concurrent programming and the cutting-edge asyncio library.\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e Use coroutines and tasks alongside async\/await syntax to run code concurrently\u003cbr\u003e Build web APIs and make concurrency web requests with aiohttp\u003cbr\u003e Run thousands of SQL queries concurrently\u003cbr\u003e Create a map-reduce job that can process gigabytes of data concurrently\u003cbr\u003e Use threading with asyncio to mix blocking code with asyncio code \u003cp\u003e\u003c\/p\u003e Python is flexible, versatile, and easy to learn. It can also be very slow compared to lower-level languages. \u003ci\u003ePython Concurrency with asyncio\u003c\/i\u003e 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. \u003cp\u003e\u003c\/p\u003ePurchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. \u003cp\u003e\u003c\/p\u003e About the technology\u003cbr\u003e 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. \u003cp\u003e\u003c\/p\u003e About the book\u003cbr\u003e \u003ci\u003ePython Concurrency with asyncio\u003c\/i\u003e 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. \u003cp\u003e\u003c\/p\u003e What's inside \u003cp\u003e\u003c\/p\u003e Build web APIs and make concurrency web requests with aiohttp\u003cbr\u003e Run thousands of SQL queries concurrently\u003cbr\u003e Create a map-reduce job that can process gigabytes of data concurrently\u003cbr\u003e Use threading with asyncio to mix blocking code with asyncio code \u003cp\u003e\u003c\/p\u003eAbout the reader\u003cbr\u003e For intermediate Python programmers. No previous experience of concurrency required. \u003cp\u003e\u003c\/p\u003e About the author\u003cbr\u003e \u003cb\u003eMatthew Fowler\u003c\/b\u003e has over 15 years of software engineering experience in roles from architect to engineering director. \u003cp\u003e\u003c\/p\u003eTable of Contents\u003cbr\u003e 1 Getting to know asyncio\u003cbr\u003e 2 asyncio basics\u003cbr\u003e 3 A first asyncio application\u003cbr\u003e 4 Concurrent web requests\u003cbr\u003e 5 Non-blocking database drivers\u003cbr\u003e 6 Handling CPU-bound work\u003cbr\u003e 7 Handling blocking work with threads\u003cbr\u003e 8 Streams\u003cbr\u003e 9 Web applications\u003cbr\u003e 10 Microservices\u003cbr\u003e 11 Synchronization\u003cbr\u003e 12 Asynchronous queues\u003cbr\u003e 13 Managing subprocesses\u003cbr\u003e 14 Advanced asyncio\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAbout the Author\u003c\/b\u003e\u003cbr\u003e\u003cb\u003eMatthew Fowler\u003c\/b\u003e has over 15 years of software engineering experience in roles from architect to engineering director. He has worked on Python codebases in the machine learning space, as well as led development of a Python-based ecommerce site with tens of millions of users.\u003cbr\u003e","brand":"Manning Publications","offers":[{"title":"Default Title","offer_id":51690529816850,"sku":"9781617298660","price":55.99,"currency_code":"USD","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0831\/4771\/8930\/files\/img_dc2d03c6-2b05-4ba3-aa9e-4e6e7caee490.jpg?v=1761738470","url":"https:\/\/surprise-castle.myshopify.com\/products\/python-concurrency-with-asyncio-9781617298660","provider":"Surprise Castle","version":"1.0","type":"link"}