Introduction to microservices
Differences between single application architecture and microservice architecture
Single application architecture (a project is packaged and deployed to a server)
Disadvantages:
Code complexity is high, and a project may contain millions of code Difficult to update technology Low iteration frequency of project version Low scalabilit ...
Added by srinivas6203 on Mon, 13 Dec 2021 13:31:46 +0200
Spring Cloud Alibaba service flow limiting downgrade Sentinel
Sentinel overview
Sentinel: traffic guard of distributed system
Sentinel takes traffic as the starting point to protect the stability of services from multiple dimensions such as traffic control, fuse degradation and system load protection.
Sentinel is divided into two parts:
Core library( Java Client) does not depend on any framework/L ...
Added by JohnnyLearningPHP on Mon, 13 Dec 2021 03:21:46 +0200
7, Spring Cloud Alibaba + spring boot + data center + multi tenant saas + front end and back end separated Spring Cloud Alibaba will persist Nacos data to MySQL
1. Preface We learned about the default storage method of the configuration center using Nacos and where the data is stored. Through consulting the materials, we learned that the data of the Nacoe configuration center and registration center are stored in the Derby embedded database by default. Obviously, the memory database is not suita ...
Added by gregsmith on Wed, 08 Dec 2021 13:08:07 +0200
cloud Alibaba e-commerce project series: architecture evolution, understanding domain driven design, and writing of project common modules
cloud Alibaba project
Architecture evolution
Monomer architecture
The database and cache are shared in one program, and the deployment is simpleThe disadvantages are obvious, and the code coupling seriously affects the whole body
Vertical Architecture
Advantages: service, independent deployment, easy horizontal expansionDisadvantages: co ...
Added by tony.j.jackson@o2.co.uk on Fri, 03 Dec 2021 00:25:22 +0200
SpringCloud scaffold | 2.SpringCloud integrates security. Implements the certification center
The project is not open source for the time being. If you need source code, please pay attention to the author's official account "AI code division", and reply to the "SpringCloud scaffold" in the official account.
Create certification authority module
New module
Right click the parent project and click in sequence
...
Added by benreisner on Wed, 01 Dec 2021 08:28:33 +0200
Spring cloud upgrade 2020.0.x - 42. Existing request logs and defects for analysis in spring cloud gateway
Code address of this series: https://github.com/JoJoTec/spring-cloud-parent
As the gateway is the entrance to all external user requests, it is very important to record the elements we need in these requests for online monitoring and business problem location. Moreover, among these elements, link information is also very important. Through t ...
Added by ultraviolet_998 on Wed, 01 Dec 2021 04:24:23 +0200
Spring Cloud microservice Gateway component
What is Spring Cloud Gateway
As the entrance of traffic, the common functions of gateway include routing and forwarding, permission verification, flow restriction, etc. Spring Cloud Gateway is the second-generation gateway framework officially launched by Spring Cloud, which is positioned to replace Netflix Zuul1.0. Compared with Zuul, Spr ...
Added by [/Darthus] on Tue, 30 Nov 2021 20:27:23 +0200
Microservice summary
The foundation of microservice architecture (MSA) is to develop a single application into a group of small independent services, which run in their own process, develop and deploy independently.
The microservice in the program is to extract the commonness of each business system and make it into an independent service.
SpringCloud Al ...
Added by Wayne Herbert on Mon, 29 Nov 2021 22:41:34 +0200
10. [necessary enterprise architecture for entrepreneurship, any project can be developed] MySQL LIKE clause of spring cloud large enterprise distributed micro service Cloud Architecture source code
MySQL LIKE clause
We know that the SQL SELECT command is used to read data in MySQL, and we can use the WHERE clause in the SELECT statement to obtain the specified record.
Friends who need the framework source code can see my personal profile and contact me, Recommended distributed architecture source code.
An equal sign c ...
Added by Sinemacula on Fri, 26 Nov 2021 07:50:41 +0200
Sentinel depth analysis algorithm in flow control
Sentinel's flow control is to monitor the QPS of application traffic or the number of concurrent threads. When the specified threshold is reached, it controls the flow to avoid being overwhelmed by the instantaneous flow peak, so as to ensure high availability. This paper analyzes the flow control algorith ...
Added by Carterhost on Wed, 24 Nov 2021 23:37:46 +0200