The difference between SOA and microservices
In fact, the service architecture has been able to solve the needs of most enterprises, then why should we study micro-services? First talk about their differences;
- MicroServices architecture emphasizes that business systems need to be completely modular and serviced, and that a component is a product that can provide services independently
- MicroServices no longer emphasize the relatively heavy ESB enterprise service bus in traditional SOA architectures
- MicroServices emphasize that each micro-service has its own separate running space, including database resources.
- The microservices architecture itself is rooted in the idea of the Internet, so the external services of components emphasize the use of the HTTP Rest API to
- Smaller granularity of micro-service segmentation
Summary: The microservices architecture is an extension of the SOA architecture idea, which emphasizes the independence of the service individual and the smaller the granularity of the separation.
Why consider Spring Cloud
- Spring cloud comes from spring, guaranteeing quality, stability and durability
- SPIRNG Cloud Naturally supports spring Boot, making it easier for businesses to hit the ground.
- Spring Cloud is developing very fast, starting in 16 when the relevant component version is 1.x and will now release the 2.x series
- Spring Cloud is the most suitable framework for microservices in the Java world.
- Spring Cloud has the most support for the micro-service perimeter environment compared to other frameworks.
- For small and medium-sized enterprises, the use threshold is low.
Spring Cloud is the best floor plan for microservices architectures
The following are the core features of Spring cloud:
- Distributed/versioned Configuration
- Service Registration and Discovery
- Routing
- Calls between services and services
- Load Balancing
- Circuit Breaker
- Distributed Message Delivery
These features are done by different components and play an important role in the evolution of the architecture, so let's take a look at the next steps. Source Source
About the core features of spring cloud