Four seconds of waiting. Eleven milliseconds of work.
That is Skylark in chapter one: a flight-price aggregator that asks three airlines for a fare and holds a thread hostage through almost all of it.
Ten chapters later the same program queries forty carriers inside a two-second budget, streams each price to the browser as it lands, scores fifty thousand itineraries across eight cores, and cancels every outbound call the moment a user closes the tab. At two hundred requests a second its median response time is seventy milliseconds worse than at idle.
One program, rebuilt in the open. Every change comes with a measurement you can reproduce.
Plenty of C# developers type async and await daily and would struggle to say what happens to the calling thread when execution reaches an await, or why a service that looks perfectly healthy quietly stops answering under load. This book replaces pattern matching with a model.
Written for developers who already know C# — generics, LINQ, the shape of a .NET project. No prior multithreading experience assumed; chapter two starts from what a thread is.
Code targets .NET 10 LTS, with a closing chapter on .NET 11. A quick-reference appendix collects the combinators, the cancellation API, the diagnostic commands, and a table of anti-patterns with what to write instead.
Les informations fournies dans la section « Synopsis » peuvent faire référence à une autre édition de ce titre.
Vendeur : California Books, Miami, FL, Etats-Unis
Etat : New. Print on Demand. N° de réf. du vendeur I-9798171394431
Quantité disponible : Plus de 20 disponibles
Vendeur : PBShop.store UK, Fairford, GLOS, Royaume-Uni
PAP. Etat : New. New Book. Shipped from UK. Established seller since 2000. N° de réf. du vendeur L2-9798171394431
Quantité disponible : Plus de 20 disponibles