sentinel integrates springcloud alibaba

sentinel integrates springcloud alibaba 1. Introducing dependencies <!--sentinel starter--> <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId> </dependency> 2. Add yml configuration to set sentinel console address for microser ...

Posted by mkubota on Sun, 02 Jan 2022 18:47:11 +0100

Ribbon design principle

Ribbon is an open-source client-based load balancing component of netflix. It is a very important module in the Spring Cloud family; Ribbon should also be a relatively complex module in the whole family, which directly affects the quality and performance of service scheduling. A comprehensive grasp of ribbon can help us understand each link tha ...

Posted by athyzafiris on Sun, 02 Jan 2022 17:47:50 +0100

Function and introduction of RequestMapping annotation in spring MVC

Source code: @Target({ElementType.METHOD, ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Documented @Mapping public @interface RequestMapping { String name() default ""; @AliasFor("path") String[] value() default {}; @AliasFor("value") String[] path() default {}; RequestMethod[] method() default {}; Str ...

Posted by nonexist on Sun, 02 Jan 2022 13:05:46 +0100

[Spring Cloud Alibaba] Seata distributed transaction

[Spring Cloud Alibaba] Seata distributed transaction 1,Spring Cloud Alibaba Seata Seata is an open source distributed transaction solution, which is committed to providing high-performance and easy-to-use distributed transaction services under the microservice architecture. Before the opening of Seata, the corresponding internal version o ...

Posted by at0mic on Fri, 31 Dec 2021 19:58:03 +0100

Service governance Nacos of Spring Cloud Alibaba

Spring Cloud Alibaba version dependency Add SpringBoot, SpringCloud and SpringCloudAlibaba version dependency integration, add core dependencies in dependency management, and add dependencies to be used in dependencies Spring cloud Alibaba Version Description: https://github.com/alibaba/spring-cloud-alibaba/wiki/%E7%89%88%E6%9C%AC%E8 ...

Posted by Imad on Fri, 31 Dec 2021 07:55:04 +0100

Nacos configuration center specification

1, Version selection and concept understanding 1. Version selection Graduation version dependency (recommended) Spring Cloud VersionSpring Cloud Alibaba VersionSpring Boot VersionNacos VersionSpring Cloud Hoxton.SR92.2.6.RELEASE2.3.2.RELEASE1.4.2 2.Namespace Nacos introduces the concept of namespace to manage and isolate multi environme ...

Posted by manhattanpaul on Thu, 30 Dec 2021 23:13:55 +0100

[Spring Cloud Alibaba] Mybatis Plus persistence layer

[Spring Cloud Alibaba] Mybatis Plus persistence layer 1,Mybatis Plus Mybatis Plus is a domestic persistence layer framework. It is very simple to use here. It should be in Chinese! Mybatis Plus official website: https://baomidou.com/ Spring Cloud Alibaba integrates in the same way as Spring Boot No invasion: it is only enhanced wit ...

Posted by sportryd on Thu, 30 Dec 2021 17:31:11 +0100

Learning and using Springcloud Alibaba Sentinel

1, Concept introduction 1. What is fusing? 2. What is downgrade? 3. Difference? 4. What is current limiting? 2, Solution The comparison between Hystrix of springcloud and Sentinel of Alibaba is as follows: 3, Integrated use 1. springboot introduces Sentinel dependency Specify version number directly <dependency> <gr ...

Posted by skovela on Thu, 30 Dec 2021 14:10:12 +0100

Spring Cloud Ribbon and Loadbalancer

Ribbon provides a set of microservice load balancing solutions. At present, the mainstream load balancing schemes in the industry can be divided into two categories: Centralized load balancing: that is, an independent load balancing facility (either hardware, such as F5, or software, such as nginx) is used between the consumer and the provide ...

Posted by samUK on Thu, 30 Dec 2021 09:21:54 +0100

spring cloud gateway microservice gateway

Recently, I am also writing a distributed project of microservices, which will use the springcloud gateway. Here I share some simple knowledge with you. handout First, we have to understand the concept of microservice gateway. In our microservice projects, different services may have different network addresses. However, when the client compl ...

Posted by frenchpl on Wed, 29 Dec 2021 23:18:25 +0100