Spring cloud upgrade 2020.0.x - 41. Explanation of the basic process of spring cloud gateway

Code address of this series: https://github.com/JoJoTec/sp...Let's continue to analyze the WebHandler mentioned in the previous section. After adding Spring Cloud Sleuth and Prometheus related dependencies, the processing flow of Spring Cloud Gateway is as follows:Spring Cloud Gateway entry - > DefaultWebFilterChain of WebfluxSpring Cloud Ga ...

Posted on Fri, 26 Nov 2021 19:42:46 -0500 by tuneout

Spring cloud upgrade 2020.0.x version - 33. Implementation of retry, circuit breaker and thread isolation source code

Code address of this series: https://github.com/JoJoTec/sp...In the previous two sections, we combed the ideas of realizing Feign circuit breaker and thread isolation, and explained how to optimize the current load balancing algorithm. However, how to update the data cache of load balancing and the source code of retry, circuit breaker and thre ...

Posted on Fri, 12 Nov 2021 16:01:30 -0500 by mlewczuk

Spring cloud upgrade 2020.0.x - 32. Improved load balancing algorithm

Code address of this series: https://github.com/JoJoTec/sp...In the previous section, we combed the ideas of realizing Feign circuit breaker and thread isolation. In this section, we will first discuss how to optimize the current load balancing algorithm without looking at the source code implementation (because the source code will include the ...

Posted on Thu, 11 Nov 2021 14:46:33 -0500 by creekriot

Spring cloud upgrade 2020.0.x version - 31. FeignClient's idea of realizing circuit breaker and thread isolation and current limiting

Code address of this series: https://github.com/JoJoTec/sp...In the previous section, we implemented the Retry of FeignClient resilience4j. Careful readers may ask why the circuit breaker and thread current limiting are not added together in the implementation here: @Bean public FeignDecorators.Builder defaultBuilder( Environment enviro ...

Posted on Wed, 10 Nov 2021 20:26:02 -0500 by jaybeeb