Heart beat mechanism of dubbo

In network transmission, how to ensure the availability of channel connection is a very important issue. Simply put, in network communication, there are clients and servers, one is responsible for sending requests, the other is responsible for receiving requests. In the context of ensuring the validity of connection, what role do these two obje ...

Posted on Wed, 19 Feb 2020 10:18:30 -0800 by B-truE

[Note 6 - payment and order module] independently completed the development of enterprise Java e-commerce website (server side) from 0

Payment module In the actual development work, we often encounter the following scenarios: one payment module, one Order module, has certain dependence, one colleague is responsible for the payment module, and another colleague is responsible for the Order module, but when developing the payment module, we need to rely on the relevant classes, ...

Posted on Mon, 10 Feb 2020 23:57:38 -0800 by computerzworld

Dubbo API configuration mode

Preface My project AngBoot Spring security is used for permission management and authentication, but the original intention of the project is to serve as a development template structure. Therefore, in order to cope with micro services and more flexible use scenarios, I introduced Dubbo to provide rem ...

Posted on Sun, 02 Feb 2020 00:45:41 -0800 by zeezack

SpringBoot+zookeeper+dubbo small case

Dubbo is a high-performance and lightweight open-source Java RPC framework, which provides three core capabilities: interface oriented remote method invocation, intelligent fault tolerance and load balancing, and automatic service registration and discovery. ZooKeeper is a distributed, open-source distr ...

Posted on Fri, 17 Jan 2020 00:32:35 -0800 by Talguy

Source code analysis of Dubbo cluster fault tolerance strategy

In the previous article, the service discovery (Directory, registry Directory), routing mechanism (Router), and load balancing mechanism have been separately analyzed. This section will focus on the analysis of the cluster fault tolerance mechanism (AbstractClusterInvoker). AbstractClusterInvoker is the integration of the above mechanisms. In t ...

Posted on Sun, 12 Jan 2020 09:00:19 -0800 by Infinitive

Service Publishing for Dubbo Source Analysis 3

1. Overview of service publishing The Dubbo service export process starts when the Spring container publishes a refresh event [dubbo:service --> ServiceBean --> onApplicationEvent (ContextRefreshedEvent event)] and executes the service export logic after receiving the ContextRefreshedEvent even ...

Posted on Sat, 11 Jan 2020 16:59:36 -0800 by amargharat

SPI Principle of dubbo Source Analysis 1 and IOC and AOP Principles

1. What is Dubbo SPI First, look at the description of the dubbo website: The SPI is called Service Provider Interface and is a service discovery mechanism.The essence of SPI is to configure the fully qualified name of the interface implementation class in a file and load the implementation class by r ...

Posted on Sat, 11 Jan 2020 16:41:54 -0800 by sfmnetsys

The application of helm-v3, a K8s native microservice management tool

Catalog:Debug the application according to the requirements of microservice publishing, and publish microservice using chart template1. Publish a helm template based on the production environment based on dubbo microserviceTemplate address:git clone git@gitee.com:zhaocheng172/helm-dubbo.gitPlease give me your public key, or you won't be able t ...

Posted on Mon, 23 Dec 2019 02:30:28 -0800 by empnorton

SPI of Dubbo source code analysis

I. overview This article introduces adaptive extension, the implementation of getadaptive extension(). Many functions of the ExtensionLoader class itself also use adaptive extensions. Includes the ExtensionFactory extension. Generally speaking, the logic of adaptive extension is: when calling the method of extension point, automatically judge ...

Posted on Tue, 17 Dec 2019 12:46:03 -0800 by feddie1984

Construction of spring boot debugging environment for dubbo series (1)

preface This is the first part of dubbo series. Before we officially explain the source code of dubbo, we need to build a set of dubbo samples for us to read the source code and understand the core functions of dubbo. This article is based on springboot, and other configurations through xml are too cumbersome. Version Descri ...

Posted on Tue, 17 Dec 2019 08:06:54 -0800 by everlifefree