Service gateway

Role of gateway Performance: API high availability, load balancing, fault tolerance mechanism Security: authority, identity authentication, desensitization, traffic cleaning, back-end signature (to ensure the trusted call of the whole link), blacklist (restriction of illegal call) Log: log recording. Once distributed is involved, full link t ...

Added by Manat on Fri, 28 Jan 2022 01:43:12 +0200

Microservice architecture | 4.1 detailed explanation of Ribbon based load balancing

preface reference material: <Spring Microservices in Action> Principle and practice of Spring Cloud Alibaba microservice "Spring cloud framework development tutorial in Silicon Valley of station B" Zhou Yang Spring Cloud Ribbon is a set of client-side load balancing tools based on Netflix Ribbon; Provide the software loa ...

Added by watsonowen on Thu, 27 Jan 2022 18:56:19 +0200

Configuration and implementation of Spring Cloud Sleuth distributed link request tracking

1, What is Sleuth distributed link request tracking Official website: https://github.com/spring-cloud/spring-cloud-sleuth In the microservice framework, a request initiated by the client will be called by multiple different service nodes in the back-end system to produce the final request result. Each request will form a complex distribut ...

Added by noobcody on Thu, 27 Jan 2022 18:54:08 +0200

Spring cloud learning [6] - communication between openfeign component services

Using RestTemplate+ribbon can complete the call between services. Why use feign? String getResult = restTemplate.getForObject("http: / / {{service ID} / {{URL}", String.class); Existing problems This code needs to be written every time the service is called, and there is a lot of code redundancyIf the service address is modifi ...

Added by dvdflashbacks on Wed, 26 Jan 2022 09:36:02 +0200

Spring cloud: Eureka service registration and discovery

I. Introduction to Eureka According to the official introduction: Eureka is a REST (Representational State Transfer) based service that is primarily used in the AWS cloud for locating services for the purpose of load balancing and failover of middle-tier servers. Eureka Is based on REST Services, mainly in AWS Use in the cloud, Location serv ...

Added by vahidi on Tue, 25 Jan 2022 07:27:19 +0200

Limit flow for three devices in high concurrency systems

Catalog 1. Three devices for high concurrency systems 2. Current Limiting Algorithms 2.1 Fixed Window algorithm 2.2 Sliding Window algorithm 2.3 Leaky Bucket algorithm 2.4 Token Bucket algorithm Comparison of 2.5 Leakage Bucket and Token Bucket Algorithms 3. Scenarios for application of current-limiting algorithms 3.1 Google Guava 3 ...

Added by niall_buckley on Mon, 24 Jan 2022 20:17:45 +0200

Introduction and use of Spring Boot Starter

catalogue Spring Boot Starter project creation Automatically create client Using Starter Enable Starter auto build with annotations Enable Starter auto build using configuration Configure Starter content tips The convenience of Spring Boot is that it simplifies many cumbersome configurations, which is a blessing for developers. By introd ...

Added by po on Mon, 24 Jan 2022 00:05:55 +0200

Spring Cloud learning notes -- 05 Ribbon load balancing service call

catalogue Introduction to Ribbon RestTemplate: Official Website Link Ribbon core component IRule Ribbon load balancing algorithm A load balancing algorithm Introduction to Ribbon Spring Cloud Ribbon It is a set of client load balancing tools based on Netflix Ribbon. In short, Ribbon It is an open source project released by Netflix. Its ...

Added by tomjung09 on Sun, 23 Jan 2022 22:07:08 +0200

Spring cloud Tutorial Part 9: Sleuth (version F)

This article focuses on the service tracking component zipkin. Spring Cloud Sleuth integrates the zipkin component. 1, Introduction Add sleuth to the classpath of a Spring Boot application (see below for Maven and Gradle examples), and you will see the correlation data being collected in logs, as long as you are logging requests. - F ...

Added by psychotomus on Sun, 23 Jan 2022 18:43:43 +0200

Microservice architecture * 2.4 source code analysis of Nacos acquisition configuration and event subscription mechanism

preface reference material: <Spring Microservices in Action> Principle and practice of Spring Cloud Alibaba microservice "Spring cloud framework development tutorial in Silicon Valley of station B" Zhou Yang In order to facilitate understanding and expression, the Nacos console and the Nacos registry are called the Nacos ...

Added by Daisy Cutter on Sun, 23 Jan 2022 15:10:22 +0200