Veze, linkovi
Kompjuter biblioteka
Building Microservices with JavaScript

JavaScript JavaScript

Building Microservices with JavaScript

Autor: Diogo Resende, Paul Osman
Broj strana: 570
ISBN broj: 9781838826192
Godina izdanja: 2019.

Twitter   Facebook   Linkedin   Pinterest   Email
Predlog za prevod


  • Use Docker and Swarm for continuous deployment and scaling
  • Build and deploy cloud-native microservices and avoid vendor lock-in
  • Explore different service architectures such as Hydra and Seneca
  • Create services that don’t impact users upon failure
  • Monitor your services to perform debugging and create observable systems
  • Develop fast and reliable deployment pipelines
  • Manage multiple environments for your services
  • Simplify the local development of microservice-based systems

Microservices are a popular way to build distributed systems that power modern web and mobile apps. With the help of this Learning Path, you'll learn how to develop your applications as a suite of independently deployable and scalable services. Using an example-driven approach, this Learning Path will uncover how you can dismantle your monolithic application and embrace microservice architecture, right from architecting your services and modeling them to integrating them into your application. You’ll also explore ways to overcome challenges in testing and deploying these services by setting up deployment pipelines that break down the application development process into several stages. You’ll study serverless architecture for microservices and understand its benefits. Furthermore, this Learning Path delves into the patterns used for organizing services, helping you optimize request handling and processing. You'll then move on to learn the fault-tolerance and reliability patterns that help you use microservices to isolate failures in your applications. By the end of this Learning Path, you’ll have the skills necessary to build enterprise-ready applications using microservices. This Learning Path includes content from the following Packt products: Hands-On Microservices with Node.js by Diogo Resende Microservices Development Cookbook by Paul Osman

  • Build cloud-native microservices using only Node and Express
  • Write clean and maintainable code with JavaScript for improved microservices development
  • Learn ways to monitor and manage your services in a production environment

Table of contents

1 The Age of Microservices
Introducing microservices
Introducing Node.js
Advantages of using Node.js
From monolith to microservices
Patterns of microservices
Disadvantages of microservices

2 Breaking the Monolith
Organizing your team
Decomposing by business capability
Identifying bounded contexts
Migrating data in production
Refactoring your monolith
Evolving your monolith into services
Evolving your test suite
Using Docker for local development
Routing requests to services

3 Edge Services
Controlling access to your service with an edge proxy server
Extending your services with sidecars
Using API Gateways for routing requests to services
Stopping cascading failures with Hystrix
Rate limiting
Using service mesh for shared concerns

4 Modules and Toolkits

5 Building a Microservice
Using Express
Using Hydra
Using Seneca

6 State and Security

7 Testing
Types of testing methodologies
Using frameworks
Integrating tests
Mocking our services

8 Deploying Microservices
Using virtual machines
Using containers
Deploying using Docker
Deploying MySQL
Using Docker Compose

9 Scaling, Sharding, and Replicating
Scaling your network
Replicating our microservice
Deploying to swarm
Creating services
Moving to Kubernetes

10 Cloud-Native Microservices
Preparing for cloud-native
Going cloud-native

11 Design Patterns
Choosing patterns
Using patterns

12 Inter-service Communication
Service-to-service communication
Asynchronous requests
Service discovery
Server-side load balancing
Client-side load balancing
Building event-driven microservices
Evolving APIs

13 Client Patterns
Modeling concurrency with dependent futures
Backend for frontend
Consistent RPC with HTTP and JSON
Using Thrift
Using gRPC

14 Reliability Patterns
Using circuit breakers
Retrying requests with exponential backoff
Improving performance with caching
Fronting your services with a CDN
Verifying fault tolerance with Gameday exercises
Introducing automated chaos

15 Security
Authenticating your microservices
Securing containers
Secure configuration
Secure logging
Infrastructure as Code

16 Monitoring and Observability
Structured JSON logging
Collecting metrics with StatsD and Graphite
Collecting metrics with Prometheus
Making debugging easier with tracing
Alerting us when something goes wrong

17 Scaling
Load testing microservices with Vegeta
Load testing microservices with Gatling
Building auto-scaling clusters

18 Deploying Microservices
Configuring your service to run in a container
Running multi-container applications with Docker Compose
Deploying your service on Kubernetes
Test releases with canary deployments


Budite prvi koji će ostaviti komentar.

Ostavite komentar Ostavite komentar



TypeScript Design Patterns

TypeScript Design Patterns

JavaScript for .NET Developers

JavaScript for .NET Developers

Veze, linkovi
Linkedin Twitter Facebook
© Sva prava pridržana, Kompjuter biblioteka, Beograd, Obalskih radnika 4a, Telefon: +381 11 252 0 272