Hands-On Microservices with Node.js: Build, test, and deploy robust microservices in JavaScript
Diogo Resende
- 出版商: Packt Publishing
- 出版日期: 2018-06-29
- 售價: $1,820
- 貴賓價: 9.5 折 $1,729
- 語言: 英文
- 頁數: 328
- 裝訂: Paperback
- ISBN: 1788620216
- ISBN-13: 9781788620215
-
相關分類:
JavaScript、Microservices 微服務、SOA、Node.js
下單後立即進貨 (約3~4週)
相關主題
商品描述
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
- Age of Microservices
- Modules and Toolkits
- Building a Microservice
- State and Security
- Testing
- Deploying Microservices
- Scaling, Sharding, and Replicating
- Cloud Native Microservices
- Design Patterns
商品描述(中文翻譯)
使用Express進行開發,使用Docker進行部署,使用Swarm和Kubernetes進行擴展,同時了解微服務概念
主要特點
- 使用JavaScript編寫乾淨且易於維護的代碼,以實現更好的微服務開發
- 僅使用Node和Express構建雲原生微服務
- 開發智能、高效且快速的企業級微服務實現
書籍描述
微服務使我們能夠以小塊的軟件開發,這些小塊可以一起工作,但也可以分開開發;這是企業開始接受微服務的原因之一。在過去的幾年中,由於其能夠提高生產力和應用程序性能,Node.js已成為開發微服務的強大候選者。
《使用Node.js進行微服務實踐》是一本從架構服務和建模到將其集成到應用程序中的端到端指南,教你如何拆解你的巨型應用程序並採用微服務架構。我們將使用Docker來開發和部署這些微服務。當為應用程序添加更多功能時,可擴展性是需要考慮的重要因素,因此我們深入研究了各種解決方案,如Docker Swarm和Kubernetes,以擴展我們的微服務。在擴展時測試和部署這些服務是一個真正的挑戰;我們將通過設置部署流水線來克服這個挑戰,將應用程序構建過程分解為多個階段。隨後,我們將研究微服務的無服務架構及其與傳統架構的優勢。最後,我們分享了創建高效微服務的最佳實踐和多種設計模式。
你將學到什麼
- 學習微服務概念
- 探索不同的服務架構,如Hydra和Seneca
- 了解如何使用容器和測試過程
- 使用Docker和Swarm進行持續部署和擴展
- 學習如何在地理上分佈你的微服務
- 將雲原生微服務部署到在線提供商
- 使你的微服務獨立於在線提供商
適合閱讀對象
《使用Node.js進行微服務實踐》適合任何已掌握Node.js基礎知識,想進入微服務世界並了解其流行原因的人。如果你是使用其他語言的微服務開發人員,本書也會對你有所幫助。
目錄
- 微服務時代
- 模塊和工具包
- 構建微服務
- 狀態和安全性
- 測試
- 部署微服務
- 擴展、分片和複製
- 雲原生微服務
- 設計模式