BudWk V7 builds a microservice development framework from scratch - 03 Technical Architecture

Technology Architecture

In V5 and V6 Dao database operations, business codes, and RPC remote calls are all implemented in the same Service business class, and RPC calls support passing Cnd query conditions. Many developers write business code in the control layer, which makes it difficult to duplicate the business layer code. It is used, and it is difficult for other developers to take over, because he does not know whether rewriting the Service will affect the functions of other modules.

V7 adds the RPC Provider layer code. Remote calls are not allowed to pass query conditions directly, and can only be called by passing parameters. It enables developers to focus on business development, and at the same time, when developers modify methods involving RPC calls, it is also clear which code is risky to modify.

Architecture diagram

API Gateway

Using the Nacos service discovery mechanism, Http requests are automatically routed to healthy microservice instances in the background through the gateway. Except for the gateway, which is a fixed port number, other microservice modules are random ports.

{{o.name}}
{{m.name}}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324072545&siteId=291194637