Ant Financial open source enhanced version of Spring Boot's R&D framework!

SOFABoot is an open source Spring Boot-based R&D framework developed by Ant Financial. Based on Spring Boot, SOFABoot provides capabilities such as Readiness Check, class isolation, log space isolation, etc. While enhancing Spring Boot, SOFABoot provides the ability for users to use SOFA middleware in Spring Boot very conveniently. In order to solve Spring Boot's problems when implementing large-scale microservice architecture, SOFABoot provides the following capabilities:

Enhance Spring Boot's health check capabilities

In response to the lack of Readiness Check capabilities in Spring Boot, SOFABoot adds the existing health check capabilities of Spring Boot and provides Readiness Check capabilities. Utilizing the capability of Readiness Check, each component in SOFA middleware introduces traffic into the application instance only after the Readiness Check is passed, such as RPC, only after the Readiness Check is passed, will it register with the service registration center, and then come from Only traffic from upstream applications will enter.

Provide class isolation capabilities

In order to solve the problem of class dependency conflicts under Spring Boot, SOFABoot provides the ability to isolate classes on Spring Boot based on SOFAArk. In a SOFABoot system, as long as SOFAArk-related dependencies are introduced, SOFA middleware-related classes and Use ClassLoader of related classes to isolate to prevent class conflicts. Of course, users can also isolate other middleware, third-party dependencies, and application classes based on SOFAArk.

Log space isolation capability

In order to unify the printing of middleware logs in large-scale microservice scenarios, SOFABoot provides the ability to isolate log space to SOFA middleware. After each component in SOFA middleware adopts the ability to isolate log space, it will automatically log its own logs. It is isolated from the ordinary logs of the application, and the path of the printed logs is relatively fixed, which is very convenient for unified monitoring.

Integrated management of SOFA middleware

Based on the automatic configuration capabilities of Spring Boot, SOFABoot provides a unified and easy-to-use programming interface for SOFA middleware and Spring Boot Starter, which facilitates the use of SOFA middleware in the Spring Boot environment. Each component in SOFA middleware is independently pluggable It saves development time and maintenance costs.

Modular development

Since version 2.4.0, SOFABoot supports modular development capabilities based on Spring context isolation. Each SOFABoot module uses an independent Spring context to avoid BeanId conflicts between different SOFABoot modules and effectively reduce the communication cost between teams during enterprise-level multi-module development. .

project address

Open source address: https://gitee.com/sofastack/sofa-boot

I visited GitHub last night, and I accidentally saw a big man’s algorithm brushing notes, and I felt like I found a treasure! Some friends may have discovered it, but we still can't help Amway here, afraid that some friends have not seen it.

Confusions and questions about algorithm brushing are often mentioned by friends. This note contains a total of hundreds of questions compiled by the author after brushing the LeetCode algorithm questions, and each question is accompanied by a detailed solution process. Many people say that it is not efficient to brush data structure and algorithm problems, and it is very painful. With the summary of this note, it is self-evident that the algorithm for school recruitment and social recruitment is helpful, and I have collected it decisively.

Friends who need to write notes for PDF documents can follow me to add VX: MXW5308 get it for free

Guess you like

Origin blog.csdn.net/weixin_45132238/article/details/113512362