Introduction to Dubbo---You may not have used it before, but you must know the principle

What is Dubbo?

dubbo is an open source distributed service framework developed by Alibaba, dedicated to providing high-performance and transparent RPC ( RPC is explained below ) remote service invocation solution

What problem can Dubbo solve?

When the website keeps getting bigger, it is inevitable that we need to split the application and make it service-oriented to improve the performance and development efficiency of the system. And each service that is required to be split can be flexibly configured according to the needs of its cluster number and control the granularity of the service (service granularity refers to the number of services released by the service system we run). These arts can be solved by dubbo

Advantages of Dubbo:

It is easy to use ( import related dependency packages in springboot ), easy to deploy, and convenient for secondary development. Common corporate frameworks similar to dubbo, Dangdang dubboX, JD’s jd-hydra, etc.

 

The call relationship diagram of the actual project can be referred to as follows. We usually choose Zookeeper in the registration center:

 

 

Supplementary RPC knowledge points:

What is RPC technology?

RPC Remote Procedure Call Protocol, which is a service requested from a computer program through the network

The principle of RPC:

The underlying principle of RPC technology: serialization and deserialization of objects and data transmission after serialization (dubbo uses binary files)

Common RPC frameworks in the Java field:

Dubbo  ZeroICE

 

The actual use is the call relationship diagram that can be referred to:

 

 

Guess you like

Origin blog.csdn.net/LB_Captain/article/details/113853762