Hands-On High Performance with Go

Strecansky, Bob

  • 出版商: Packt Publishing
  • 出版日期: 2020-03-24
  • 售價: $1,970
  • 貴賓價: 9.5$1,872
  • 語言: 英文
  • 頁數: 406
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1789805783
  • ISBN-13: 9781789805789
  • 相關分類: Go 程式語言
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Proven methodologies and concurrency techniques that will help you write faster and better code with Go programming

Key Features

  • Explore Go’s profiling tools to write faster programs by identifying and fixing bottlenecks
  • Address Go-specific performance issues such as memory allocation and garbage collection
  • Delve into the subtleties of concurrency and discover how to successfully implement it in everyday applications

Book Description

Go is an easy-to-write language that is popular among developers thanks to its features such as concurrency, portability, and ability to reduce complexity. This Golang book will teach you how to construct idiomatic Go code that is reusable and highly performant.

Starting with an introduction to performance concepts, you’ll understand the ideology behind Go’s performance. You’ll then learn how to effectively implement Go data structures and algorithms along with exploring data manipulation and organization to write programs for scalable software. This book covers channels and goroutines for parallelism and concurrency to write high-performance code for distributed systems. As you advance, you’ll learn how to manage memory effectively. You’ll explore the compute unified device architecture (CUDA) application programming interface (API), use containers to build Go code, and work with the Go build cache for quicker compilation. You’ll also get to grips with profiling and tracing Go code for detecting bottlenecks in your system. Finally, you’ll evaluate clusters and job queues for performance optimization and monitor the application for performance regression.

By the end of this Go programming book, you’ll be able to improve existing code and fulfill customer requirements by writing efficient programs.

What you will learn

  • Organize and manipulate data effectively with clusters and job queues
  • Explore commonly applied Go data structures and algorithms
  • Write anonymous functions in Go to build reusable apps
  • Profile and trace Go apps to reduce bottlenecks and improve efficiency
  • Deploy, monitor, and iterate Go programs with a focus on performance
  • Dive into memory management and CPU and GPU parallelism in Go

Who this book is for

This Golang book is a must for developers and professionals who have an intermediate-to-advanced understanding of Go programming, and are interested in improving their speed of code execution.

商品描述(中文翻譯)

這本書的標題是「使用Go編程的成熟方法和並發技術,幫助您寫出更快、更好的代碼」。

主要特點包括:
- 探索Go的性能分析工具,通過識別和修復瓶頸來編寫更快的程序
- 解決Go特定的性能問題,如內存分配和垃圾回收
- 深入研究並發的細微之處,並了解如何在日常應用中成功實現它

書籍描述:
Go是一種易於編寫的語言,由於其並發性、可移植性和降低複雜性的特點,受到開發人員的歡迎。這本Go語言書籍將教您如何構建可重用且高性能的典型Go代碼。

從性能概念入手,您將了解Go性能背後的思想。然後,您將學習如何有效地實現Go數據結構和算法,並探索數據操作和組織,以編寫可擴展軟件的程序。本書涵蓋了用於並行性和並發性的通道和goroutine,以編寫分佈式系統的高性能代碼。隨著您的進一步學習,您將學習如何有效地管理內存。您將探索計算統一設備架構(CUDA)應用程序編程接口(API),使用容器構建Go代碼,並使用Go編譯緩存以加快編譯速度。您還將掌握用於檢測系統中瓶頸的Go代碼的性能分析和追踪。最後,您將評估集群和作業隊列以進行性能優化,並監控應用程序以檢測性能回歸。

通過閱讀這本Go編程書,您將能夠改進現有代碼,並通過編寫高效的程序滿足客戶需求。

您將學到以下內容:
- 有效地組織和操作數據,使用集群和作業隊列
- 探索常用的Go數據結構和算法
- 在Go中編寫匿名函數以構建可重用的應用程序
- 進行性能分析和追踪,以減少瓶頸並提高效率
- 部署、監控和迭代Go程序,並注重性能
- 深入研究Go中的內存管理以及CPU和GPU的並行性

這本書適合具有中級到高級Go編程理解的開發人員和專業人士,並且對提高代碼執行速度感興趣。

作者簡介

Bob Strecansky is a senior site reliability engineer. He graduated with a computer engineering degree from Clemson University with a focus on networking. He has worked in both consulting and industry jobs since graduation. He has worked with large telecom companies and much of the Alexa top 500. He currently works at Mailchimp, working to improve web performance, security, and reliability for one of the world's largest email service providers. He has also written articles for web publications and currently maintains the OpenTelemetry PHP project. In his free time, Bob enjoys tennis, cooking, and restoring old cars. You can follow Bob on the internet to hear musings about performance analysis:

作者簡介(中文翻譯)

Bob Strecansky 是一位資深的網站可靠性工程師。他畢業於克萊姆森大學,獲得計算機工程學位,專攻網絡技術。自從畢業以來,他曾在咨詢和工業領域工作。他曾與大型電信公司和許多 Alexa 前 500 名的公司合作。目前,他在 Mailchimp 工作,致力於提升全球最大的電子郵件服務提供商之一的網站性能、安全性和可靠性。他還為網絡出版物撰寫文章,並目前維護 OpenTelemetry PHP 項目。在空閒時間,Bob 喜歡打網球、烹飪和修復老車。你可以在網上關注 Bob,以了解他對性能分析的思考。

目錄大綱

  1. Introduction to Performance in Go
  2. Data Structures and Algorithms
  3. Understanding Concurrency
  4. STL Algorithm Equivalents in Go
  5. Matrix and Vector Computation in Go
  6. Composing Readable Go Code
  7. Template Programming in Go
  8. Memory Management in Go
  9. GPU Parallelization in Go
  10. Compile Time Evaluations in Go
  11. Building and Deploying Go Code
  12. Profiling Go Code
  13. Tracing Go Code
  14. Clusters and Job Queues

目錄大綱(中文翻譯)

- Go中的性能介紹
- 數據結構和算法
- 理解並發性
- Go中的STL算法等效
- Go中的矩陣和向量計算
- 編寫可讀性高的Go代碼
- Go中的模板編程
- Go中的內存管理
- Go中的GPU並行化
- Go中的編譯時評估
- 構建和部署Go代碼
- Go代碼的性能分析
- Go代碼的追蹤
- 集群和作業隊列