Some understanding of architecture

distributed:

It is necessary to split the system according to function points and split it into independent functions. Add a server to a node individually. It requires cooperation between systems to complete the entire business logic. distributed

advantage:

1. Split the modules and use interface communication to reduce the coupling between modules.

2. Divide the project into several sub-projects, and different teams are responsible for different sub-projects.

3. When adding functions, you only need to add another sub-project and call the interface of other systems.

4. Distributed deployment can be flexibly carried out.

 

shortcoming:

1. Remote communication is required for interaction between systems, and interface development increases workload.

2. Each module has some general business logic that cannot be shared.


Cluster : deploy the same project to multiple servers


SOA: Service Oriented Architecture

That is, the project is divided into two projects: the service layer and the presentation layer. The service layer contains business logic and only needs to provide external services. The presentation layer only needs to deal with the interaction with the page, and the business logic is implemented by calling the services of the service layer.



Guess you like

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