Home  >  Article  >  What are the distributed frameworks?

What are the distributed frameworks?

(*-*)浩
(*-*)浩Original
2019-06-18 16:40:5813003browse

Internet giant companies in the industry have their own distributed service frameworks, such as Alibaba's Dubbo, HSF, Tencent's Tars, JD.com's JSF, and Sina's Motan, all of which are already very mature solutions in the industry. solutions, among which the open source Dubbo and Motan have been studied by a large number of developers.

What are the distributed frameworks?

##Dubbo is a high-performance and excellent service framework open sourced by Alibaba, which enables applications to use high-performance RPC Realize the output and input functions of the service and can be seamlessly integrated with the Spring framework. (Recommended learning: PHP video tutorial)

Dubbo is a high-performance, lightweight open source Java RPC framework. It provides three core capabilities: interface-oriented remote method invocation , intelligent fault tolerance and load balancing, and automatic service registration and discovery.

Main core components

Remoting: Network communication framework, which implements sync-over-async and Logo request-response message mechanisms.

RPC: An abstraction of remote procedure calls that supports load balancing, disaster recovery and clustering functions

Registry: Service directory framework is used for service registration and service event publishing and subscription

Features

High-performance RPC call for interface proxy

Provides high-performance proxy-based remote calling capabilities. The service is based on the interface as the granularity, shielding developers from the underlying details of remote calls.

Intelligent Load Balancing

Built-in multiple load balancing strategies, intelligently sense the health status of downstream nodes, significantly reduce call delays, and improve system throughput.

Service automatic registration and discovery

Supports multiple registration center services, and detects the online and offline service instances in real time.

Highly scalable capability

Following the design principles of microkernel plug-ins, all core capabilities such as Protocol, Transport, and Serialization are designed as extension points, and built-in implementations and third-party implementations are treated equally.

Runtime Traffic Scheduling

Built-in routing strategies such as conditions and scripts. By configuring different routing rules, you can easily implement functions such as grayscale publishing and priority in the same computer room.

Visual service governance and operation and maintenance

Provides rich service management and operation and maintenance tools: query service metadata, service health status and call statistics at any time, issue routing policies and adjust configuration parameters in real time .

Asynchronous distributed transaction TCC framework hmily

Project introduction: high-performance distributed transaction tcc open source framework. Developed based on Java language (JDK1.8), it supports dubbo, springcloud, motan and other rpc frameworks for distributed transactions.

Distributed transaction framework myth

Project introduction: myth is an open source framework that uses message queues to solve distributed transactions. It is developed based on Java language (JDK1.8). Supports dubbo, springcloud, motan and other rpc frameworks for distributed transactions.

Distributed transaction framework LCN

Project introduction: The core function of the LCN distributed transaction framework is the coordination and control of local transactions. The framework itself does not create transactions, but Coordinate and control local affairs. Therefore, the framework has strong compatibility with other third-party frameworks, supports all relational database transactions, supports multiple data sources, and supports use with third-party database frameworks (such as sharding-jdbc).

The LCN framework mainly provides distributed transaction support for the microservice framework. It has further optimized the transaction mechanism on the microservice framework. In some load scenarios, the LCN transaction mechanism has better performance than the local transaction mechanism. Well, after 4.0, the framework has developed a plug-in mechanism to allow more third-party frameworks to support it.

For more PHP-related technical articles, please visit the

PHP Graphic Tutorial column to learn!

The above is the detailed content of What are the distributed frameworks?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn