RPC Framework - Satellite

       As the scale of the website continues to expand, the concurrent access to the system is also increasing. The traditional vertical architecture based on web containers such as Tomcat can no longer meet the demand. It is necessary to split the application for service to improve development and maintenance efficiency. From the perspective of networking, after the vertical structure is split, the system adopts distributed deployment, and remote service calls are required between each node, and a high-performance RPC framework is essential.

       The following is a preliminary scheme of an RPC framework I wrote.

 

      Technology selection: As an asynchronous high-performance communication framework, Netty is often used as a basic communication component.

 

      The overall structure diagram of the system (refer to the structure diagram of dubbo) :

 

 

      
 

 

     1. Registry registration module

            1.1 Registry registration module flow chart

             

 
           
 

 

            1.2 Registry registration module class diagram

 



 

 

            1.3 Registry registration module timing diagram

 

    

 

      2. Monitor monitoring module

             2.1 Monitor monitoring module flow chart

             


 
 

             2.2 Monitor monitoring module class diagram

 

 

 

             2.3 Monitor monitoring module timing diagram

 

     3. Romoting remote communication transmission module

 

             3.1 Romoting remote communication transmission module class diagram

 

 

 

     4. Proxy module

             4.1 Proxy module flow chart

 

 

 

             4.2 Proxy module class diagram

 

 

 

 

     Service initialization startup class diagram

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327036670&siteId=291194637