Domestic Internet vane is really cattle force, recently, idle nothing in the net tour, absolutely not for looking for my CV, found a should be very useful things -SOFABoot

In his introduction, there are several good points about him

Enhanced Spring Boot health check capabilities

Provides the ability to isolate classes

Log space isolation capability

SOFA middleware integration management

Modular development

The project address

Let’s look at it in detail

SOFABoot is ant Financial’s open source research and development framework based on Spring Boot, which provides capabilities such as Readiness Check, class isolation, log space isolation and so on. In addition to enhancing Spring Boot, SOFABoot provides the ability to easily use SOFA middleware in Spring Boot. SOFABoot provides the following capabilities to address Spring Boot’s implementation of large-scale microservices architectures:

Enhanced Spring Boot health check capabilities

In response to Spring Boot’s lack of Readiness Check capabilities, SOFABoot adds to Spring Boot’s existing health Check capabilities to provide Readiness Check capabilities. Leveraging Readiness Check capabilities, components in SOFA middleware introduce traffic to application instances only after Readiness Check passes, such as RPC, which registers with the service registry. Traffic from upstream applications will come in later.

Provides the ability to isolate classes

In order to solve the problem of class dependency conflicts in Spring Boot, SOFABoot provides the ability to isolate classes on Spring Boot based on SOFAArk. In a SOFABoot system, by introducing sofaark-related dependencies, We can isolate the classloaders of SOFA middleware related classes and application related classes 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

SOFABoot provides SOFA middleware with the capability of log space isolation in order to unify the log space printing of middleware in large-scale microservice scenarios. SOFA middleware automatically isolates its own logs from the application’s ordinary logs after each component adopts the log space isolation capability. In addition, the path of printed logs is relatively fixed, which facilitates unified monitoring.

SOFA middleware integration management

Based on the automatic configuration capability of Spring Boot, SOFABoot provides a unified and easy-to-use SOFA middleware programming interface and a Spring Boot Starter to facilitate the use of SOFA middleware in the Spring Boot environment. Each component of SOFA middleware is independently pluggable, saving 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. Effectively reduce communication costs between teams in enterprise-level multi-module development.

The open source code is waiting for you on GitHub

Want to have a look at the source code, focus on the public number: Java Architect union, you can see how to obtain


This is the ant gold suit in order to be able to better develop themselves in order to project the source code for open source, however, is not big, new things are suitable for all business scenarios, for example * * circulating on the river’s lake “new let you send me, so I use Java 8”, * * is a living example, sometimes blindly pursue the latest stuff, instead of point, Original things can sometimes solve big problems, so, here, there is not a Spring bucket, I will give you a Springboot bucket

The content includes: interview, actual combat, principle, programming thought core

SpringBoot Interview feature

Inside springboot technology

SpringBoot bible

SpringBoot2 essence

Spring Boot programming thought core

Spring Boot

Need this SpringBoot bucket family, focus on the public number: Java Architect Federation, you can view the way to obtain