SpringCloud microservice practice -- building an enterprise level development framework: design and implementation of microservice logging system
according to the business requirements that business developers usually face, we divide the log into operation (request) log and system operation log. The operation (request) log allows administrators or operators to easily query and track the specific operations of users in the system interface, so as to analyze and count user beh ...
Posted by drayfuss on Fri, 18 Feb 2022 11:32:54 +0100
Configuring a nacos cluster with nacos+nginx
SpringCloud Alibaba
Nacos
What is Nacos
Nacos is the first two letters of Naming and Configuration, and the last S is Service
A dynamic service discovery, configuration management and service management platform that is easier to build cloud native applications
Nacos is the combination of registration center + configuration center Eureka+C ...
Posted by cjacks on Thu, 17 Feb 2022 20:45:03 +0100
How can RocketMQ of "springcloud 2021 series" quickly implement the micro service message mechanism
Introduction to RocketMQ
For detailed explanation, you can view the following documents: rocketmq Basics
RocketMQ It is an open source distributed messaging system, based on high availability distributed cluster technology, which provides low latency and highly reliable message publishing and subscription services. At the same time, it is wid ...
Posted by lauxanh on Tue, 15 Feb 2022 05:06:41 +0100
"springcloud 2021 series" Spring Cloud Gateway + OAuth2 + JWT realize unified authentication and authentication
Carry out unified authentication through authentication service, and then verify authentication and authentication through gateway.
Nacos will be used as the registration center, Gateway as the Gateway, and nimbus Jose JWT JWT library will be used to operate JWT tokens
Theoretical introduction
Spring Security is powerful and easy to ...
Posted by chrisranjana on Tue, 15 Feb 2022 01:35:40 +0100
"springcloud 2021 series" Seata completely solves the problem of distributed transactions
Distributed transaction
Monomer application
In a single application, a business operation needs to call three modules to complete. At this time, the consistency of data is guaranteed by local transactions.
Microservice application
With the change of business requirements, individual applications are divided into micro service applications ...
Posted by ksukat on Mon, 14 Feb 2022 05:10:22 +0100
SpringCloud learning notes
Crazy God said spring cloud learning notes - KuangStudy - article
1.1 learning premise
Proficient in using SpringBoot microservice rapid development frameworkLearned about Dubbo + Zookeeper distributed Foundation The configured memory of the computer is no less than 8g (my own is 16G)
Let's see the memory overhead diagram of multiple serv ...
Posted by jaz529 on Sun, 13 Feb 2022 11:27:25 +0100
Spring Cloud Alibaba Seata distributed transaction solution
1, Distributed transaction problem
A business operation needs to be called remotely across multiple data sources or across multiple systems, which will lead to distributed transaction problems.
give an example:
Business logic for users to purchase goods. The whole business logic is supported by three micro services:
Warehousing service: ...
Posted by netbros on Sat, 12 Feb 2022 13:22:00 +0100
[SpringCloud component learning notes series] Config component
5. Use and explanation of SpringCloud Netflix Config
5.1 introduction
In the distributed system, due to the large number of services, the configuration files are scattered in different micro service projects, which is inconvenient to manage.
The Spring Cloud Config component is mainly used to centrally manage configuration files. It supports ...
Posted by acoole on Sat, 12 Feb 2022 13:00:02 +0100
Spring Cloud Alibaba Nacos service registration and configuration center
As the Spring Cloud Netflix project enters the maintenance mode (putting the module in the maintenance mode means that the Spring Cloud team will not add new functions to the module, but will only fix block level bug s and security problems), Alibaba team provides us with a new one-stop solution for microservice development
See official in ...
Posted by rbama on Sat, 12 Feb 2022 12:59:32 +0100
[SpringCloud component learning notes series] OpenFeign component
3. Use and explanation of SpringCloud Netflix OpenFeign
Feign can hide the Rest request and disguise it as a Controller similar to spring MVC. It doesn't need to splice URL s, parameters and other operations by itself. Feign can take over these and complete them automatically.
3.1 use of Feign
3.1.1. Dependency import
In the pom file of con ...
Posted by pb4life55 on Sat, 12 Feb 2022 12:54:34 +0100