Hands-On Microservices with Node.js: Build, test, and deploy robust microservices in JavaScript
暫譯: 實作 Node.js 微服務:構建、測試及部署穩健的 JavaScript 微服務

Diogo Resende

相關主題

商品描述

Understand microservice concepts while learning to develop with Express, deploy with Docker, and scale with Swarm and Kubernetes using Node 10

Key Features

  • Write clean and maintainable code with JavaScript for better microservices development
  • Build Cloud Native microservices using just Node and Express
  • Develop smart, efficient, and fast enterprise-grade microservices implementation

Book Description

Microservices enable us to develop software in small pieces that work together but can be developed separately; this is one reason why enterprises have started embracing them. For the past few years, Node.js has emerged as a strong candidate for developing microservices because of its ability to increase your productivity and the performance of your applications.

Hands-On Microservices with Node.js is an end-to-end guide on how to dismantle your monolithic application and embrace the microservice architecture - right from architecting your services and modeling them to integrating them into your application. We'll develop and deploy these microservices using Docker. Scalability is an important factor to consider when adding more functionality to your application, and so we delve into various solutions, such as Docker Swarm and Kubernetes, to scale our microservices. Testing and deploying these services while scaling is a real challenge; we'll overcome this challenge by setting up deployment pipelines that break up application build processes in several stages. Later on, we'll take a look at serverless architecture for our microservices and its benefits against traditional architecture. Finally, we share best practices and several design patterns for creating efficient microservices.

What you will learn

  • Learn microservice concepts
  • Explore different service architectures, such as Hydra and Seneca
  • Understand how to use containers and the process of testing
  • Use Docker and Swarm for continuous deployment and scaling
  • Learn how to geographically spread your microservices
  • Deploy a cloud-native microservice to an online provider
  • Keep your microservice independent of online providers

Who This Book Is For

Hands-On Microservices with Node.js is for anyone who knows the basics of Node.js, wants to enter the world of microservices, and learn why they're so popular. It is also useful if you're a microservices developer using other languages.

Table of Contents

  1. Age of Microservices
  2. Modules and Toolkits
  3. Building a Microservice
  4. State and Security
  5. Testing
  6. Deploying Microservices
  7. Scaling, Sharding, and Replicating
  8. Cloud Native Microservices
  9. Design Patterns

商品描述(中文翻譯)

**理解微服務概念,同時學習如何使用 Node 10 開發 Express、使用 Docker 部署,以及使用 Swarm 和 Kubernetes 擴展**

#### 主要特點
- 使用 JavaScript 編寫乾淨且可維護的代碼,以改善微服務開發
- 僅使用 Node 和 Express 構建雲原生微服務
- 開發智能、高效且快速的企業級微服務實現

#### 書籍描述
微服務使我們能夠以小塊的方式開發軟體,這些小塊可以協同工作,但可以分開開發;這是企業開始接受微服務的原因之一。在過去幾年中,Node.js 由於其提高生產力和應用性能的能力,已成為開發微服務的強有力候選者。

《Hands-On Microservices with Node.js》是一本端到端的指南,教你如何拆解單體應用並接受微服務架構——從架構設計服務和建模,到將其整合到應用中。我們將使用 Docker 開發和部署這些微服務。擴展性是考慮為應用添加更多功能時的重要因素,因此我們深入探討各種解決方案,如 Docker Swarm 和 Kubernetes,以擴展我們的微服務。在擴展的同時測試和部署這些服務是一個真正的挑戰;我們將通過設置部署管道來克服這一挑戰,將應用構建過程分解為幾個階段。稍後,我們將探討微服務的無伺服器架構及其相對於傳統架構的優勢。最後,我們分享最佳實踐和幾種設計模式,以創建高效的微服務。

#### 你將學到什麼
- 學習微服務概念
- 探索不同的服務架構,如 Hydra 和 Seneca
- 理解如何使用容器及測試過程
- 使用 Docker 和 Swarm 進行持續部署和擴展
- 學習如何地理上分散你的微服務
- 將雲原生微服務部署到在線提供商
- 使你的微服務獨立於在線提供商

#### 本書適合誰
《Hands-On Microservices with Node.js》適合任何了解 Node.js 基礎知識的人,想要進入微服務世界並了解其受歡迎原因的人。如果你是使用其他語言的微服務開發者,這本書也會對你有幫助。

#### 目錄
1. 微服務的時代
2. 模組和工具包
3. 構建微服務
4. 狀態和安全性
5. 測試
6. 部署微服務
7. 擴展、分片和複製
8. 雲原生微服務
9. 設計模式