Autor: Diogo Resende, Paul Osman
Broj strana: 570
ISBN broj: 9781838826192
Izdavač:
PACKT PUBLISHING
Godina izdanja: 2019.
![]() |
![]() |
![]() |
![]() |
![]() |
||||
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
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
Summary
2 Breaking the Monolith
Introduction
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
Introduction
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
Express
Micro
Seneca
Hydra
Summary
5 Building a Microservice
Using Express
Using Hydra
Using Seneca
Summary
6 State and Security
State
Security
Summary
7 Testing
Types of testing methodologies
Using frameworks
Integrating tests
Mocking our services
Summary
8 Deploying Microservices
Using virtual machines
Using containers
Deploying using Docker
Deploying MySQL
Using Docker Compose
Summary
9 Scaling, Sharding, and Replicating
Scaling your network
Replicating our microservice
Deploying to swarm
Creating services
Moving to Kubernetes
Summary
10 Cloud-Native Microservices
Preparing for cloud-native
Going cloud-native
Summary
11 Design Patterns
Choosing patterns
Using patterns
Summary
12 Inter-service Communication
Introduction
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
Introduction
Modeling concurrency with dependent futures
Backend for frontend
Consistent RPC with HTTP and JSON
Using Thrift
Using gRPC
14 Reliability Patterns
Introduction
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
Introduction
Authenticating your microservices
Securing containers
Secure configuration
Secure logging
Infrastructure as Code
16 Monitoring and Observability
Introduction
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
Introduction
Load testing microservices with Vegeta
Load testing microservices with Gatling
Building auto-scaling clusters
18 Deploying Microservices
Introduction
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.
Cena: 2970 rsd
Popust i do: 1812 rsd
Cena: 2750 rsd
Popust i do: 1678 rsd
© Sva prava pridržana, Kompjuter biblioteka, Beograd, Obalskih radnika 4a, Telefon: +381 11 252 0 272 |
||