Tagged articles

Goroutine

108 articles · Page 2 of 2
UCloud Tech
UCloud Tech
Oct 25, 2018 · Backend Development

Why Go 1.8’s ForkLock Can Hang Goroutines and How Go 1.9 Solves It

The article investigates a Go 1.8.3 issue where goroutines block on ForkLock during fork‑exec, analyzes the kernel and Go runtime behavior, presents a hypothesis about memory‑heavy processes, validates it with experiments, and shows that upgrading to Go 1.9 or later eliminates the problem.

GoGoroutineconcurrency
0 likes · 7 min read
Why Go 1.8’s ForkLock Can Hang Goroutines and How Go 1.9 Solves It
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Jun 22, 2018 · Backend Development

Master Go Channels: From Basics to Advanced Patterns

This article explains Go's channel primitive in depth, covering its conceptual model, types, operations, internal queues, rule scenarios, practical code examples, and best‑practice tips for building clear and efficient concurrent programs.

ChannelGoGo Programming
0 likes · 12 min read
Master Go Channels: From Basics to Advanced Patterns
Alibaba Cloud Native
Alibaba Cloud Native
May 17, 2018 · Backend Development

Detecting and Preventing Goroutine Leaks in PouchContainer

This article explains what goroutine leaks are, demonstrates how they occur in Alibaba's PouchContainer runtime, and provides practical detection methods and code‑level fixes using net/http/pprof, runtime.NumGoroutine, and CloseNotifier to keep Go services healthy.

Goroutinecontainer runtimeleak detection
0 likes · 14 min read
Detecting and Preventing Goroutine Leaks in PouchContainer
High Availability Architecture
High Availability Architecture
Mar 2, 2016 · Fundamentals

Understanding Concurrency: Threads, Goroutine, Actor Model, and Thread‑Pool Strategies

This article explores the fundamentals of concurrency versus parallelism, the challenges of writing correct concurrent programs, the evolution from OS threads to green threads, Goroutine scheduling, actor‑model concepts, and modern strategies such as thread pools, async callbacks, and Rust's ownership model.

GoroutineThreadsactor-model
0 likes · 20 min read
Understanding Concurrency: Threads, Goroutine, Actor Model, and Thread‑Pool Strategies