The circuit breaker mechanism is a microservice link protection mechanism to deal with the avalanche effect. When a microservice of the fan-out link fails or the response time is too long, the service will be degraded, and then the microservice call of the node will be blown. Returns the appropriate information for the error.
In Spring Clo ...
Posted by NoMansLand on Wed, 18 May 2022 14:22:01 +0300
Source address: GitHub · click here || GitEE · point here
1, Introduction to Seata
1. Seata assembly
Seata is an open source distributed transaction solution, which is committed to providing high-performance and easy-to-use distributed transaction services. Seata will provide users with AT, TCC, SAGA and XA transaction modes to cr ...
Posted by TheAngst on Tue, 17 May 2022 17:14:15 +0300
Spring Cloud's service gateway gateway (II) integrates Swagger components
Swagger is a visual API testing tool, which can effectively build powerful Restful API documents and save interface document management If the code is modified, the API document will be updated in real time And it can partially replace Postman to debug the inte ...
Posted by Gomesh on Tue, 17 May 2022 11:37:00 +0300
1. Pain points of mybatis
We know that MyBatis is a persistence layer framework based on java. It encapsulates jdbc internally, which greatly improves our development efficiency.
However, there are many pain points in developing with Mybatis:
Each Dao interface needs to define a bunch of addition, deletion, modification and query methods ...
Posted by greenber on Sun, 15 May 2022 00:18:14 +0300
How to learn at this stage?
Three tier architecture + MVC
Spring IOC AOP
SpringBoot，New generation JavaEE Development standard, automatic assembly
modularization~ all in one，The code has not changed~
Four core issues of microservice architecture?
1.There are many services. How can clients access t ...
Posted by idris on Sat, 14 May 2022 17:54:19 +0300
Introduction to spring cloud (general understanding)
1. Learning objectives
Understanding the evolution of the system
Ø understand the difference between RPC and Http
Ø master the simple use of HttpURLConnection
Ø master the simple use of HttpClient
Ø know what spring cloud is
Ø independent establishmen ...
Posted by shibobo12 on Wed, 11 May 2022 21:35:49 +0300
Build a registry cluster to prevent a single point of failure, that is, the failure of the only registry leads to the failure of the whole architecture
In this implementation, a pseudo cluster is built on a single computer, so the host file needs to be modified for simulation
C:\Windows\System32\drivers\etc\hosts modify the mapping file
Posted by JackSevelle on Tue, 10 May 2022 16:00:56 +0300
6-cloudalibaba sentinel (rule persistence) learning notes 2020.10.25
Preface:( Official website ,Dynamic rules)
Previously, the rules we learned to configure were temporary. As long as the micro service application is restarted, the rules disappear and need to be reconfigured.
In this way, there will be more and more troublesome things i ...
Posted by hagen00 on Tue, 10 May 2022 09:00:26 +0300
The advanced path of a programmer who almost enters a large factory after graduation - not only to consolidate knowledge, but also to increase fans.
Collection + attention makes it easy to watch subsequent updates.
Personal wechat official account [one IT] shares software, resources, tutorials and benefits every day.
In the previous sect ...
Posted by DuNuNuBatman on Sun, 08 May 2022 22:47:21 +0300
Getting started with Spring Cloud -- Bus message Bus
Spring Cloud Bus is a framework used to link the nodes of distributed system with lightweight message system. It integrates the event processing mechanism of Java and the function of message middleware. Spring Cloud Bus currently supports RabbitMQ and Kafka.
Spring Cloud Bus ...
Posted by FireWhizzle on Sun, 08 May 2022 02:48:16 +0300