Go Concurrency Patterns - Goroutines and Channels in Production
Advanced Go concurrency patterns using goroutines and channels, with real-world examples from high-throughput systems.
12 posts
Advanced Go concurrency patterns using goroutines and channels, with real-world examples from high-throughput systems.
Migrated from REST to gRPC microservices in Go - latency 100ms → 5ms (95% reduction), throughput 10x higher
Profiling and optimizing Go applications - reducing CPU usage by 60% and memory by 70% using pprof, benchmarks, and real production examples
Exploring Go 1.13's new features including error wrapping, module improvements, and number literals.
Practical error handling patterns in Go, including wrapping, custom errors, and strategies for building robust microservices
Exploring Go modules (vgo) - Go's new official dependency management system introduced in Go 1.11.
Real-world patterns for using context.Context in Go microservices, including cancellation, timeouts, and request-scoped values
Building robust concurrent systems in Go - worker pools, pipelines, context cancellation, and avoiding common pitfalls
Best practices for designing and using interfaces in Go - keep them small, focused, and composable.
Practical lessons from building and deploying Go microservices in production over the past year.
Practical Go concurrency patterns I use in production code - worker pools, fan-out/fan-in, and timeouts.
My thoughts on Go's error handling approach after 6 months of writing production Go code.