Spring Boot Integration Apache Dubbo

Apache Dubbo is a high performance, lightweight, open source Java RPC framework that provides three core capabilities: Interface-oriented remote method calls, smart fault tolerance and load balancing, and automatic service registration and discovery. Note that it is Apache Dubbo, not Alibaba Dubbo anymore.Simply put, Alibaba handed over Dubbo ...

Posted on Fri, 08 May 2020 12:39:59 -0700 by rashpal

Analysis of Kitty-Cloud Service Setup Process

Project Address https://github.com/yinjihuan/kitty-cloud Service Setup What you see now is all the services I have set up. If you want to set up a micro-service project yourself from scratch, what should you do? We will explain it with kitty-cloud-article service. We hope you can also start your own microservice project after reading it. Create ...

Posted on Wed, 15 Apr 2020 22:53:02 -0700 by Helios

dubbo @Activate annotation usage and implementation parsing

The Activate annotation indicates whether an extension is activated (used). It can be placed on the class definition and method. dubbo uses it on the spi extension class definition to indicate the activation condition and time of the extension. First look at the definition: @Documented @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.T ...

Posted on Sun, 05 Apr 2020 23:28:48 -0700 by Drachlen

Cao Gong said that Spring Boot source code (28) - Spring's component scan mechanism allows you to carry out simple implementation by yourself, what to do

Words written in the front Relevant background and resources: Cao Gong said Spring Boot source code (1) -- what is Bean Definition? Share with spring mind map Cao Gong said that Spring Boot source code (2) -- what is Bean Definition? Let's explain it to the interface one by one Cao Gong said that Spring Boot source code (3) -- is it not mor ...

Posted on Sun, 05 Apr 2020 08:08:48 -0700 by pido

Spring boot integrates Dubbo practice, super practical!

Thank you for your reference- http://bjbsair.com/2020-04-01/tech-info/18390.html 1. Choose ZooKeeper as the registration center Using docker to install ZooKeeper in linux Environment //Pull zookeeper image docker pull zookeeper //Start zookeeper docker run -d -p 2181:2181 -v /mysoft/zookeeper/data/:/data/ --name=zookeeper --privileged  ...

Posted on Fri, 03 Apr 2020 18:48:23 -0700 by dusty

[transfer] Dubbo declarative cache

Cache is widely used in order to improve the speed of data access. Dubbo is no exception. It provides declarative caching to reduce the user's workload of caching. 1, Caching policy in Dubbo lru deletes redundant cache based on the principle of least recent use, and keeps the hottest data cached. threadlocal current thread cache, such as a pag ...

Posted on Mon, 30 Mar 2020 22:12:31 -0700 by whatsthis

dubbo source code analysis 3 -- protocol Protocol

Agreement The protocol is based on SPI, and its class distribution is as follows: Exporter<?> exporter = protocol.export( proxyFactory.getInvoker(ref, (Class) interfaceClass, local)); Agreement has DubboProtocol,InjvmProtocol,MemcachedProtocol,MockProtocol,RedisProtocol.ThriftProtocol.... So which ag ...

Posted on Mon, 30 Mar 2020 14:59:45 -0700 by obsidian

Dubbo Source Analysis - Dubbo SPI gets extended interface instances through getExtension

Beginning Four previous articles have analyzed several uses of Dubbo SPI and how it can be used in Dubbo. Use of Dubbo SPI (1) - Extension point automatic packaging Usage of Dubbo SPI (2) - Extension point adaptive Dubbo SPI usage method (3) - automatic assembly of extension points Dubbo Source Code Analysis - Application of Dubbo SPI in Proto ...

Posted on Sat, 28 Mar 2020 09:31:38 -0700 by rem

How to use Dubbo SPI

Opening chapter As mentioned earlier Introduction and usage of Java SPI , and the Dubbo SPI to be mentioned in this article is an upgrade and transformation based on Java SPI (some shortcomings have been improved and several new playing methods have been added). See the official website for details Dubbo SPI part. This article mainly talks ab ...

Posted on Wed, 25 Mar 2020 09:34:06 -0700 by ehmer

1-SOA Distributed Architecture Building (dubbo)

1. Evolution of Distributed Architecture 1. Single Application Architecture Advantages: For small websites, small management systems, all functions are deployed in one function, easy to use. Disadvantages:1. Difficulty in performance expansion_2. Collaborative development issues_3. Disadvantage in upgrade maintenance 2. Vertical Application ...

Posted on Sun, 22 Mar 2020 10:01:53 -0700 by angeljyt