Ribbon load balancing service call

1. Ribbon overview 1.1 what is Ribbon?   Spring Cloud Ribbon is a set of client-side load balancing tools based on Netflix Ribbon.    in short, ribbon is an open source project released by Netflix. Its main function is to provide software load balancing algorithms and service calls on the client. Ribbon client component pr ...

Posted by wanted420 on Tue, 05 Apr 2022 15:58:17 +0300

MybatisPlus -- personal notes

Mybatis-Plus brief introduction MyBatis-Plus (opens new window) (MP) is a MyBatis (opens new window) The development of mytis is based on the simplification and enhancement of tools, but not on the improvement of efficiency. vision Our vision is to be the best partner of MyBatis, just like Contra 1P and 2P in, and the efficiency is doubled ...

Posted by torleone on Tue, 05 Apr 2022 13:12:57 +0300

Qingfeng open source architecture - springboot2 6. Spring security of X + vue3 Ant Design vite to realize access control

Framework open source address: Qingfeng open source architecture - springboot2 6. X + vue3 Ant Design vite: Qingfeng - springboot2 6. X + vue3 Ant Design vite open source architecture realizes the functions of system management module, authority control module (menu authority, function button authority, data authority), code generator (single ...

Posted by VLE79E on Tue, 05 Apr 2022 12:59:58 +0300

[SpringBoot] - usage scenarios and differences of @ valid, @ NotBlank, @ NotEmpty and @ NotNull annotations

1, When to use @ NotBlank annotation Source: https://blog.csdn.net/sunnyzyq/article/details/103527380 In Spring projects, Restful interfaces are often used between microservices. Then the problem comes. When the current segment calls the back-end interface or the back-end micro service interface is called by other micro services, we can't only ...

Posted by barbgd on Tue, 05 Apr 2022 12:18:54 +0300

SpringBoot introduction case Foundation Part 2

Introduction to REST style What is REST? REST (Representational State Transfer) representation state transitionTraditional style resource description form http://localhost/user/getById?id=1 (get the user with ID 1)http://localhost/user/saveUser (save user) REST style description form http://localhost/user/1 (get the user with id 1) ...

Posted by walkonet on Tue, 05 Apr 2022 08:22:44 +0300

spring boot custom cache, implemented using FIFO, LRU and LFU algorithms

summary Caching is often used in our development. redis and MemCached are the most common middleware, but we will not talk about these two Middleware in this chapter for the time being. So why do we use caching? Is to improve efficiency. When we usually run the program, the program runs in memory, and then the interaction between the prog ...

Posted by dminadeo on Tue, 05 Apr 2022 07:05:12 +0300

Analysis of SpringBoot automatic assembly principle

First of all, for a SpringBoot project, the most obvious sign is @ SpringBootApplication, which marks that it is a SpringBoot project, so today's SpringBoot automatic assembly principle starts from it. Automatic assembly process First, let's take a look at the mystery behind the annotation @ SpringBootApplication. We press ctrl + the left mous ...

Posted by nick2price on Tue, 05 Apr 2022 04:09:55 +0300

Getting started with SpringBoot2

01. Spring and SpringBoot 1. What can Spring do 1.1. Spring's ability 1.2. Spring ecology https://spring.io/projects/spring-boot Covered: web developmentdata access safety control DistributedMessage serviceMobile developmentBatch processing...... 1.3 major upgrade of spring 5 1. Responsive programming RP (Reactive Programming) Responsi ...

Posted by xxxxxx on Tue, 05 Apr 2022 03:56:18 +0300

Chapter 2 of reading notes of spring in action fifth edition developing Web applications

I Writing entity classes 1.pom. Add dependency to XML: <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <optional>true</optional> </dependency> //Ingredients @Data public class Ingredient { private final String id; private final String name ...

Posted by HTTP-404 on Tue, 05 Apr 2022 02:59:38 +0300

Zuul of Spring Cloud micro service

1, What is Spring Cloud Zuul? Spring Cloud Zuul is one of the core components of the Netflix subproject of spring cloud. It can be used as an API gateway in the micro service architecture and supports dynamic routing and filtering functions.API gateway provides a unified access portal for services in the micro service architecture, and clients ...

Posted by ssppllaatt on Tue, 05 Apr 2022 01:44:05 +0300