Efficient Go: Data-Driven Performance Optimization

Plotka, Bartlomiej

買這商品的人也買了...

相關主題

商品描述

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 Bartlomiej Plotka 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!

商品描述(中文翻譯)

隨著科技的進步、市場的快速變化和系統複雜性的增加,軟體工程師往往會忽略軟體效能這個令人不舒服的話題。然而,基於可觀察性的策略性效能優化對於每個產品來說都是至關重要的,可以節省成本並確保業務成功。

這本書可以讓任何工程師學會如何有效、專業且無壓力地處理軟體效能。作者Bartlomiej Plotka提供了所需的工具和知識,讓您的系統更快速且更節省資源。《Efficient Go》指導您如何使用Go實現更好的日常效能。此外,大部分內容都是與語言無關的,讓您可以將小而有效的習慣帶入您的程式設計或產品管理週期中。

這本書向您展示如何:
- 澄清和協商效能目標
- 在不同層次上優化效能
- 有效地使用CPU和記憶體等常見資源
- 使用可觀察性信號(如指標、日誌、追蹤和(持續)分析)來評估效能,並使用Prometheus、Jaeger和Parca等開源專案
- 使用go test、pprof、benchstat和k6等工具創建可靠的微觀和宏觀基準測試
- 高效地使用Go及其功能,如切片、泛型、goroutine、分配語義、垃圾回收等等!