Spring cloud integrates the Hystrix circuit breaker (shutdown and maintenance)

Note: stopping for further maintenance Note: stopping for further maintenance Note: stopping for further maintenance Note: stopping for further maintenance Note: stopping for further maintenance Note: stopping for further maintenance Say important things six times Distributed problems: Applications in complex distributed architecture have mu ...

Posted by RockyShark on Thu, 20 Jan 2022 19:17:50 +0100

feign interceptor and decoder

Feign interceptor and decoder Business requirements In the Spring Cloud project, service A uses Feign to call an interface of service B. if it is necessary to pass A global authentication token or parameter, it is obviously not advisable to add A corresponding field in the method parameter. The first thought is the AOP method, which uses the ...

Posted by chintupintu03 on Thu, 20 Jan 2022 06:27:33 +0100

Principle and application of openFeign

1. Foreword Earlier, we introduced the soul ferry Nacos in Spring Cloud. Compared with its predecessors, it is not only powerful, but also very simple to deploy. Today, we will introduce a component of service invocation: OpenFeign, which is also a cruel role beyond its predecessors (Ribbon and Feign). The article contents are as follo ...

Posted by Robert Plank on Thu, 20 Jan 2022 01:58:42 +0100

Principle of automatic service registration when SpringCloud Alibaba Nacos client starts

I Problem elicitation The separate nacos project is divided into client side and server side. The client side will call register to register with the server side. However, when we do micro services, we do not introduce the jar package of the separate nacos client, but the jar package of springcloud alibaba nacos. After we introduce this jar ...

Posted by chelsea7 on Thu, 20 Jan 2022 01:57:09 +0100

Spring cloud notes: Basics

1. Today's content Getting to know Spring CloudSpring Cloud service governance 2. Get to know Spring Cloud 2.1 - micro service architecture [the external chain picture transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the picture and upload it directly (img-5Ex5oAyD-1626660797174)(img/15875 ...

Posted by fernado1283 on Wed, 19 Jan 2022 09:21:07 +0100

Eureka service governance of Spring Cloud

1, Eureka overview Spring Cloud Eureka implements the function of service governance. Eureka provides server and client. The server is Eureka service registry. The client completes the registration and discovery of microservices to Eureka services. Relationship between server and client 1,Eureka Server It is the server, which is res ...

Posted by Gafaddict on Sun, 16 Jan 2022 15:12:06 +0100

zuul of spring cloud Foundation

catalogue 1. Project catalogue  2. Stand alone use 2.1 dependency 2.2 configuration file 2.3 add @ EnableZuulProxy to the main startup class 2.4 testing  3. Cluster configuration 3.1 nginx configuration 3.2 create a second zuul service 3.3 testing  4. Custom filter Portal 1. Project catalogue  2. Stand alone ...

Posted by The_Stranger on Sat, 15 Jan 2022 13:11:54 +0100

Service degradation: Sentinel

0.1 concept A powerful flow control component can realize the reliability, elasticity and monitoring of microservices. Sentinel takes "flow" as the starting point and works in many fields such as flow control, flow shaping, circuit interruption and system adaptive protection to ensure the reliability and elasticity of microservices. ...

Posted by fahrvergnuugen on Sat, 15 Jan 2022 06:39:07 +0100

Spring cloud integrated Gateway gateway

1. Service gateway The reason for the emergence of API gateway is the emergence of micro service architecture. Different micro services generally have different network addresses, and external clients may need to call the interfaces of multiple services to complete a business requirement. If the client is allowed to communicate directly wi ...

Posted by samscripts on Fri, 14 Jan 2022 21:15:55 +0100

Understand the use and configuration of microservices and spring cloud

Understanding microservices: Concept: microservice is a design style of system architecture, which divides an originally independent service into multiple small services. Each service runs independently in its own process, and the services communicate through HTTP RESTful API Each small service is built around a highly coupled business in the ...

Posted by ReVeR on Fri, 14 Jan 2022 12:31:20 +0100