KI-Beratung Beta

Produktbild: Python Concurrency with asyncio

Python Concurrency with asyncio

  • Form:Einzelkauf Download
  • Sprache:Englisch

49,44 €

inkl. gesetzl. MwSt.

Beschreibung

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...

Beschreibung

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. 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.
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.
Table of Contents
1 Getting to know asyncio
2 asyncio basics
3 A first asyncio application
4 Concurrent web requests
5 Non-blocking database drivers
6 Handling CPU-bound work
7 Handling blocking work with threads
8 Streams
9 Web applications
10 Microservices
11 Synchronization
12 Asynchronous queues
13 Managing subprocesses
14 Advanced asyncio

Produktdetails

Format

ePUB

Kopierschutz

Ja

Family Sharing

Ja

Text-to-Speech

Ja

Produktdetails

Format

ePUB

Format

eBooks im ePUB-Format erlauben eine dynamische Anpassung des Inhalts an die jeweilige Display-Größe des Lesegeräts. Das Format eignet sich daher besonders für das Lesen auf mobilen Geräten, wie z.B. Ihrem tolino, Tablets oder Smartphones.

Kopierschutz

Ja

Kopierschutz

Zum Lesen dieses eBooks auf Geräten der tolino Familie sowie auf sonstigen eReadern und am PC benötigen Sie eine ByteBook-ID. Weitere Hinweise zum Lesen von kopiergeschützten eBooks finden Sie unter Hilfe/Downloads.

Family Sharing

Ja

Family Sharing

Mit Family Sharing können Sie eBooks innerhalb Ihrer Familie (max. sechs Mitglieder im gleichen Haushalt) teilen. Sie entscheiden selbst, welches Buch Sie mit welchem Familienmitglied teilen möchten. Auch das parallele Lesen durch verschiedene Familienmitglieder ist durch Family Sharing möglich. Um eBooks zu teilen oder geteilt zu bekommen, muss jedes Familienmitglied ein Konto bei Thalia oder einem anderen tolino-Buchhändler haben. Weitere Informationen finden Sie unter Hilfe/Family-Sharing.

Text-to-Speech

Ja

Text-to-Speech

Bedeutet Ihnen Stimme mehr als Text? Mit der Funktion Text-to-Speech können Sie sich im tolino webReader und in der aktuellen Thalia – Lesen & Hören App das eBook vorlesen lassen. Weitere Informationen finden Sie unter Hilfe/Text-to-Speech.

Erscheinungsdatum

15.03.2022

Verlag Manning
Seitenzahl

376 (Printausgabe)

Dateigröße

2467 KB

Sprache

Englisch

EAN

9781638357087

Barrierefreiheit
  • keine Vorlesefunktionen des Lesesystems deaktiviert

Noch keine Bewertungen vorhanden

Verfassen Sie die erste Bewertung zu diesem Artikel

Helfen Sie anderen Kundinnen und Kunden durch Ihre Meinung.

Kundinnen und Kunden meinen

Bewertungen (0)

Weitere Artikel finden Sie in

Die Leseprobe wird geladen.
  • Produktbild: Python Concurrency with asyncio