Preliminary exploration of Netty
NIO's class library and API are complex and troublesome to use: you need to be familiar with Selector, ServerSocketChannel, SocketChannel, ByteBuffer, etc. The workload and difficulty of development are very large: for example, the client is faced with disconnection and reconnection, network flash, heartbeat pr ...
Posted on Mon, 06 Apr 2020 07:56:20 -0400 by deception54
Spring configures maven as follows:
Posted on Sun, 05 Apr 2020 12:22:40 -0400 by cdjaco
In dubbo source code, extension loader is often used, which uses java SPI mechanism.
ProxyFactory proxyFactory = ExtensionLoader.
Protocol protocol = ExtensionLoader.
1. Judge whether the clas ...
Posted on Mon, 30 Mar 2020 15:33:47 -0400 by hrichman
Dubbo SPI series
On Java SPI
How to use Dubbo SPI (I) - automatic packaging of extension points
Dubbo SPI using method (2) - extended point adaption
Dubbo SPI usage (3) - automatic assembly of extension points
Dubbo source code analysis - Application of Dubbo SPI in Protocol layer
Dubbo source code analysis - Dubbo SPI obtains extension poin ...
Posted on Sun, 29 Mar 2020 02:15:21 -0400 by jfs0479
Last one Dubbo SPI usage (1) - automatic wrapping of extension points.
This paper continues with Dubbo SPI - extended point adaptation.
Introduction to adaptive extension point
@How to use Adaptive annotation
Act on class
Act on method
1. Adaptive extension point
The dependent extension point injected by Exte ...
Posted on Fri, 27 Mar 2020 05:54:13 -0400 by nicky77uk1
Foreword: Today we will explain to you the principle of Dubbp invocation, and a demo test to show you the running process of Dubbo.In the previous article, we talked about-- Zookeeper Installation Test for Dubbo and Building Zookeeper Cluster In which we have already talked about the building of Zookeeper cluster. Today we will also use this cl ...
Posted on Fri, 27 Mar 2020 00:12:35 -0400 by SilverFoxDesign
This article mainly analyzes the implementation details of NettyServer and HeaderExchangeServer.
The whole class diagram of NettyServer is as follows:
First, take a look at the properties held by the NettyServer object in general:
private final ChannelHandler handler
Event handling Handler.
private volatile URL ur ...
Posted on Sun, 22 Mar 2020 12:16:06 -0400 by b-real
log4j.rootLogger = debug,stdout,D,E,DB
### Output information to control lift ###
log4j.appender.stdout = org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target = System.out
#### change to info in deployed env.###
log4j.appender.stdout.Threshold = DEBUG
log4j.appender.stdout.layout = org.apache.log4j.Pa ...
Posted on Sat, 21 Mar 2020 13:38:05 -0400 by Sillysoft
I. Ideas for Self-realization
Service Address Registration to Registration Center
2. How to parse the spring configuration file
Typically, information about services is placed in the spring configuration file for dubbo parsing calls.So how do these profiles work?
2.1. De ...
Posted on Fri, 20 Mar 2020 23:26:34 -0400 by nttaylor
This article implements a simple rpc framework through Java, and the concept of rpc is not detailed here.It is believed that a clearer and more intuitive understanding of the implementation principle of rpc can be obtained by looking at the entire implementation process.
The end result is similar to Dubbo Official Demo Let's ...
Posted on Fri, 20 Mar 2020 17:53:29 -0400 by fallenangel1983