May 30, 2021 Article blog
1. Provides the ability to isolate classes
2. Log space isolation capabilities
In the case of iness Check capabilities, SOFABoot adds spring Boot's existing health check capabilities and provides readiness Check capabilities. With the power of THE SOFA Middleware, components in the SOFA middleware only introduce traffic into instances of the app after the Readiness Check has passed, such as RPC, and only after the Readiness Check passes, they register with the Service Registry, followed by traffic from upstream apps.
To resolve class dependency conflicts under Spring Boot, SOFABoot provides class isolation capabilities on sofaArkArk Boot, and in a SOFABoot system, classLoader for SOFA middleware-related classes and application-related classes can be isolated as long as SOFAArk-related dependencies are introduced to prevent class conflicts. Of course, users can also isolate other middleware, third-party dependencies, and applied classes based on SOFAArk.
In order to unify the printing of middleware logs in large-scale microservices scenarios, SOFABoot provides the ability to isolate log space to SOFA middleware, and when the components in SOFA middleware adopt the ability to isolate log space, they automatically isolate their own logs from the normal logs of the application, and the path of the printed logs is relatively fixed, making it easy to monitor them uniformly.
Based on Spring Boot's auto-configuration capabilities, SOFABoot provides a unified and easy-to-use programming interface for SOFA middleware and Spring Boot's Starter for easy access to SOFA middleware in a Spring Boot environment, where components are pluggable independently, saving development time and post-maintenance costs.
SOFABoot has supported modular development capabilities based on Spring context isolation since version 2.4.0, with each SOFABoot module using a separate Spring context to avoid beanId conflicts between different SOFABoot modules and effectively reduce the cost of communication between teams during enterprise multi-module development.
https://gitee.com/sofastack/sofa-boot
Recommended lessons: Spring Boot Foundation Getting Started, SpringBoot from Getting Started to Mastering