Go Programming Blueprints - Second Edition

Mat Ryer

  • 出版商: Packt Publishing
  • 出版日期: 2016-10-27
  • 定價: $1,560
  • 售價: 6.0$936
  • 語言: 英文
  • 頁數: 394
  • 裝訂: Paperback
  • ISBN: 1786468948
  • ISBN-13: 9781786468949
  • 相關分類: Go 程式語言
  • 立即出貨 (庫存=1)

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

商品描述

Build real-world, production-ready solutions in Go using cutting-edge technology and techniques

About This Book

  • Get up to date with Go and write code capable of delivering massive world-class scale performance and availability
  • Learn to apply the nuances of the Go language, and get to know the open source community that surrounds it to implement a wide range of start-up quality projects
  • Write interesting and clever but simple code, and learn skills and techniques that are directly transferrable to your own projects

Who This Book Is For

If you are familiar with Go and are want to put your knowledge to work, then this is the book for you. Go programming knowledge is a must.

What You Will Learn

  • Build quirky and fun projects from scratch while exploring patterns, practices, and techniques, as well as a range of different technologies
  • Create websites and data services capable of massive scale using Go's net/http package, exploring RESTful patterns as well as low-latency WebSocket APIs
  • Interact with a variety of remote web services to consume capabilities ranging from authentication and authorization to a fully functioning thesaurus
  • Develop high-quality command-line tools that utilize the powerful shell capabilities and perform well using Go's in-built concurrency mechanisms
  • Build microservices for larger organizations using the Go Kit library
  • Implement a modern document database as well as high-throughput messaging queue technology to put together an architecture that is truly ready to scale
  • Write concurrent programs and gracefully manage the execution of them and communication by smartly using channels
  • Get a feel for app deployment using Docker and Google App Engine

In Detail

Go is the language of the Internet age, and the latest version of Go comes with major architectural changes. Implementation of the language, runtime, and libraries has changed significantly. The compiler and runtime are now written entirely in Go. The garbage collector is now concurrent and provides dramatically lower pause times by running in parallel with other Go routines when possible.

This book will show you how to leverage all the latest features and much more. This book shows you how to build powerful systems and drops you into real-world situations. You will learn to develop high-quality command-line tools that utilize the powerful shell capabilities and perform well using Go's in-built concurrency mechanisms. Scale, performance, and high availability lie at the heart of our projects, and the lessons learned throughout this book will arm you with everything you need to build world-class solutions. You will get a feel for app deployment using Docker and Google App Engine. Each project could form the basis of a start-up, which means they are directly applicable to modern software markets.

Style and approach

This book provides fun projects that involve building applications from scratch. These projects will teach you to build chat applications, a distributed system, and a recommendation system.

商品描述(中文翻譯)

使用最新的技術和技巧,在Go中構建真實世界的生產就緒解決方案。

關於本書
- 瞭解Go並撰寫能夠提供大規模世界級性能和可用性的代碼。
- 學習應用Go語言的細微差別,並了解圍繞它的開源社區,以實現各種初創品質的項目。
- 撰寫有趣而巧妙但簡單的代碼,並學習可直接應用於自己項目的技能和技術。

適合閱讀對象
- 如果您熟悉Go並希望將您的知識應用於實踐,那麼這本書就是為您而寫的。需要具備Go編程知識。

您將學到什麼
- 從頭開始構建奇特有趣的項目,同時探索模式、實踐和技術,以及各種不同的技術。
- 使用Go的net/http包創建能夠大規模應對的網站和數據服務,探索RESTful模式以及低延遲的WebSocket API。
- 與各種遠程Web服務進行交互,以使用從身份驗證和授權到完全功能的詞典等能力。
- 使用Go的內置並發機制,開發利用強大的shell功能並具有良好性能的命令行工具。
- 使用Go Kit庫為大型組織構建微服務。
- 實現現代文檔數據庫以及高吞吐量的消息隊列技術,構建真正可擴展的架構。
- 智能地使用通道編寫並發程序,優雅地管理它們的執行和通信。
- 使用Docker和Google App Engine進行應用部署。

詳細內容
- Go是互聯網時代的語言,最新版本的Go帶來了重大的架構變化。語言、運行時和庫的實現發生了重大變化。編譯器和運行時現在完全由Go編寫。垃圾收集器現在是並發的,通過在可能的情況下與其他Go例程並行運行,提供了顯著更低的暫停時間。

- 本書將向您展示如何充分利用所有最新功能以及更多內容。本書將向您展示如何構建強大的系統,並將您置於現實世界的情況中。您將學習開發利用強大的shell功能並具有良好性能的命令行工具,使用Go的內置並發機制。規模、性能和高可用性是我們項目的核心,本書中學到的教訓將為您提供構建世界級解決方案所需的一切。您將了解使用Docker和Google App Engine進行應用部署的感覺。每個項目都可以成為一個初創公司的基礎,這意味著它們直接適用於現代軟件市場。

風格和方法
- 本書提供從頭開始構建應用程序的有趣項目。這些項目將教您構建聊天應用程序、分佈式系統和推薦系統。