dubbo of springboot series
Introduction to dubbo
Apache Dubbo`Is a high performance Java RPC framework.(1) High performance RPC calls for interface proxyProvides high-performance proxy-based remote invocation capabilities. Services are interface-granular and shield developers from the underlying details of remote invocations.(2) Intelligent Loa ...
Added by cleromancer on Sun, 21 Jun 2020 19:12:57 +0300
We can see that when Dubbo container spring is started, the spring context is started. At this time, it will parse the bean configuration file of spring. The specific parsing work is done by Dubbo config spring. We can see that the corresponding classes are referenced in the Dubbo demo provider project.
<?xml version="1.0" encoding="UTF-8"? ...
Added by cmack on Tue, 31 Mar 2020 19:32:23 +0300
Note: The source analysis corresponds to JDK version 1.8
This is the first article on JDK Source Interpretation in Source Notes. In this article, we will explore the source code related to Java's SPI mechanism.
2 What is SPI mechanism
So, what is the SPI mechanism?
SPI is short for Service Provider Interface, which means Service ...
Added by cyball on Sun, 29 Mar 2020 05:05:48 +0300
In the previous article, we looked at what was done during the startup phase of a Dubbo service reference, and what was not seen during the remote invocation phase.The Dubbo service invocation process is complex and involves many steps, such as sending requests, codec, service demotion, filter chain processing, serialization, thread dispatch, ...
Added by Aaron111 on Sat, 21 Mar 2020 05:19:50 +0200
What is RPC
RPC (Remote Procedure Call Protocol), a remote procedure call, has the common explanation that a client calls an object that exists on a remote computer without knowing the details of the call, just like an object in a local application, without knowing the protocol of the underlying network technology.
Simple overall workflow
The r ...
Added by varai on Wed, 19 Feb 2020 19:01:20 +0200
As mentioned earlier, Dubbo's service discovery mechanism, that is, SPI. Now that Dubbo has implemented a more powerful service discovery mechanism, let's take a look at what Dubbo needs to do to register services in the registry after discovering services.
2, Introduction to Dubbo service registration
The first thing to understand i ...
Added by forsooth on Tue, 11 Feb 2020 14:54:46 +0200
1, What is Spring Boot?
Spring Boot at this stage is too hot. Why? Because it is easy to use, simple to configure and fast to start, what is it? From the official website, we can see that it is a subproject of spring open source organization, which mainly simplifies the heavy configuration of spring, and Spring Boot embeds various Servlet conta ...
Added by darknuke on Wed, 15 Jan 2020 13:49:27 +0200
Frontier: Dubbo is a very popular technology in today's popular distributed architecture, allowing days of free time to learn and work on later projects to pave the way for later distributed projects.
Introduction to Dubbox
Dubbox is a distributed service framework, its predecessor is the Alibaba open source project Dubbo, which is used by dom ...
Added by mepaco on Tue, 14 Jan 2020 19:30:16 +0200
In the previous section, we mainly explained how to dynamically modify parameters using dubbo-admin. This section will focus on another implementation detail in cluster implementation: routing mechanism, the main purpose of which is to refresh service providers from all known service providers according to routing rules when making service call ...
Added by spider.nick on Sun, 05 Jan 2020 13:41:28 +0200
private static final Protocol protocol = ExtensionLoader.getExtensionLoader(Protocol.class).getAdaptiveExtension();
First of all, analyze the getExtensionLoader method: it is very simple to query whether the extension "loaders" exist or not, and then new returns
public static <T> ExtensionLoader<T> getExten ...
Added by hyperyoga on Sat, 28 Dec 2019 16:53:49 +0200