Bartek Płotka

Bartłomiej (Bartek) Płotka

Senior SWE Tech Lead @ Google

Prometheus Steering Committee & Maintainer | Author of “Efficient Go” book | Co-Founder of CNCF Thanos | Host of “Optimize All The Things” Podcast

Efficient Go by Bartłomiej Płotka — O'Reilly Book Cover
O'REILLY®
Efficient Go

With technological advancements, fast markets, and higher complexity of systems, software engineers tend to skip the uncomfortable topic of software efficiency. However, tactical, observability-driven performance optimizations are vital for every product to save money and ensure business success.

Author Bartłomiej Płotka provides the tools and knowledge required to make your systems faster and less resource-hungry. Efficient Go guides you in achieving better day-to-day efficiency using Go.

This book shows you how to:
  • Clarify and negotiate efficiency goals
  • Optimize efficiency on various levels
  • Use common resources like CPU and memory effectively
  • Assess efficiency using observability signals like metrics, logging, tracing, and continuous profiling via Prometheus, Jaeger, and Parca
  • Apply tools like go test, pprof, benchstat, and k6 to create reliable micro and macro benchmarks
  • Efficiently use Go features like slices, generics, goroutines, allocation semantics, garbage collection, and more!

“Efficient Go is a marvelous and insightful book that changes your outlook on software efficiency with Go. You learn how to make data-driven assessments while optimizing your code base and identifying optimizable patterns. It simply makes it easy for you and makes you want to care about the efficiency of your code as soon as you type it!”

—Saswata Mukherjee
Engineer at Red Hat

Bartłomiej Płotka is a principal software engineer with a background in observability and SRE. He’s a CNCF Ambassador, TAG Observability tech lead, and cofounder of the Thanos project. He’s also a core maintainer of other open-source projects written in Go, including Prometheus and bingo.

pprof // bwplotka.dev/posts
All Blog Posts (22 articles · ~195 min total reading time) Showing all 22 engineering articles across Go & Efficiency, Prometheus & Observability, Thanos, and Open Source.

Blog Posts (22 articles)