Spring Boot Notes1
Spring Boot Notes1
8. Advanced Concepts
• Spring Boot Actuator: Provides built-in endpoints to monitor and manage
applications in production. Some common endpoints are: o /actuator/health:
Provides health check information.
o /actuator/metrics: Provides metrics for monitoring the app's performance.
• Spring Boot and Microservices: Spring Boot is commonly used in microservices
architecture, where multiple small services work together to fulfill an application's
requirements. Spring Cloud provides additional tools for building microservices with
features like service discovery, distributed configuration, and circuit breakers.
• Spring Cloud: Used for building cloud-native applications in a microservices
architecture. Key components include:
o Spring Cloud Netflix: For microservices patterns like service discovery
(Eureka) and circuit breakers (Hystrix).
o Spring Cloud Config: For managing application configurations across multiple
environments.
o Spring Cloud Gateway: For routing requests to microservices.
• Caching: Spring Boot supports caching mechanisms like @Cacheable to improve
performance by storing frequently accessed data.
-- Manjunath Saddala