Async Python Mastery (Paperback)
Malte Eisenberg
Venduto da CitiRetail, Stevenage, Regno Unito
Venditore AbeBooks dal 29 giugno 2022
Nuovi - Brossura
Condizione: Nuovo
Spedito da Regno Unito a U.S.A.
Quantità: 1 disponibili
Aggiungere al carrelloVenduto da CitiRetail, Stevenage, Regno Unito
Venditore AbeBooks dal 29 giugno 2022
Condizione: Nuovo
Quantità: 1 disponibili
Aggiungere al carrelloPaperback. Stop Letting Your Python Apps Wait Around. Make Them Fly.Your web scraper takes hours to crawl thousands of URLs. Your API server handles requests one at a time while users sit watching loading spinners. Your data pipeline processes records sequentially, wasting precious wall-clock time on the network.You've heard async programming could fix all of this. You've seen the async and await keywords. But the explanations either skip the fundamentals you actually need or drown you in low-level event-loop theory you'll never use.Async Python Mastery is the practical, no-magic guide that takes you from confused to confident.What You'll BuildFastAPI services that serve hundreds of concurrent requests on a single coreWeb scrapers that fetch thousands of pages in seconds, not hoursDatabase layers using async SQLAlchemy, asyncpg, and Motor that don't block on every queryProduction systems with proper timeouts, retries, circuit breakers, and graceful shutdownReal-world applications that mix async, threads, and processes intelligently What Makes This Book DifferentBuilt around real production code. Every example targets Python 3.11+ and uses modern patterns: asyncio.TaskGroup, asyncio.timeout(), FastAPI's lifespan context manager, and redis.asyncio. No deprecated APIs. No tutorial-grade fragments that fall over in production.Honest about trade-offs. You'll learn when async is the wrong choice. When threading wins. When multiprocessing is your only option. The book includes a Decision Matrix you'll come back to whenever you're starting a new project.Code-heavy, jargon-light. Every concept is grounded in code you can run. Every chapter ends with Quick Reference tables, Action Steps, and a "Coming Up" preview so you always know where you are.Inside You'll MasterHow the asyncio event loop actually schedules your tasks (and why blocking it kills performance)Coroutines, tasks, and the modern structured concurrency patterns from Python 3.11+Building production-grade async APIs with FastAPI, including lifespan management and dependency injectionAsync database operations with connection pooling, transactions, and N+1 query avoidanceHigh-throughput web scraping with semaphore-based rate limiting and exponential backoffReal-world patterns: aggregating multiple APIs, streaming responses, WebSockets, cachingConcurrency pitfalls: race conditions, missing awaits, session leaks, and the bugs type checkers can catchChoosing between async, threading, and multiprocessing for any workloadProduction deployment: Uvicorn workers, monitoring with Sentry, structured logging, graceful shutdown, Docker, and Nginx configuration Who This Book Is ForIntermediate Python developers who can write clean synchronous code but feel lost the moment async enters the picture. You don't need prior async experience-just comfort with Python fundamentals: functions, classes, decorators, exception handling, and the standard library.What You Get10 focused chapters across 200+ pages. Two appendices with quick-reference patterns and a common-patterns library. Real case studies drawn from production systems (composite, with the names changed but the bugs and trade-offs preserved). Code examples tested on Python 3.11 and 3.12.Stop fighting your code. Start writing Python that scales. This item is printed on demand. Shipping may be from our UK warehouse or from our Australian or US warehouses, depending on stock availability.
Codice articolo 9798195243739
Your web scraper takes hours to crawl thousands of URLs. Your API server handles requests one at a time while users sit watching loading spinners. Your data pipeline processes records sequentially, wasting precious wall-clock time on the network.
You've heard async programming could fix all of this. You've seen the async and await keywords. But the explanations either skip the fundamentals you actually need or drown you in low-level event-loop theory you'll never use.
Async Python Mastery is the practical, no-magic guide that takes you from confused to confident.
What You'll BuildBuilt around real production code. Every example targets Python 3.11+ and uses modern patterns: asyncio.TaskGroup, asyncio.timeout(), FastAPI's lifespan context manager, and redis.asyncio. No deprecated APIs. No tutorial-grade fragments that fall over in production.
Honest about trade-offs. You'll learn when async is the wrong choice. When threading wins. When multiprocessing is your only option. The book includes a Decision Matrix you'll come back to whenever you're starting a new project.
Code-heavy, jargon-light. Every concept is grounded in code you can run. Every chapter ends with Quick Reference tables, Action Steps, and a "Coming Up" preview so you always know where you are.
Inside You'll MasterIntermediate Python developers who can write clean synchronous code but feel lost the moment async enters the picture. You don't need prior async experience—just comfort with Python fundamentals: functions, classes, decorators, exception handling, and the standard library.
What You Get10 focused chapters across 200+ pages. Two appendices with quick-reference patterns and a common-patterns library. Real case studies drawn from production systems (composite, with the names changed but the bugs and trade-offs preserved). Code examples tested on Python 3.11 and 3.12.
Stop fighting your code. Start writing Python that scales.
Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.
Visita la pagina della libreria
Orders can be returned within 30 days of receipt.
Se sei un consumatore puoi recedere dal contratto in conformità con quanto segue. Per Consumatore si intende qualsiasi persona fisica che agisce per scopi estranei alla propria attività commerciale, imprenditoriale, artigianale o professionale.
Informazioni sul diritto di recesso
Diritto legale di recesso
Hai il diritto di recedere dal presente contratto entro 14 giorni senza fornire alcuna motivazione.
Il periodo di recesso scade dopo 14 giorni dal giorno in cui tu o una terza parte, diversa dal vettore e da te indicata, acquisisce il possesso fisico dell'ultimo bene o dell'ultimo lotto o pezzo.
Per esercitare il diritto di recesso, compila e invia elettronicamente una dichiarazione esplicita sul nostro sito Web, alla voce “I miei acquisti” nella sezione “Mio account”. Ti comunicheremo senza indugio una conferma di ricezione di tale recesso su un supporto durevole (ad es. via e-mail).
Per rispettare il termine di recesso, è sufficiente inviare la comunicazione relativa all'esercizio del diritto di recesso prima della scadenza del periodo di recesso stesso.
Effetti del recesso
In caso di recesso dal presente contratto, ti rimborseremo tutti i pagamenti ricevuti, compresi i costi di spedizione (ad eccezione dei costi supplementari derivanti dalla tua eventuale scelta di un tipo di spedizione diverso dal tipo meno costoso di consegna standard da noi offerto).
Potremo effettuare una detrazione dal rimborso per la perdita di valore dei beni forniti, qualora tale perdita sia il risultato di una manipolazione non necessaria da parte tua.
Eseguiremo il rimborso senza indebito ritardo e non oltre 14 giorni dal giorno in cui saremo informati della tua decisione di recedere dal presente contratto.
Il rimborso sarà effettuato utilizzando lo stesso mezzo di pagamento da te usato per la transazione iniziale, salvo che tu non abbia espressamente concordato altrimenti; in ogni caso, non dovrai sostenere alcun costo quale conseguenza di tale rimborso.
Possiamo trattenere il rimborso finché non avremo ricevuto i beni oppure finché non avrai fornito la prova di averli rispediti, a seconda di quale condizione si verifichi per prima.
Dovrai rispedire i beni o consegnarli a CitiRetail, Stevenage, United Kingdom, senza indebito ritardo e, in ogni caso, entro 14 giorni dal giorno in cui ci hai comunicato la tua volontà di recedere dal presente contratto. Il termine è rispettato se rispedisci i beni prima della scadenza del periodo di 14 giorni. I costi diretti della restituzione dei beni saranno a tuo carico. Sei responsabile solo della diminuzione del valore dei beni risultante da una manipolazione diversa da quella necessaria per stabilire la natura, le caratteristiche e il funzionamento dei beni stessi.
Eccezioni al diritto di recesso
Il diritto di recesso non si applica a:
Please note that titles are dispatched from our US, Canadian or Australian warehouses. Delivery times specified in shipping terms. Orders ship within 2 business days. Delivery to your door then takes 7-14 days.
| Quantità dell'ordine | Da 7 a 60 giorni lavorativi | Da 7 a 14 giorni lavorativi |
|---|---|---|
| Primo articolo | EUR 43.24 | EUR 43.24 |
I tempi di consegna sono stabiliti dai venditori e variano in base al corriere e al paese. Gli ordini che devono attraversare una dogana possono subire ritardi e spetta agli acquirenti pagare eventuali tariffe o dazi associati. I venditori possono contattarti in merito ad addebiti aggiuntivi dovuti a eventuali maggiorazioni dei costi di spedizione dei tuoi articoli.