Efficient Go: Data-Driven Performance Optimization
by Bartlomiej Plotka(Author)
Publisher finelybook 出版社: O’Reilly Media; (December 13, 2022)
Language 语言: English
Print Length 页数: 495 pages
ISBN-10: 1098105710
ISBN-13: 9781098105716
Book Description
By finelybook
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.
With this book, any engineer can learn how to approach software efficiency effectively, professionally, and without stress. 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. In addition, most content is language-agnostic, allowing you to bring small but effective habits to your programming or product management cycles.
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 open source projects like Prometheus, Jaeger, and Parca
Apply tools like go test, pprof, benchstat, and k6 to create reliable micro and macro benchmarks
Efficiently use Go and its features like slices, generics, goroutines, allocation semantics, garbage collection, and more!