Istio Best Practices Series: how to implement method level call tracing?
Zhao Huabing, senior engineer of Tencent cloud, Istio Member, management member of ServiceMesher, contributor of Istio project, is keen on open source, network and cloud computing. At present, it is mainly engaged in open source and R & D of service grid.
introduction
TCM (Tencent Cloud Mesh) is a Service Mesh hosting service based on Ist ...
Posted by Chris92 on Mon, 07 Mar 2022 19:43:46 +0100
02-SpringIoC and DI Annotation Development
1.Spring Configuration Data Source
1.1 Role of data sources (connection pools)
Data sources (connection pools) are available to improve program performance
Pre-instantiate the data source to initialize partial connection resources
Get from data source when using connection resources
Return the connected resource to the data source after us ...
Posted by anthonyfellows on Mon, 07 Mar 2022 19:11:53 +0100
Spring MVC operation introduction
Chapter 1 Introduction to spring MVC
Spring Framework version 4.3.29 RELEASE
What is spring MVC
1. Spring Part of the family
2. yes JavaWeb Solution of controller layer in three-tier architecture
3. Is based on MVC Ideological framework
-- Model
-- View
-- Controller
Spring MVC knowledge point outline
Spring MVC ...
Posted by jiayanhuang on Mon, 07 Mar 2022 15:37:33 +0100
Spring transaction management
1, Basic concepts of transaction 1. What is a transaction (1) Transaction is the most basic unit of database operation. Logically, a group of operations either succeed or fail if one fails (2) Typical scenario: bank transfer 2. Transactions have four characteristics (ACID) (1) Atomicity: to succeed, to fail, to fail (2) Consistency: the total a ...
Posted by tillaart36 on Mon, 07 Mar 2022 15:11:29 +0100
Crazy God said Spring02: get started quickly hellosppring
HelloSpring
1. Create spring-02-hellospring
2. Add Hello entity class
public class Hello {
private String str;
public String getStr() {
return str;
}
public void setStr(String str) {
this.str = str;
}
@Override
public String toString() {
return "Hello{" +
"str='" + str + ...
Posted by cdherold on Mon, 07 Mar 2022 13:59:29 +0100
SpringBoot-21-Mybatis multi data source configuration
SpringBoot-21-Mybatis multiple data sources
As we mentioned earlier, there are two ways to generate Mybatis Code:
Mybatis Genenrator Mybatis code generation Mybtais Plus MyBatisPlus code generation
The JdbcTemplate and spring boot data operation databases were also introduced earlier
JdbcTemplate multi data source configuration Spring ...
Posted by Ree on Mon, 07 Mar 2022 04:53:58 +0100
You may not know enough about spring beans
Define spring beans
Bean definition in the corresponding code is the configuration meta information interface of beans defined in the Spring Framework, mainly including:
Bean's class name, fully qualified name, concrete implementation classBean configuration meta information: scope, Auto Wiring, lifecycle callbackBean References: Collaborator ...
Posted by buddhika2010 on Mon, 07 Mar 2022 01:53:27 +0100
In those years, we learned the common notes of mybatis plus (12)
๐ About the author: Hello, I'm cabbage ~ ~, a sophomore in school, and a new star creator in the Java field.๐ Personal homepage: Cabbage CSDN blog๐ง If there are mistakes in the knowledge points of the article, please correct them! Learn and make progress with you ๐๐ฅ If you feel the blogger's article is good, please ๐ Three company support ...
Posted by eyaly on Sun, 06 Mar 2022 22:22:30 +0100
[spring] how to use dynamic proxy in AOP
Ideas of this paper
How to implement dynamic proxy in jdk, cglib and spring.
spring implements ProxyFactory details of dynamic agents.
Understand the general idea of AOP implementation from the use of ProxyFactory.
What is an agent
Provide a proxy for other objects to control access to this object, enhance a method in a class, and extend the ...
Posted by hex on Sun, 06 Mar 2022 18:14:05 +0100
3, Communication between multiple threads
preface
1, synchronized and Volatile
volatile
Visibility can be guaranteed, but atomicity cannot be guaranteed (thread safety problem)
Prohibit reordering
synchronized
Both visibility and atomicity can be guaranteed
Reordering is not prohibited
synchronized is blocking. Only one thread can access it at a time
2, Reorder
Concept: the c ...
Posted by FUEL on Sun, 06 Mar 2022 15:32:33 +0100