Micro Services What you do not know: in-depth practice SpringCloud and Docker micro Services Architecture

1. Micro services apart from the micro-service architecture?
Micro-services concern is the size of the service, is a specific component to solve a problem can be deployed independently to perform.
Micro Services Architecture is an architectural pattern, it is the development of a single application for a group of small service approach. Each service runs in its own process, the inter-service communication using lightweight communication mechanism (usually HTTP resource API). These services build around business capabilities and can be deployed independently by automatic deployment mechanism. These services are one of the most common small centralized management.
2. The advantages and disadvantages of micro-services:
the advantages of
each service cohesive enough, small enough to focus on specific business functions or business needs, easy to separate small team development and maintenance.
Just business logic code, not mixed with the distal end
of each service has its own micro-storage capacity, can have its own database
can be developed in different languages using the
disadvantages
developer distributed processing complexity of the system
data consistency
services and services between communication costs
and maintenance costs
preface
micro hotspot service technology development in the field of software architect. It is photographed on a variety of blog, social media and conference presentations is very high, I believe we have heard the term micro-services. However, micro-services seems to be very unreal - we could not find full definition of micro services, that many people think is the concept of speculation.
What is micro-services? It solve? What are the characteristics of it? Many problems, this article answer it for you. At the same time, the theory of micro-services, the Internet has a lot of, this book does not mention much about. The specific content I will try to combat it spent on micro space services.
A micro-services architecture overview of
existing single application architecture problems 1.
2. How to solve the problem of single application architecture
3. What is micro-services
4. The micro-service architecture advantages and challenges
5. The micro-service design principles
6. How to implement micro Services Architecture
Here Insert Picture Description
II Micro Cloud services development framework - Spring
1.Spring Cloud Profile
2.Spring Cloud Features
3. Spring Cloud version
Here Insert Picture Description
Third, start using Spring Cloud combat micro-services
1.Spring Cloud actual premise
2. service providers and service consumers
3. write the service provider
4. write the service consumer
5. For the Boot Actuator project to integrate the Spring
6. hard What coding problem
Here Insert Picture Description
four micro-service registration and discovery
1. Introduction service discovery
2.Eureka Profile
3.Eureka principle
4. write Eureka Server
5. the micro-services registered on the Eureka Server
high availability of 6.Eureka Server
7. Eureka Server adding user authentication
8.Eureka metadata
REST endpoint 9.Eureka Server of
self-protection mode 10.Eureka of
IP multi-card environment under 11. select
health check 12.Eureka the
Here Insert Picture Description
Fifth, use the Ribbon implement the client-side load balancing
1.Ribbon Introduction
2. Service consumers integrate Ribbon
3. Java code to configure a custom Ribbon
4. Using custom Ribbon attribute configuration
5. Use Ribbon from Eureka
Here Insert Picture Description
Six, using Feign achieve declarative REST calls
1.Feign Introduction
2. integration services for consumers Feign
3. Feign custom configuration
4. manually create Feign
5.Feign support for inheritance
6.Feign support for compressed
7.Feign log
8. use Feign construct multi-parameter request
Here Insert Picture Description
seven, the use of micro-realization Hystrix intolerant service processing
1. means for fault tolerance
2. Hystrix fault-tolerant
monitoring of 3.Hystrix
4. Hystrix the Dashboard visual monitoring data
5. Turbine monitoring data polymerizable
Here Insert Picture Description
eight, constructed using micro Zuul serving gateway
1. Why a micro services gateway
2.Zuul Introduction
3. write Zuul micro-services gateway
routing endpoint 4.Zuul of
5. routing configuration in detail
6.Zuul security and Header
7. use Zuul upload files
8.Zuul filters
9.Zuul fault tolerance and rollback
10.Zuul high availability
11. Use Sidecar non-integrated micro JVM Services
12. Use Zuul polymeric microspheres service
Here Insert Picture DescriptionNine, using the unified management of micro Spring Cloud Config service configuration
Here Insert Picture Description
Due to space constraints, it will be mainly small series content shot down, not introduced one by one, like a small partner can help focus on small series and small series forward oh ~ ~ ~

Published 85 original articles · won praise 7 · views 20000 +

Guess you like

Origin blog.csdn.net/Ppikaqiu/article/details/104560965