Overview on Spring Cloud
Spring Cloud:
Spring Cloud is a framework for building robust cloud applications. The framework facilitates the development of applications by providing solutions to many of the common problems faced when moving to a distributed environment.Applications that run with microservices architecture aim to simplify development, deployment, and maintenance. The decomposed nature of the application allows developers to focus on one problem at a time. Improvements can be introduced without impacting other parts of a system.
Features of spring cloud:
- Intelligent routing and service discovery
- Service-to-Service Call
- Load Balancing
- Leadership Election
- Global Locks
- Distributed Configuration
- Distributed Messaging
Advantages of Spring Cloud:
If we want to available many services in one application then the cloud-based application is an easy way. Spring Cloud works the same- It is provided Cloud-service development.
- It is Microservice-based architecture to configuration.
- It provides inter-service communication.
Spring Boot Vs Spring Cloud:
- Spring boot is product-ready application, spring based application. Spring cloud is Cloud Based application.
- Spring Boot Starter, Spring Boot Autoconfiguration, Spring Boot Actuator, Spring Boot CLI. In spring cloud Configuration, Service Discovery, Circuit Breakers, Routing and Messaging, API Gateway etc.
- Boot is work to create microservices. Cloud is working for microservices to manage configuration.
Spring Cloud Components:
- Configuration: Using Spring cloud config server.
- Service Discovery and Registry: using Eureka server.
- API Gateway: Using Zuul API or Spring Cloud Gateway.
- Routing and messaging: using Feign API
- Tracing with request visualization: Spring cloud sleuth and Zipkin
- Circuit Breaker: Hystrix.
Comments
Post a Comment