Concurrency in Go
Sprache: Englisch
Verlag: Amazon Digital Services LLC - Kdp, 2025
- Softcover
- Neu

Anbieter: PBShop.store US, Wood Dale, IL, USAPBShop.store US
AbeBooks-Verkäufer/-in seit 7. April 2005
Zustand: Neu
EUR 26,95
Anzahl: Mehr als 20 verfügbar
In den WarenkorbArtikelbeschreibung vom Verkäufer
Bestandsnummer des Verkäufers L2-9798271760556
- Titel
- Concurrency in Go
- Autor
- J. Chaplin, Christopher
- Verlag
- Amazon Digital Services LLC - Kdp
- Veröffentlichungsjahr
- 2025
- Zustand
- New
- Einband
- PAP
- Sprache
- Englisch
- ISBN-13
- 9798271760556
- Artikelgewicht
- 435 Gramm
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:
- 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.
I 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.
„Inhaltsangabe“ gehört möglicherweise zu einer anderen Auflage dieses Titels.
PBShop.store US
Wood Dale, IL, USA
AbeBooks-Verkäufer/-in seit 7. April 2005
Versandkosten innerhalb von USA
| Artikel | 7 bis 14 Werktage | 7 bis 14 Werktage |
|---|---|---|
| Erster Artikel | EUR 0,00 | EUR 0,00 |
Zahlungsarten
Shop-Beschreibung
Spezialisierung
Hardbacks, PaperbacksUnternehmensdaten der Verkäuferin bzw. des Verkäufers
Pbshop.co.uk Ltd
Unit 22 Horcott Industrial Estate, Horcott Road
Fairford, Vereinigtes Königreich GL7 4BX
Verkaufsbedingungen
Returns Policy
We ask all customers to contact us for authorisation should they wish to return their order. Orders returned without authorisation may not be credited.
If you wish to return, please contact us within 14 days of receiving your order to obtain authorisation.
Returns requested beyond this time will not be authorised.
Our team will provide full instructions on how to return your order and once received our returns department will process your refund.
Please note the cost to return any unwanted order to us is borne by the buyer.
Should your order arrive damaged, not as advertised or faulty, we must be advised of this within 14 days of delivery. Please contact us so we can find the best solution for you.
Our Customer Care Team can be contacted via emailing paperback-us@paperbackshop.co.uk, or by calling our UK Office on +441285 712 917. We are available 9:00am till 5:30pm GMT weekdays and 9:00am till 1:00pm GMT on Saturdays.Returns Policy
We ask all customers to contact us for authorisation should they wish to return their order. Orders returned without authorisation may not be credited.
If you wish to return, please contact us within 14 days of receiving your order to obtain authorisation.
Returns requested beyond this time will not be authorised.
Our team will provide full instructions on how to return your order and once received our returns department will process your refund.
Please note the cost to return any unwanted order to us is borne by the buyer.
Should your order arrive damaged, not as advertised or faulty, we must be advised of this within 14 days of delivery. Please contact us so we can find the best solution for you.
Our Customer Care Team can be contacted via emailing paperback-us@paperbackshop.co.uk, or by calling our UK Office on +441285 712 917. We are available 9:00am till 5:30pm GMT weekdays and 9:00am till 1:00pm GMT on Saturdays.
Widerrufsrecht
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 PBShop.store US, Springfield Gardens, New York, U.S.A., +44 1285 712917, 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:
- Die Lieferung von Zeitungen, Zeitschriften oder Magazinen mit Ausnahme von Abonnementverträgen; und
- Die Lieferung digitaler Inhalte, die nicht auf einem physischen Medium (z. B. auf einer CD oder DVD) geliefert werden, wenn Sie bei Ihrer Bestellung akzeptiert haben, dass wir mit der Lieferung beginnen können und dass Sie nach Beginn der Lieferung den Vertrag nicht mehr widerrufen können.
Versandbedingungen
Books are shipped from our US or UK warehouses. Delivery estimates allow for delivery from either location.