Posts tagged: go
- 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 → - Adding Full-Stack Observability to a Go Worker Pool
2026-03-31 15:00 MDT
How to add metrics, logs, and traces to a Go worker pool using Prometheus, Loki, Tempo, and Grafana, with every import and config line explained.
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 → - Highlights and Insights from GopherCon 2025
2025-09-24 08:00 MDT
A long-overdue impression from this year’s GopherCon, which took place in New York from August 26th to 28th.
Read more → - Go Pointers: Stack vs Heap
2026-02-17 13:30
Clarifying the misconception that passing pointers always causes heap allocations in Go with practical examples.
Read more → - A Guide to Using Built-in Profiling Tools in Go
2025-10-07 11:00 MDT
Profiling helps you identify where your program spends time and memory. Go provides built-in tools to collect and analyze this data. This guide covers profiling, benchmarks, and tracing, including examples and instructions for interpreting results.
Read more → - Developing a QR Code Generator: Build Interactive CLI Apps Using Bubble Tea
2025-09-28 21:00 MDT
Build a QR code generator CLI with a gopher mascot overlay using Bubble Tea's MVU architecture for easy and modular development
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 → - The "One-Way Street" Problem: Why We Clone Request Bodies in Go
2026-04-19 12:25 MDT
If you're coming from languages like Python or Java, Go's handling of HTTP request bodies might feel like a trap. We try to read a request body twice (e.g. once for logging and once for processing) and the second time, it's mysteriously empty.
Read more → - How to check if variables escape to the heap?
2026-02-09 09:20
Learn how to identify when variables escape to the heap in Go using -gcflags and how to interpret the garbage collector's output.
Read more →