Python Concurrency with asyncio

Python Concurrency with asyncio
Matthew Fowler
RRP:
NZ$ 123.99
Our Price:
NZ$ 116.55
Paperback
Not defined - 325pg
22 Mar 2022 US
International import eta 7-19 days
9781617298660
Out Of Stock
Currently no stock in-store, stock is sourced to your order
"This is one of the best technical books I' ve ever read. The writing is so good, and it covers an incredible amount of knowledge. Hands down, this is the best reference material on using asyncio anywhere. " - Kent R. Spillner Learn how to speed up slow Python code with concurrent programming and the cutting-edge asyncio library. 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 technologyThe time demands of running code synchronously quickly overload standard Python and slow your programs to a crawl. Python' s Asynchronous I/O library asyncio was built to solve these performance problems by making it easy to divide and schedule computational tasks so they can be run independently. asyncio concurrently handles multiple operations without a drop in throughput or responsiveness, making your apps lightning fast and easier to scale. about the bookPython Concurrency with asyncio teaches you to write concurrent Python code that will boost the speed of your apps and APIs. The book demystifies asynchio' s unique single-threaded concurrency model, giving you a behind-the-scenes understanding of the library and its new async/await syntax. Hard-to-grok concurrency topics are broken down into simple flowcharts so you can easily see how your coroutines and tasks are running. You' ll learn to apply asyncio to solve common performance problems, such as batch database jobs, slow web servers, and scaling microservices. All examples you' ll build are designed to be usable in the real world, including a clever command line SQL client that can run multiple slow queries at the same time. By the time you' re done, you' ll even be able to combine asyncio with traditional multiprocessing and multithreading techniques for huge improvements to performance. what' s insideUse coroutines and tasks alongside async/await syntax to run code concurrentlyBuild web APIs and make concurrency web requests with aiohttpRun thousands of SQL queries concurrentlyCreate a map-reduce job that can process gigabytes of data concurrentlyUse threading with asyncio to mix blocking code with asyncio code about the readerFor intermediate Python programmers. No previous experience of concurrency required. about the authorMatthew Fowler 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.
"Read this to write better, faster, leaner Python services!" Dimitrios Kouzis-Loukas "Do you want to understand Concurrency in Python? Because you' ve been doing it wrong. " Didier Garcia "Understanding the information in this book would make all of us better Python programmers. " Charles M. Shelton "This is one of the best technical books I' ve ever read. The writing is so good, and it covers an incredible amount of knowledge. Hands down, this is the best reference material on using asyncio anywhere. " Kent R. Spillner "The book is excellent, I really liked the author' s approach and the examples that were brought to explain the concepts. " William Jamir Silva "Even if you think you know asyncio then you should read this book to find out about the parts that you actually knew nothing about!" Richard Vaughan
Matthew Fowler 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.

In stock - for items in stock we aim to dispatch the next business day. For delivery in NZ allow 2-5 business days, with rural taking a wee bit longer.

Locally sourced in NZ - stock comes from a NZ supplier with an approximate delivery of 7-15 business days.

International Imports - stock is imported into NZ, depending on air or sea shipping option from the international supplier stock can take 10-30 working days to arrive into NZ. 

Pre-order Titles - delivery will vary depending on where the title is published, if local stock is available in NZ then 5-7 business days, for international imports it can be 10-30 business days. In all cases we will access the quickest supply option.

Delivery Packaging - we ship all items in cardboard sleeves or by box with either packing paper or corn starch chips. (We avoid using plastics bubble bags)

Tracking - Orders are delivered by track and trace courier and are fully insured, tracking information will be sent by email once dispatched.

View our full Order & Delivery information