Practical Go: Building Scalable Network and Non-Network Applications (Paperback)

Saha, Amit

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

商品描述

Practical Go aims to use the Golang programming language to build applications typically being written and deployed in software systems across the industry. In this book, readers will learn how to write production ready HTTP 1.1, HTTP2, RPC and TCP/UDP servers. You will learn about best practices related to failure handling, logging, monitoring and scaling their services in a platform neutral way. Throughout this book, we will only resort to using the most popular open source projects and aim to be as cloud provider neutral as possible.

  • This practical guide will cover:
  • Writing a HTTP service from scratch using Golang's standard library
  • Implementing RPC and HTTP interfaces for RPC service
  • Using a SQL database and;
  • Load balancing, handling failure and scaling

With a focus on writing production ready network applications at a higher level of the network stack, you will understand from practical hands on examples written with modern practices in mind. With more and more companies embracing Golang to write their applications, you will be able to reference this book for years to come as your go to practical guide.

商品描述(中文翻譯)

《實用 Go》旨在使用 Golang 程式語言來建立通常在業界中編寫和部署的應用程式。在本書中,讀者將學習如何撰寫可投入生產環境的 HTTP 1.1、HTTP2、RPC 和 TCP/UDP 伺服器。您將學習與故障處理、日誌記錄、監控和服務擴展相關的最佳實踐,以平台中立的方式進行。在整本書中,我們只會使用最受歡迎的開源專案,並盡可能保持與雲服務提供商無關。

這本實用指南將涵蓋以下內容:
- 使用 Golang 標準庫從頭開始撰寫 HTTP 服務
- 為 RPC 服務實現 RPC 和 HTTP 介面
- 使用 SQL 資料庫
- 負載平衡、處理故障和擴展

著重於在網路堆疊的較高層次上撰寫可投入生產環境的網路應用程式,您將透過實際的實例理解現代實踐。隨著越來越多的公司採用 Golang 來撰寫應用程式,您將能夠長期參考本書,作為您實用指南的首選。

作者簡介

AMIT SAHA is a software engineer at Atlassian, located in Sydney, Australia. He has written Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More! (No Starch Press, 2015) and Write Your First Program (PHI Learning, 2013). His other writings have been published in technical magazines, conference proceedings, and research journals. He can be found online at https: //echorand.me.

作者簡介(中文翻譯)

AMIT SAHA 是澳洲悉尼 Atlassian 公司的軟體工程師。他著有《用 Python 做數學:使用程式設計探索代數、統計學、微積分等等!》(No Starch Press,2015)和《寫下你的第一個程式》(PHI Learning,2013)。他的其他作品發表在技術雜誌、會議論文和研究期刊上。您可以在網上找到他的資訊,網址為 https: //echorand.me。