All men are mortal
Dubbo is derived from alibaba’s taobao.com open source distributed service architecture, and is committed to providing high-performance and transparent RPC remote service invocation scheme, which is the core framework of SOA service-oriented governance scheme. After taobao opened its source, it has received a lot of expansion and support (famous: Dubbox of Dangdang, JD-Hydra of JD, etc.).
Dubbox (also known as the Dubbo eXtensions) is a dubbo2.x based update of The Fork. Zookeeper and Spring versions are updated and restfull style remote calls are supported.
version
Dubbo
Update has been stopped;Dubbox
It’s still being updated.
Note: Dubbox is compatible with Dubbo 2.x and does not change any of dubbo’s existing features or configuration (other than upgrading versions like Spring).
- It is said that Taobao
dubbo
With a non-open source frameworkHSF
Have a dispute, lead todubbo
The team has disbanded, but its expanded versiondubbox
But it has been continuously developed (upgraded); Dubbox - 2.8.0
: This version has been used in production environments and is mainly supportedREST
Style remote call, supportKryo
andFST
Serialized, upgradedSpring
andZookeeper
Client, adjusteddemo
Application and so on;Dubbox - 2.8.1
: Mainly supports embedded basedtomcat
thehttp-remoting
To optimize theREST
Client performance, inREST
The maximum value that is supported by the serverHTTP
Connection number and so on;Dubbox - 2.8.2
Support:REST
In theHTTP logging
, includingHTTP header
The fields andHTTP body
For debugging, logging, and so on. Provide helper classes for easeREST
Chinese processing; Change to use@Reference annotation
Exception handling during configuration, that is, whenannotation
Configure when pastdubbo
Instead of throwing exceptions that cannot be found by dependent services during startup, NPE is thrown on specific invocation, which is inconsistent with the behavior when configured with XML; The larger documentation for Dubbo REST.Dubbox - 2.8.3
In:REST
In the supportdubbo
In a unified waybean validation annotation
Calibration of parameters;- in
RpcContext
Support to obtain the underlying protocolRequest/Response
; - Support a
Spring
theJava Config
Way to configuredubbo
; - in
Dubbo
Protocol support based onJackson
theJson serialization
; - in
Spring AOP
Supported on proxied objectsdubbo annotation
Configuration; - correction
Dubbo
None in the management interfaceconsumer
When a null pointer exception occurs; - correction
@Reference annotation
In theprotocol
Setting bugs that don’t work - correction
@Reference annotation
On thesetter
Method bugs that can go wrong;
The embedded
dubbo
: embeddedJetty
dubbox
: Embedded basedtomcat
implementationdubbo
theHTTP remoting
System (i.e.dubbo-remoting-http
)
rightServlet API
The support of
dubbo
: 2.5dubbox
Upgrade to 3.1
serialization
dubbox
Based on:Dubbo
The defaultRPC
Protocol add newJSON
Serialization implementation; Support based onKryo
andFST
theJava
Efficient serialization implementation;
Zookeeper
The registry
dubbo
:Dubbo
providesZookeeper
Registry, in the wholeDubbo
In the design of the full consideration of all types of user needs, some of the underlying communication or information storage provides a large number of different storage schemes;dubbox
Upgrade:ZooKeeper
Client to latest version;
Usage scenarios
dubbo
Use:Dubbo
theRPC
The invocation method will still exist between servicesAPI
Strong dependence;dubbox
: relative to theDubbo
To support theREST
Original invocation of style (HTTP +JSON/XML
);
— — — — — — — — — — — — — — – in short (dubbox dubbo based upgrade) : — — — — — — — — — — — — — — —
- support
REST
Style remote call (HTTP + JSON/XML
); - Support based on
Kryo
andFST
theJava
Efficient serialization implementation; - Support based on
Jackson
theJSON
Serialization; - Embedded based support
Tomcat
theHTTP remoting
System; - upgrade
Spring
To 3. X; - upgrade
ZooKeeper
The client; - Support is entirely based on
Java
The code ofDubbo
Configuration;
The appendix
Dubbo
- website
- Official user guide: Can be used as learning material for SOA architecture
Dubbox
- dubbox
- Introduction to dubbox
- Dubbox architecture
- Dubbox learning reference documentation
- Example for getting started with dubbo/ Dubbox, a distributed services framework