Dubbo RPC communication of Spring Cloud series
About Dubbo
Official website: http://dubbo.apache.org/zh-cn/
Github: https://github.com/apache/dubbo
On February 15, 2018, dubbo, Alibaba's service governance framework, successfully became an Apache foundation incubation project.
Apache Dubbo is a high-performance and lightweight open source Java RPC framework, which provides th ...
Posted by bitt3n on Wed, 17 Jun 2020 04:52:16 +0200
Difference between locking and fence and applicable scenarios
Opening
I believe that little partners know more or less about these two words. They are common thread communication tools in concurrent programming. The two are very similar, but they are different, which leads to a lot of confusion among many small partners, including me: what is the difference between them, and what scenarios are they applic ...
Posted by rsanc on Tue, 16 Jun 2020 04:34:12 +0200
The first part of Spring source code is open and complete! How is the configuration file loaded?
Last week, I put my words out. It seems that all my friends are looking forward to it. In fact, SongGe can't wait to start a new series.
However, the current Spring Security series is still in the process of serialization and has not been completed yet. It's a series of events. Keep your spirits up, and then you'll lose three times. It must be ...
Posted by one on Mon, 15 Jun 2020 05:11:04 +0200
Learn the overall structure of redux source code and deeply understand the principle of redux and its Middleware
1. Preface
Hello, I am Ruokawa . This is the eighth part of the whole learning source architecture series. The word "overall architecture" seems to be a little big. Let alone the overall structure of the source code. The main thing is to learn the overall structure of the code without going into the implementation of other specific f ...
Posted by drfate on Mon, 15 Jun 2020 04:06:57 +0200
Implement an RPC framework one by one--Learn java spi
Preface
It's a good idea to understand the java spi(service provider interface) mechanism before going into dubbo source code. Simply put, spi can help us load the interface implementation classes described in the specified file. Hmm... That's it? Isn't that easy, even though I'm a vegetable melon, I know it Class.forName Oops~Let's study it th ...
Posted by wrequed on Mon, 15 Jun 2020 03:44:49 +0200
Don't know ConcurrentHashMap yet?This source code is analyzed and interpreted
Articles have been included in Github.com/niumoo/JavaNotes Welcome to Star and Instructions.
Welcome to my attention Public Number , articles are updated weekly.
The previous article introduced the HashMap source code, which was very popular. Many students expressed their opinions. This time it came again. This time it is ConcurrentHashMap. A ...
Posted by MadnessRed on Mon, 15 Jun 2020 03:09:09 +0200
Java records of strong reference, soft reference, weak reference and virtual reference (Practical)
First of all, don't be afraid of some nouns. In fact, they are all reasonable things.
The reference itself is well understood. The reference type data stores the memory address of the actual object. When garbage collection, it depends on whether the object has a reference. Java does not need developers to allocate memory and free memory, but it ...
Posted by rdawson on Sun, 14 Jun 2020 09:58:30 +0200
Alibaba cloud [teacher class] Java object-oriented development 54 ~ 56: inherited definition and use
Alibaba cloud [teacher class] Java object-oriented development 54 ~ 56: inherited definition and use
Derivation of inheritance problem
Implementation of inheritance
Inherit usage restrictions
Call constructor
Single inheritance: a subclass can only inherit one parent
Subclass inherits all the struct ...
Posted by Grant Holmes on Sun, 14 Jun 2020 07:00:04 +0200
Sword finger Offer (java answer)
Reprint website: http://blog.csdn.net/sinat_29912455/article/details/51137349
Sword finger Offer (java answer)
Sword point Offerjava answer
3 search in 2D array
4 replace space
5 print the linked list from the ...
Posted by blt2589 on Sun, 14 Jun 2020 03:19:41 +0200
The spring boot series integrates MyBatis framework
Add Dependency
<!--Add to mysql and mybatis rely on-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<a ...
Posted by Jragon on Sat, 13 Jun 2020 20:59:15 +0200