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:
Posted on Sun, 05 Apr 2020 23:28:48 -0700 by Drachlen
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
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
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
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
The protocol is based on SPI, and its class distribution is as follows:
Exporter<?> exporter = protocol.export(
proxyFactory.getInvoker(ref, (Class) interfaceClass, local));
So which ag ...
Posted on Mon, 30 Mar 2020 14:59:45 -0700 by obsidian
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
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. 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
Dubbo's Provider and Consumer will create a registration center when they start. The registration center can choose zookeeper and Redis. Zookeeper is commonly used
In Dubbo, zkclient is used to operate the zookeeper server by default. It encapsulates the original customer list of zookeeper to a certain extent. When operating zookeeper, it is m ...
Posted on Mon, 16 Mar 2020 03:35:59 -0700 by Tezread
java programmers generally write that back-end services are JavaWeb-type projects, mainly including Http interface and dubbo interface, Http interface generally uses the resting style, so how to quickly test the resting interface on a third-party testing framework?
The rest-assured framework is a good tool.Like a soldier's triangula ...
Posted on Thu, 12 Mar 2020 09:53:30 -0700 by sfhc