LYX Knowledge
Search
K
Home
Playbook
Golang
MySQL
Redis
English
简体中文
English
Theme
Languages
English
简体中文
English
Menu
ON THIS PAGE
#
Golang Concurrency
Copy Markdown
#
Design Rules
Every goroutine must have a shutdown path.
Use channels for coordination, not for business state.
Timeouts and cancellation should be driven by
context
.
#
Key Patterns
fan-out / fan-in
worker pool
pipeline