Differences between Enterprise data Bus (ESB) and Registry Service Management (Dubbo)

Source: Internet
Author: User
Tags zookeeper
Difference between Enterprise data bus (ESB) and Registration service Management (Dubbo) 2015-03-09 08:49:28

Category: Web development


I. Overview

1. What is an ESB

Is the meaning of the enterprise data bus, his core function is to be compatible with a variety of protocol interfaces, data can be transferred between the various protocols, and can be arranged for the data format conversion. (Format conversion, protocol conversion, Proxy, orchestration, security control, monitoring, no support for high concurrency, similar to routers maintaining a routing table for routing forwarding)

Typical projects are: JBOSS Esb,mule,camel and a number of other ESB projects

2, what is the service registration

is to register all the service interfaces (often the interface of the Hession protocol) into a centralized distributed service cluster (you can consider the effect of the Apache Zookeeper Service implementation). Each business system accesses the distributed service directly to find the interface location that needs to be invoked, and then calls. (Registered directory services, monitoring, load balancing, security control, distributed robust, applicable to high concurrency)

Representative open source projects are: Ali's Dubbo, Taobao's HSF (now do not know whether to continue to open source)

Ii. characteristics of the two sides

1. ESB

The ESB typically uses centralized forwarding requests for a large number of heterogeneous system integrations, with little pressure

But centralized forwarding also has advantages, such as the caller with the HTTP protocol, the provider with RMI protocol, forwarding can be converted to the protocol, transparent to both sides. In addition, the bus can also execute the process engine, do service orchestration, such as A and b two services often together, can be arranged into a service C, without a separate service to do. Also, security, flow control, and more convenient to do.

Supports the groovy type of scripting language, which can be converted to data formats on the bus

2. Service Registration Management

Using a distributed call, the registry only records the address information, and then direct-connect calls, suitable for concurrency and pressure ratio of the situation.

For Web applications, most of the vertical business, directly from the database pull data display.

Third, the application scene

1. ESB

The most common scenario for an ESB is to deploy the integrated logic of the system, pull it out, put it into an ESB container, and adapt it to the application system. This allows the application system to become only its own business logic, simple and frivolous.

Disadvantage: Add a bus as a channel of communication on all services. For larger concurrency, the bottleneck is pushed onto the ESB bus. Most of the time, the ESB bus uses an MQ-class message server to handle stress relief asynchronously

2. Service Registration

Taobao and Ali of the various business systems provide a lot of interface, this time need unified management to provide a child business system to use, so that each child business system through the registry can quickly find the corresponding service

Disadvantage: Service orchestration and protocol conversion or depending on the business subsystem

Iv. Overview

1, the two types of open source project focus is different, the ESB focus on task scheduling, performance problems can be through a heterogeneous way to circumvent. Unable to support exceptionally large concurrency

2, service registration focus on service management, the various services granular, each child business system in the program logic to complete the orchestration of the business. But more practical and larger concurrency, because the Dubbo class only holds the service address. A distributed communication framework with zookeeper classes ensures that a single point of failure does not affect the business invocation of the entire system, because the business interface is in each subsystem that provides the service

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.