Hands-On Microservices with Node.js: Build,test,and deploy robust microservices in JavaScript
Authors: Diogo Resende
ISBN-10: 1788620216
ISBN-13: 9781788620215
Edition 版次: 2nd edition
Publication Date 出版日期: 2018-06-29
Print Length 页数: 328 pages
Book Description
By finelybook
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.
Contents
1: THE 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
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
Authors
Diogo Resende
Diogo Resende is a developer with more than 15 years of experience,working with Node.js almost from the beginning. His computer education and experience in many industry and telecommunication projects have given him a wider background knowledge of other architecture components that influence the overall performance.