【SpringCloud】01. Differences between common software architectures
Differences among MVC, RPC, SOA and microservice architecture:
1、 MVC architecture
MVC architecture is a single architecture. Representative technologies: struts 2, spring MVC, spring, mybatis, etc.
2、 RPC architecture
RPC (remote procedure call): remote procedure call. It is a protocol that requests services from remote computer programs through the network without understanding the underlying network technology. Representative technologies: thrift and Hessian
3、 SOA Architecture
SOA (Service Oriented Architecture): Service Oriented Architecture
ESB (Enterprise Service Bus): enterprise service bus and service intermediary. It mainly provides the interaction between services. ESB includes functions such as load balancing, flow control, encryption processing, service monitoring, exception handling, emergency monitoring, etc.
Representative technologies: mule (not open source), wso2 (open source)
4、 Microservice architecture
Microservice is a lightweight service governance scheme. The registry is a lightweight alternative to the enterprise service bus. Representative technologies: spring cloud, Dubbo, etc