Feign remote call lost request header

In business, you need to use modules A and B, which use spring Session to share Session data. The business in module B can only be operated after the user logs in. When A calls B's service, it cannot obtain the user's Session information in module B, resulting in module B determining that the requesting user has not logged in, resulting in modu ...

Posted by receiver on Fri, 25 Feb 2022 15:22:46 +0100

In this way, the new requirements can be iterated and put on the line safely

Author: Pan Shengwei (Shimian) outline Full link grayscale is one of the core functions of microservices, and it has always been a function that cloud customers must have in the process of microservicing. Full link grayscale involves many technologies and scenarios. If cloud enterprises implement them one by one, they need to spend a lot of m ...

Posted by netdynamix on Thu, 24 Feb 2022 08:25:56 +0100

Changgou mall VI: Micro service gateway and jwt token

Microservice gateway Basic concepts Each service of microservice generally has different addresses. A service of an external client may call many interfaces, which will bring the following problems The client will request different micro services many times, and the address is complexThere are cross domain requests and the processing is comp ...

Posted by cahva on Wed, 23 Feb 2022 14:10:09 +0100

Prometheus monitoring system + Grafana visualization tool construction

catalogue 1, Introduction to Prometheus monitoring 2, Introduction to Grafana visual monitoring 3, Prometheus monitoring server (default port: 9090) 4, Prometheus monitored node_exporter (default port 9100) 5, Prometheus monitoring Alertmanager (default port 9093) Vi MySQL monitored by Prometheus (default port 9104) VII Redis monitored b ...

Posted by Malcina on Wed, 23 Feb 2022 13:16:23 +0100

SpringCloud-2.0 (9. Load balancing - OpenFeign)

Last: 8 Load balancing - Ribbon Next: 10 Service degradation - Hystrix - causing problems Statement: original author: CSDN: Yuan_ four hundred and four 1 . summary 1.1 what is it GitHub : https://github.com/spring-cloud/spring-cloud-openfeign Feign is a declarative web service client, which makes it very easy to write a web service cl ...

Posted by SeaJones on Tue, 22 Feb 2022 10:58:31 +0100

Microservice fuse current limiting degraded Hystrix

1, Core knowledge of service fault tolerance 1.1 avalanche effect In microservice architecture, it is very common for A request to call multiple services. For example, when the client accesses service A, service A needs to call service B, and service B needs to call service C. due to network reasons or its own reasons, if service B or ser ...

Posted by dw89 on Sun, 20 Feb 2022 13:56:06 +0100

Integration of springcloud components and Zuul implementation of service gateway

1, What is Zuul? Zuul is an open source API Gateway server of netflix. It is essentially a web servlet application. The core of Zuul is a series of filters, which can be compared with the Filter of Servlet framework or AOP. Zuul can realize the following functions by loading the dynamic filtering mechanism: Verification and security: Ide ...

Posted by pacmon on Sat, 19 Feb 2022 04:57:32 +0100

We can't let services be accessed so willfully anymore - distributed services fuse the current limiting weapon to Hystrix

Full text overview Why need hystrix hystrix official website address github Hystrix is also netfix's contribution to distributed systems. Similarly, it has entered the non maintenance phase. Not maintaining does not mean being eliminated. It can only show that the new technology is constantly iterative. The brilliant design is still wor ...

Posted by troybtj on Fri, 18 Feb 2022 23:02:23 +0100

Microservice development framework: introduction to eureka and nacos

I Microservices 1. Single architecture and distributed architecture Monomer architectureDistributed architecture The system is split according to business functions, and each business module is developed as an independent project to become a service advantage: Disadvantages: the strength of service splitting, how to maintain the address of se ...

Posted by garblar on Fri, 18 Feb 2022 16:35:58 +0100

Sentinel integrated Nacos data source

1.1 installation of Sentinel console stay https://github.com/alibaba/Sentinel/releases Download the jar package of the console from the page and put it in a folder on the server Start the console program with the following command, - dserver Port specifies that the port is 9010. If there is a port conflict, you can specify another port java ...

Posted by promovi on Fri, 18 Feb 2022 16:17:56 +0100