Tagged articles

ErrGroup

8 articles · Page 1 of 1
Golang Shines
Golang Shines
May 25, 2026 · Backend Development

Why Go Is the Go-To Language for High-Concurrency Backend Services

The article explains why backend engineers are switching from PHP to Go for high‑concurrency workloads, demonstrates how Go’s goroutine model reduces request latency compared with serial PHP calls, provides concrete WaitGroup and errgroup implementations, and warns about closure capture pitfalls in loops.

ConcurrencyErrGroupGo
0 likes · 10 min read
Why Go Is the Go-To Language for High-Concurrency Backend Services
TonyBai
TonyBai
Apr 16, 2026 · Backend Development

Why Go’s ‘go’ Statement Is the New Goto and How Four Rules Tame Runaway Goroutines

The article analyzes how Go’s cheap ‘go’ keyword, while democratizing concurrency, creates fire‑and‑forget pitfalls that lead to resource leaks, deadlocks, and testing headaches, and presents a research‑backed structured‑concurrency discipline defined by four concrete principles, code patterns, and a community library.

ConcurrencyErrGroupGo
0 likes · 16 min read
Why Go’s ‘go’ Statement Is the New Goto and How Four Rules Tame Runaway Goroutines
Raymond Ops
Raymond Ops
Mar 6, 2025 · Backend Development

Why Switch from PHP to Go? Mastering Concurrency with WaitGroup and ErrGroup

This article explains why backend developers are moving from PHP to Go, outlines the concurrency challenges of high‑traffic live streaming services, and demonstrates two practical Go patterns—sync.WaitGroup and errgroup.Group—with code examples, while also warning about common closure pitfalls in loops.

ConcurrencyErrGroupGo
0 likes · 9 min read
Why Switch from PHP to Go? Mastering Concurrency with WaitGroup and ErrGroup
MaGe Linux Operations
MaGe Linux Operations
May 22, 2024 · Backend Development

Why Switch from PHP to Go? Boosting Live‑Streaming Concurrency

The article explains why a backend developer moved from PHP to Go, highlights Go’s popularity and simplicity, and demonstrates how Go’s concurrency primitives like sync.WaitGroup and errgroup can transform serial live‑stream data fetching into parallel execution, drastically reducing request latency.

Backend DevelopmentConcurrencyErrGroup
0 likes · 9 min read
Why Switch from PHP to Go? Boosting Live‑Streaming Concurrency
High Availability Architecture
High Availability Architecture
May 13, 2022 · Backend Development

Error Handling and Errgroup Usage in Go

This article explains Go's built-in error interface, distinguishes errors from exceptions, compares three common error-handling patterns, discusses wrapping errors with packages like pkg/errors, and demonstrates centralized error handling using errgroup, including usage examples and best-practice recommendations for backend Go development.

ConcurrencyErrGroupError handling
0 likes · 17 min read
Error Handling and Errgroup Usage in Go
Tencent Cloud Developer
Tencent Cloud Developer
May 9, 2022 · Backend Development

Error Handling and ErrGroup Patterns in Go

The article explains Go’s built‑in error interface, distinguishes errors, exceptions and panics, presents three handling patterns—classic returns, stateful objects, and functional deferred execution—shows how to wrap errors for context, and demonstrates using the errgroup concurrency primitive (including an extended version) for safe parallel processing.

Backend DevelopmentErrGroupError handling
0 likes · 15 min read
Error Handling and ErrGroup Patterns in Go