Dubbo Extension Mechanism: Extension Loader

I. Preface Dubbo's Extension Loader is an important component of "micro-kernel + plug-in" implementation, which is based on the java spi mechanism but provides the following extensions: jdk spi only obtains all implementations by interface class name, while Extension Loader obtains an implementation by interface class name and key ...

Posted by Jove on Fri, 05 Jul 2019 13:18:54 -0700

Dubbo Quick Start

Dubbo is a distributed service framework. Since it is a service, there must be service providers and service invokers. Next, let's write a service provider. Engineering still uses the project in the introduction to spring 4 in the previous article.   We add dubbo dependencies to pom.xml <dependency> <groupId>com.alibaba</grou ...

Posted by BITRU on Sat, 15 Jun 2019 15:10:08 -0700

Schema Implementation of Distributed Service Dubbo from Initial to Proficient

For more technical articles, Click Links to the original text   Preface   Although Dubbo has been used for a long time, in fact, its understanding is still a drop in the bucket. Last month, I read through the Netty Actual Warfare (rough understanding), and suddenly I have the desire to interpret the Dubbo source code. If it doesn't wait f ...

Posted by kashmirekat on Fri, 14 Jun 2019 12:52:58 -0700

dubbo Source Resolution Server Processing Request Processing

2.7 Disclosure - Service side processing request process Target: From the source point of view, analyze a series of operations after the server receives the request, and eventually return the value that the client needs. Preface The previous article talked about the process of sending requests by the consumer side, which is about the process of ...

Posted by dstantdog3 on Sat, 08 Jun 2019 09:20:31 -0700

Recording the process of troubleshooting on-line

Background: After the completion of the new function development test, we are ready to launch. When the third machine is released, the monitoring shows that CPU of one machine suddenly soars to 300%, the number of active threads of Dubbo directly soars to 1000+, so we have to stop publishing, immediately roll back the problem machine, and retur ...

Posted by meigwil on Thu, 06 Jun 2019 13:30:25 -0700

dubbo refrence bean (service reference)

Write a dubbo tag on xml to refer remote services to local use: <dubbo:service interface="com.test.dubbo.service.BuyFoodService" ref="buyFoodService"/> Since spring is Schema, dubbo has custom Schema, in dubbo Namespace Handler: registerBeanDefinitionParser("service", new DubboBeanDefinitionParser(ServiceBean.class, true)); sp ...

Posted by smalband on Fri, 24 May 2019 15:17:54 -0700

dubbo Source Analysis (1) Service Exposure--Service Reference

It's time for the interview again to prepare some dry goods for the interview. provider example <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dubbo="http://code.alibabatech.com/schema/dubbo" xsi:schemaLocation="http:/ ...

Posted by ehhwan on Wed, 22 May 2019 13:13:04 -0700

Cluster Layer of Dubbo Analysis

Serial articles Dubbo Analysis Serialize LayerTransport Layer of Dubbo AnalysisExchange Layer of Dubbo AnalysisProtocol Layer of Dubbo Analysis Preface Immediately preceding Protocol Layer of Dubbo Analysis This paper continues to analyze the cluster layer of dubbo, which encapsulates the routing and load balancing of multiple providers, br ...

Posted by luminous on Sun, 12 May 2019 03:55:43 -0700

More than a little improvement, a detailed interpretation of Dubbo 3.0 Preview

Since October 27, 2011, Dubbo has been used by many non-Ali companies, including Dangdang Networks, NetEase Koala and other Internet companies, as well as China Life, Qingdao Haier and other large traditional enterprises. More user information, access to Dubbo @GitHub,issue#1012: Wanted: who's using dubbo. Since December last year, Dubbo 3.0 ...

Posted by ruddernz on Sat, 11 May 2019 05:33:04 -0700

timeout analysis of dubbo

background When using dubbo, you usually encounter the property timeout, which is used to set a timeout for a service call. If the service does not return a result within the set time, a call timeout exception will be thrown: TimeoutException, during use, we sometimes set a timeout value for both provider and consumer configurations, then the s ...

Posted by stokie-rich on Sat, 04 May 2019 12:50:37 -0700