Introduction to Dubbo Dubbo's past and present lives

Introduction to Dubbo

Dubbo metrics

1. Introduction to Dubbo

1. Dubbo is an open source framework developed by Alibaba to solve microservice communication. Its biggest feature is that it is structured in a layered manner. In this way, the various layers can be decoupled.

2. Dubbo 's model is very simple, either the service provider or the service consumer

3. Dubbo provides three core capabilities:

  • Interface-oriented remote method invocation
  • Intelligent fault tolerance, load balancing
  • Service registration and discovery

4. Features at a glance

  • High-performance RPC calls for interface agents
  • Automatic service registration and discovery
  • Traffic scheduling during runtime
  • Intelligent load balancing
    • Dubbo internally supports multiple load balancing strategies
  • Highly scalable
  • Visualized service governance and operation and maintenance
  • dubbo-admin control panel

The Dubbo community currently maintains two major versions, 2.6.x and 2.7.x. Among them,

  • 2.6.x is mainly based on bugfixes and a small amount of enhancements, so stability can be fully guaranteed
  • As the main development version of the community, 2.7.x has been continuously updated and added a large number of new features and optimizations. It also brings some stability challenges

2. Dubbo's past and present

  • October 27, 2011: Open sourced by Alibaba. Due to extensive business verification within Alibaba, Dubbo was used by many Internet companies in a short period of time, such as: Netease, JD, Sina, Dangdang, etc.
    • In 2012 , it has provided support for **2000+** services every day==3,000,000,000+== visits!
  • October 2014: However, due to changes in Ali’s internal strategy, Dubbo is inOctober 2014 Stop maintenance!
    • Later, some Internet companies made public their own Dubbo, such as the famous Dangdang Dubbox, Sina Motan, etc...
  • September 2017: After three years of silence, Alibaba announced the restart of the Dubbo project and decided to maintain it for a long time. Then Dubbo began intensive updates
  • February 2018: Ali announced that it would donate Dubbo to the Apache Foundation and Dubbo became an Apache incubator project

Third, the difference between Dubbo and Dubbox

Dubbo official website: http://dubbo.io/

Dubbox official website: https://github.com/dangdangdotcom/dubbox

1. Dubbox (ie Dubbo eXtensions ) is an upgraded version of Dangdang Fork based on dubbo 2.x, compatible with the original dubbox. The zookeeper and spring versions are upgraded, and restFul style remote calls are supported . .

2. Embedded:
dubbo: Embedded Jetty

dubbox: Implementation of dubbo's HTTP remoting system based on embedded tomcat (ie dubbo-remoting-http)

3. Support for Servlet API:
dubbo: 2.5

dubbox: upgrade to 3.1

4. Zookeeper registration center:
dubbo: Dubbo provides the Zookeeper registration center. The needs of various users are fully considered in the design of Dubbo. Some underlying communications or information storage provide a large number of different storage solutions;

dubbox: Upgrade the ZooKeeper client to the latest version; to correct the bugs contained in the old version.

5. Usage scenario:
dubbo: using Dubbo's RPC call method, there will still be strong API dependencies between services;

dubbox: Compared with Dubbo, it supports REST-style original calls (HTTP +JSON/XML);

6. Upgrade Spring Upgrade Spring in
dubbo from 2.x to the most commonly used 3.x version, reducing the trouble caused by version conflicts.

Bugs in configuration, serialization, management interface, etc.

7. Supports Jackson-based JSON serialization:
Based on the industry's most widely used Jackson serialization library, a new JSON serialization implementation is added to Dubbo's default RPC protocol.

Guess you like

Origin blog.csdn.net/weixin_43420255/article/details/106695696