[dubbo] 3. Using maven to build dubbo environment (demo)

Article directory 1 create provider 1-1 create maven project 2 create provider 3 configuration provider 4 configure consumers 5 configure consumers 1 create provider Build with idea. 1-1 create maven project Demand analysis: The demo of hello, the consumer transfers the user name, and the provider decompose ...

Added by designedfree4u on Wed, 06 Nov 2019 22:55:04 +0200

Dubbo cooperates with SpringBoot to implement multiple interfaces (groups)

SpringBoot cooperates with Dubbo, uses @ Service and @ Reference, and group to implement multiple interfaces. To upgrade the company's project, it is necessary to implement springBoot + Dubbo and support multiple implementations of one interface. I met several pits, and I'll record them here. 1. Install Zookeeper stay Official website Download ...

Added by realtek on Wed, 30 Oct 2019 11:22:49 +0200

Random Load Balance: One of Dubbo Load Balance Algorithms

Links to the original text: https://blog.csdn.net/danny_idea/article/details/82258367 Load balancing in dubbo is implemented by many different algorithmsRandom LoadBalance algorithm public class RandomLoadBalance extends AbstractLoadBalance ...

Added by sgbalsekar on Sun, 13 Oct 2019 17:46:57 +0300

Spring Boot 2.x Basic Case: Integrating Dubbo 2.7.3 + Nacos 1.1.3 (latest edition)

1. Overview This article will introduce how to register and consume Dubbo services by using Nacos as configuration and registration center based on Spring Boot 2.x. Version description of integration components: Spring Boot 2.1.9 Dubbo 2.7.3 Nacos 1.1.3 The highlights of this paper are as follows: 1. dubbo is configured by yml mode. 2. Rele ...

Added by nels on Thu, 10 Oct 2019 11:46:43 +0300

springboot integrates apache dubbo

As dubbo became an apache Foundation incubator on February 15, 2018, it is no longer a project maintained by Ali. Then there seems to be a fault. Most of the articles on the Internet are about dubbo development tutorials in Ali stage, which leads to a long search for apache dubbo development tutorials. So I want to sort out the simple integrati ...

Added by stephenlk on Thu, 10 Oct 2019 04:06:34 +0300

Deep Dubbo Source - The Use and Benefits of SPI

background I believe that students who have read the Dubbo source code should see that there is a @SPI annotation on many interfaces in Dubbo, and the author is no exception. But I have never known what this annotation is specifically for, in order ...

Added by meltingpoint on Sun, 15 Sep 2019 11:57:35 +0300

8. Response to request or response data processing

In the previous section, we analyzed the process of calling an interface. When the interface returns data, Dubbo needs to tell the client which interface it is calling. What happens when Dubbo responds?There is the following code in the com.alibaba.d ...

Added by FMB on Fri, 13 Sep 2019 06:50:35 +0300

5. Resolution of dubbo Request Protocol and Responder for Request or Response Data Processing

In the previous section, we analyzed service exposure. In this section, we analyzed how Dubbo handles consumer requests. Let's review the com.alibaba.dubbo.remoting.transport.netty4.NettyServer#doOpen method protected void com.alibaba.dubbo.remoting. ...

Added by scrypte on Fri, 13 Sep 2019 06:47:47 +0300

Actual RocketMQ Solves Distributed Transaction Problem

How to ensure consistency: RocketMQ Solves Distributed Transactions (Reliable Message Final Consistency Scheme) 1. System A sends a prepared message to MQ. If the prepared message fails, cancel the operation directly and do not execute. 2. If the message is sent successfully, then execute Local Transaction. If it is successful, tell MQ to se ...

Added by tomm098 on Fri, 06 Sep 2019 10:51:18 +0300

Dubbo: Generalized Implementation of Call Features

1. Overview This article shares the implementation of generalization. Let's take a look. User Guide - Generalized Implementation Definition: Pan-interface implementations are mainly used when there is no API interface and model class elements ...

Added by doreg28 on Wed, 04 Sep 2019 15:33:47 +0300