What is AOP
(1) Aspect-oriented programming (aspect), the use of AOP can isolate each part of the business logic, so that the coupling degree between the parts of the business logic is reduced, the reusability of the program is improved, and the efficiency of development is improved. (2) Popular description: Add new functions to the main funct ...
1. Automatic configuration
1.1 What is dependency autowiring?
The process that the IoC container automatically finds and injects into the bean according to the resources the bean depends on is called autowiring
1.2 What are the automatic assembly methods?
By Type (Common)by nameBy construction methodAutowiring is not enabled
1.3 Prepare th ...
Microservice gateway (8) Current limiting middleware gateway integration and use of time/rate rate limiter and source code analysis
Current limiting principle
The meaning of current limit
Three powerful tools for high concurrency systems:
cache Improve system access speed and increase processing capacity, and increase cache for correspon ...
Posted by firedrop on Thu, 20 Oct 2022 18:59:35 +0300
This article continues the previous article 2.1.1 Network io and select, poll, epoll , using epoll and reactor to achieve server million concurrency.
Why do you need to implement a sock_item?
Each fd corresponds to a sock_itemsock_item contains rbuffer, wbuffer, rlength, wlength, events, callback, which enables each fd to have an in ...
Posted by leoden on Sun, 16 Oct 2022 04:08:00 +0300
1. OverviewA common requirement for Web applications is to redirect different types of users to different pages after login. For example, redirect standard users to the /homepage.html page and redirect admin users to the /console.html page.This article will show how to implement this mechanism quickly and securely using Spring Security. This ar ...
Posted by netbros on Mon, 10 Oct 2022 18:01:35 +0300
1. Spring Task is a lightweight timing task tool provided by Spring, which means that there is no need to add third-party dependencies, which is more convenient and easy to use than other third-party class libraries.
2. spring task is a timer class introduced after spring 3.0, which can be regarded as a lightweight quartz. Due to it ...
Posted by autumn on Thu, 06 Oct 2022 07:22:25 +0300
🚀 Quality resource sharing 🚀
Learning route guidance (click to unlock)Knowledge orientationCrowd positioning🧡 Python actual WeChat ordering applet 🧡Progressive classThis course is a perfect combination of python flask+WeChat applet, from project construction to Tencent cloud deployment and online, to build a full stack meal ordering syst ...
Posted by dimitar on Mon, 26 Sep 2022 21:24:21 +0300
What does the pointer mean? A pointer is a variable that stores the address of another variable in memory. A variable is a convenient placeholder for referencing a computer's memory address. A pointer variable can point to the memory address of any value and it can point to the memory address of that value. By analogy, the pointer is the c ...