Concurrency in Go (Paperback)
Christopher J. Chaplin
Verkauft von Grand Eagle Retail, Bensenville, IL, USA
AbeBooks-Verkäufer seit 12. Oktober 2005
Neu - Softcover
Zustand: Neu
Versand innerhalb von USA
Anzahl: 1 verfügbar
In den Warenkorb legenVerkauft von Grand Eagle Retail, Bensenville, IL, USA
AbeBooks-Verkäufer seit 12. Oktober 2005
Zustand: Neu
Anzahl: 1 verfügbar
In den Warenkorb legenPaperback. Does your application freeze under heavy load? Do your users complain about slow response times? Are you afraid of starting a new goroutine because you've heard horror stories about "data races" and "goroutine leaks"?If so, you're not alone. Concurrency is one of the most difficult topics in programming. In many languages, it's an "expert-only" feature, full of traps that can crash your entire application.But Go was built to change this. Go's core philosophy is: "Don't communicate by sharing memory; instead, share memory by communicating."This simple shift in thinking is the key to writing clean, safe, and efficient code. In this book, I'll guide you through that mental shift. I won't just show you what to type; I'll show you why you're typing it. We will move from a simple "Hello, Goroutine!" to building complex, fault-tolerant systems that can gracefully handle thousands of requests, all without fear.What's InsideThis book is packed with practical examples, code walkthroughs, and real-world patterns. You will learn: The Foundation: The critical difference between concurrency (managing tasks) and parallelism (doing tasks).Goroutines & WaitGroups: How to launch goroutines with the go keyword and how to correctly wait for them to finish using sync.WaitGroup.Channels: A deep dive into Go's "pipes." We'll cover buffered vs. unbuffered channels, directional channels, and how to use for range to process data streams.The select Statement: How to manage multiple channels at once, implement timeouts, and build responsive workers.Traditional Concurrency: When not to use a channel. You'll learn to use sync.Mutex and sync.RWMutex to protect shared state.The context Package: This is the most important tool for building reliable servers. You'll master cancellation, timeouts, and deadlines to prevent goroutine leaks forever.Production-Ready Patterns: We'll build a Worker Pool, a Rate Limiter, a Circuit Breaker, and use the powerful errgroup package to manage parallel tasks.Testing & Debugging: How to prove your code is safe with Go's "superpower," the Race Detector. You'll also learn to find leaks with pprof and measure your speed with benchmarks.Who It's Meant ForI wrote this book for you if: You are a Go developer who is comfortable with the language basics (structs, functions, interfaces) but feels "stuck" or "intimidated" when it comes to the go keyword.You are a backend engineer who needs to build high-performance APIs, microservices, or data pipelines that can handle high throughput.You are a developer from another language (like Python, Java, or C#) and find traditional multi-threading to be complex, difficult, and full of bugs.Stop guessing about concurrency. Stop worrying about data races and mysterious crashes. The ability to write safe, fast, and concurrent code is what separates a good Go programmer from a great one.This book provides the tools, the patterns, and the mental models you need to write concurrent code with confidence.Your journey to building truly professional, high-performance Go applications starts right here. Let's get started. This item is printed on demand. Shipping may be from multiple locations in the US or from the UK, depending on stock availability.
Bestandsnummer des Verkäufers 9798271760556
Does your application freeze under heavy load? Do your users complain about slow response times? Are you afraid of starting a new goroutine because you've heard horror stories about "data races" and "goroutine leaks"?
If so, you're not alone. Concurrency is one of the most difficult topics in programming. In many languages, it's an "expert-only" feature, full of traps that can crash your entire application.
But Go was built to change this. Go's core philosophy is:
"Don't communicate by sharing memory; instead, share memory by communicating."
This simple shift in thinking is the key to writing clean, safe, and efficient code. In this book, I'll guide you through that mental shift. I won't just show you what to type; I'll show you why you're typing it. We will move from a simple "Hello, Goroutine!" to building complex, fault-tolerant systems that can gracefully handle thousands of requests, all without fear.
What's Inside
This book is packed with practical examples, code walkthroughs, and real-world patterns. You will learn:
I wrote this book for you if:
Stop guessing about concurrency. Stop worrying about data races and mysterious crashes. The ability to write safe, fast, and concurrent code is what separates a good Go programmer from a great one.
This book provides the tools, the patterns, and the mental models you need to write concurrent code with confidence.
Your journey to building truly professional, high-performance Go applications starts right here. Let's get started.
„Über diesen Titel“ kann sich auf eine andere Ausgabe dieses Titels beziehen.
We guarantee the condition of every book as it¿s described on the Abebooks web sites. If you¿ve changed
your mind about a book that you¿ve ordered, please use the Ask bookseller a question link to contact us
and we¿ll respond within 2 business days.
Books ship from California and Michigan.
Wenn Sie Verbraucher sind, können Sie gemäß den folgenden Bestimmungen vom Vertrag zurücktreten. Verbraucher ist jede natürliche Person, die zu Zwecken handelt, die nicht ihrer kaufmännischen, gewerblichen, künstlerischen oder beruflichen Tätigkeit zugerechnet werden können.
Informationen zum Widerrufsrecht
Gesetzliches Widerrufsrecht
Sie haben das Recht, den Vertrag innerhalb von 14 Tagen ohne Angabe von Gründen zu widerrufen.
Die Widerrufsfrist beträgt 14 Tage ab dem Tag, an dem Sie oder ein von Ihnen benannter Dritter, der nicht der Transporteur ist, die letzte Ware oder den letzten Posten oder das letzte Exemplar in Besitz genommen hat.
Um das Widerrufsrecht auszuüben, füllen Sie auf unserer Website unter „Meine Einkäufe" in „Mein Nutzerkonto" eine eindeutige Erklärung elektronisch aus und senden Sie sie ab. Wir werden Ihnen unverzüglich eine Bestätigung über den Eingang eines solchen Widerrufs auf einem dauerhaften Datenträger (z. B. per E-Mail) übermitteln.
Um die Widerrufsfrist einzuhalten, reicht es aus, dass Sie Ihre Mitteilung über die Ausübung des Widerrufsrechts vor Ablauf der Widerrufsfrist absenden.
Auswirkungen des Widerrufs
Wenn Sie diesen Vertrag widerrufen, erstatten wir Ihnen alle Zahlungen, die wir von Ihnen erhalten haben, einschließlich der Lieferkosten (mit Ausnahme der zusätzlichen Kosten, die entstehen, wenn Sie eine andere Art der Lieferung als die von uns angebotene günstigste Standardlieferung gewählt haben).
Wir können einen Abzug von der Rückerstattung für den Wertverlust der gelieferten Waren vornehmen, wenn der Verlust auf eine unnötige Behandlung durch Sie zurückzuführen ist.
Wir werden die Rückerstattung unverzüglich und nicht später als 14 Tage nach dem Tag vornehmen, an dem wir über Ihre Entscheidung, diesen Vertrag zu widerrufen, informiert wurden.
Für die Rückerstattung verwenden wir dasselbe Zahlungsmittel, das Sie für die ursprüngliche Transaktion verwendet haben, es sei denn, Sie haben ausdrücklich etwas anderes vereinbart; in keinem Fall werden Ihnen aufgrund einer solchen Rückerstattung Gebühren berechnet.
Wir können die Rückzahlung verweigern, bis wir die Waren wieder zurückerhalten haben oder Sie den Nachweis erbracht haben, dass Sie die Waren zurückgesandt haben, je nachdem, was eher eintritt.
Sie müssen die Waren unverzüglich und in jedem Fall spätestens 14 Tage ab dem Tag, an dem Sie uns über den Widerruf dieses Vertrags unterrichten, an Grand Eagle Retail, Bensenville, Illinois, U.S.A., zurücksenden oder übergeben. Die Frist ist eingehalten, wenn Sie die Ware vor Ablauf der Frist von 14 Tagen zurücksenden. Sie müssen die direkten Kosten der Rücksendung der Waren tragen. Sie haften nur für einen etwaigen Wertverlust der Waren, der auf eine Behandlung zurückzuführen ist, die nicht zur Prüfung der Art, Eigenschaften und Funktionsweise der Waren erforderlich ist.
Ausnahmen vom Widerrufsrecht
Das Widerrufsrecht gilt nicht für:
Orders usually ship within 2 business days. All books within the US ship free of charge. Delivery is 4-14 business days anywhere in the United States.
Books ship from California and Michigan.
If your book order is heavy or oversized, we may contact you to let you know extra shipping is required.
| Bestellmenge | 6 bis 16 Werktage | 6 bis 14 Werktage |
|---|---|---|
| Erster Artikel | EUR 0.00 | EUR 0.00 |
Die Versandzeiten werden von den Verkäuferinnen und Verkäufern festgelegt. Sie variieren je nach Versanddienstleister und Standort. Sendungen, die den Zoll passieren, können Verzögerungen unterliegen. Eventuell anfallende Abgaben oder Gebühren sind von der Käuferin bzw. dem Käufer zu tragen. Die Verkäuferin bzw. der Verkäufer kann Sie bezüglich zusätzlicher Versandkosten kontaktieren, um einen möglichen Anstieg der Versandkosten für Ihre Artikel auszugleichen.