Posts tagged: concurrency
- When Goroutines Aren't Worth It
2026-03-17 09:22 MDT
It's tempting to reach for goroutines whenever you see two independent operations. Two API calls? Two database queries? Spin up a goroutine, run them in parallel, cut your latency in half. Right? Sometimes. But often the added complexity buys you nothing measurable.
Read more → - Building a Worker Pool in Go
2026-03-29 17:00 MDT
When you have a list of tasks to run concurrently, the naive approach is to spin up one goroutine per task. That works until it doesn't. A worker pool gives you bounded concurrency, backpressure, and clean shutdown without much added complexity.
Read more → - How MVCC Works and Why Databases Use It
2026-04-26 20:25 MDT
Multi-version concurrency control lets readers and writers proceed without blocking each other. A breakdown of the core mechanics, and how PostgreSQL, CockroachDB, and MySQL InnoDB implement them.
Read more → - Runtime Choices in Distributed Systems
2026-03-25 15:30 MDT
The Raft algorithm is language-agnostic, but the runtime underneath it is not. GC pauses, CPU scheduling, and memory models shape which implementation strategies are even possible.
Read more →