Building Microservices with Go
暫譯: 使用 Go 建立微服務

Nic Jackson

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

相關主題

商品描述

Key Features

  • This short, concise, and practical guide is packed with real-world examples of building microservices with Go
  • It is easy to read and will benefit smaller teams who want to extend the functionality of their existing systems
  • Using this practical approach will save your money in terms of maintaining a monolithic architecture

Book Description

Microservice architecture is sweeping the world as the de facto pattern to build web-based applications. Golang is a language particularly well suited to building them. Its strong community, encouragement of idiomatic style, and statically-linked binary artifacts make integrating it with other technologies and managing microservices at scale consistent and intuitive. This book will teach you the common patterns and practices, showing you how to apply these using the Go programming language.

It will teach you the fundamental concepts of architectural design and RESTful communication, and show you patterns that provide manageable code that is supportable in development and at scale in production. We will provide you with examples on how to put these concepts and patterns into practice with Go.

Whether you are planning a new application or working in an existing monolith, this book will explain and illustrate with practical examples how teams of all sizes can start solving problems with microservices. It will help you understand Docker and Docker-Compose and how it can be used to isolate microservice dependencies and build environments. We finish off by showing you various techniques to monitor, test, and secure your microservices.

By the end, you will know the benefits of system resilience of a microservice and the advantages of Go stack.

What you will learn

  • Plan a microservice architecture and design a microservice
  • Write a microservice with a RESTful API and a database
  • Understand the common idioms and common patterns in microservices architecture
  • Leverage tools and automation that helps microservices become horizontally scalable
  • Get a grounding in containerization with Docker and Docker-Compose, which will greatly accelerate your development lifecycle
  • Manage and secure ,microservices at scale with monitoring, logging, service discovery, and automation
  • Test microservices and integrate API tests in Go

商品描述(中文翻譯)

#### 主要特點

- 這本簡短、精煉且實用的指南充滿了使用 Go 建立微服務的實際範例
- 它易於閱讀,將使希望擴展現有系統功能的小型團隊受益
- 採用這種實用的方法將幫助您節省維護單體架構的成本

#### 書籍描述

微服務架構正在全球範圍內迅速普及,成為構建基於網頁的應用程式的事實標準。Golang 是一種特別適合構建微服務的語言。其強大的社群、對慣用風格的鼓勵以及靜態鏈接的二進制工件,使得與其他技術的整合以及大規模管理微服務變得一致且直觀。本書將教您常見的模式和實踐,並展示如何使用 Go 程式語言應用這些模式。

本書將教您架構設計和 RESTful 通信的基本概念,並展示提供可管理代碼的模式,這些代碼在開發和生產環境中都能得到支持。我們將提供範例,說明如何將這些概念和模式應用於 Go。

無論您是計劃一個新應用程式還是正在處理現有的單體架構,本書將通過實際範例解釋和說明各種規模的團隊如何開始使用微服務解決問題。它將幫助您理解 Docker 和 Docker-Compose,以及如何使用它們來隔離微服務依賴和構建環境。我們將展示各種技術來監控、測試和保護您的微服務。

到最後,您將了解微服務系統韌性和 Go 技術棧的優勢。

#### 您將學到的內容

- 計劃微服務架構並設計微服務
- 編寫具有 RESTful API 和數據庫的微服務
- 理解微服務架構中的常見慣用法和模式
- 利用工具和自動化使微服務實現水平擴展
- 獲得使用 Docker 和 Docker-Compose 進行容器化的基礎知識,這將大大加速您的開發生命周期
- 使用監控、日誌記錄、服務發現和自動化來管理和保護大規模的微服務
- 測試微服務並在 Go 中整合 API 測試