RPC Framework Reconstruction Based on Netty
01 RPC overview
The following picture, which many small partners have seen, is a picture on Dubbo's official website describing the evolution of the project architecture.
It describes the configuration and organization of each architecture. When the website traffic is very small, only one application ...
Posted by nmreddy on Wed, 19 Feb 2020 09:57:27 +0100
SpringBoot integration org.apache.Dubbo
SpringBoot integration org.apache.Dubbo
1. Preface
As an excellent RPC framework, Dubbo has a large number of users in China. Since Dubbo was donated to the Apache Foundation by Ali in February 2018, it seems that Dubbo has brought new life to Apache Dubbo under its new name.Although the Spring Clou ...
Posted by zysac on Sat, 18 Jan 2020 02:54:04 +0100
How to integrate Dubbo and SpringBoot
1, How Dubbo integrates spring boot (1)
1) Go straight to the theme, way 1:
In pom.xml, Dubbo starter dependency is introduced. In the application.properties configuration, use @ Service [expose Service] and @ Reference [Reference Service], and select the annotation method of application.properties +.
2) Create an ego interface module, wh ...
Posted by blankextacy on Fri, 17 Jan 2020 05:41:57 +0100
Vernacular takes you through Dubbo's stuff
First of all, this is not a code-based article. It is suitable for readers who want to have a better understanding of dubbo. The article is not too deep, but a series of points of knowledge are colluded to help readers learn something new from the past.
Introduction to RPC Services
Readers with some distributed development experience are confid ...
Posted by raw100 on Thu, 09 Jan 2020 04:25:38 +0100
Source code analysis Dubbo configuration rule mechanism (override protocol)
In the previous section, when explaining the RegistryDirectory, the dubbo administrator can modify the parameters of dubbo service provider online through the dubbo admin management system, and finally store them in the configurators catalog of the registry, and then notify the RegistryDirectory to update the relevant attributes in the URL of t ...
Posted by Tucker1337 on Tue, 31 Dec 2019 22:25:30 +0100
Dubbo Source Parsing - Network Calls
Dubbo Network Call
background
We know that the general flow of Dubbo remote calls (consumer processes) is as follows:
Get a list of invoker s for this method from Dirctory
A list of invoker s that meet the criteria is obtained by filtering router routes
invoker called with Cluster fault tolerance
Final invoker filtered by loadBalance
filter ch ...
Posted by clip on Sun, 15 Dec 2019 06:04:43 +0100
SPI adaptive extension mechanism of dubbo
1, background
In Dubbo, many extensions are loaded through SPI mechanism, such as Protocol, Cluster, LoadBalance, etc. Sometimes, some extensions do not want to be loaded in the framework startup phase, but they want to be loaded according to the runtime parameters when the extension method is called. It sounds contradictory. If the extension i ...
Posted by matbennett on Thu, 05 Dec 2019 18:22:53 +0100
Correct posture of Java method retry
1, introduction
In business development, it is likely to be the case of retrying.
Retry is mainly used when the call fails, especially when dubbo related exception and network related exception occur.
The following is a simple encapsulation of this function, and then gives some relatively more open source code addresses.
...
Posted by lachild on Tue, 03 Dec 2019 10:20:26 +0100
Read dubbo registration information on zookeeper
dubbo has its own service monitoring server, incubator dubbo OPS development, and github can be downloaded. There are also many local deployment examples on the Internet, so I wondered if I could monitor dubbo's service by myself, so I wrote the following code. In particular, zookeeper's watch mechanism is a one-time trigger. When it is heard t ...
Posted by don_s on Tue, 03 Dec 2019 09:03:03 +0100
Unfortunately, Spring Bean initialization / destruction has so many postures
Source: http://1t.click/bfHN
I. Preface
The daily development process sometimes needs to load some resources after the application is started, or release resources before the application is closed. The spring framework provides related functions. Around the Spring Bean life cycle, you can initialize resources in the Bean creation process and ...
Posted by cute_girl on Mon, 25 Nov 2019 21:10:55 +0100