Cloud Native 9 min read

Introducing the Newly Open‑Source SOFA Middleware Components for Cloud‑Native Microservices

This article introduces the recently open‑sourced SOFA middleware components—including SOFATracer, SOFALookout, SOFA‑Boot, SOFA‑RPC (Node and Java), Eggjs integration, and JarsLink—explaining their features, usage scenarios, and providing GitHub links for developers to adopt these financial‑grade cloud‑native solutions.

AntTech
AntTech
AntTech
Introducing the Newly Open‑Source SOFA Middleware Components for Cloud‑Native Microservices

Ant Financial has released several SOFA middleware components as open source, aiming to help developers quickly build financial‑grade cloud‑native architectures. The components cover distributed tracing, metrics monitoring, modular development, RPC frameworks, and module isolation.

SOFATracer is a distributed tracing middleware that records call‑chain information using a unified traceId, supporting asynchronous disk logging, custom formats, log rotation, and integration with OpenTracing, Zipkin, and other ecosystems. GitHub: https://github.com/alipay/sofa-tracer .

SOFALookout provides multi‑dimensional metrics collection and monitoring, following the Metrics 2.0 specification. It offers a client API for Java applications, includes JVM and OS metrics, and can integrate with Dropwizard, SpringBoot Actuator, and Prometheus. GitHub: https://github.com/alipay/sofa-lookout .

Eggjs Integration brings the Node.js implementation of SOFA middleware into the Eggjs framework, delivering a complete Web MVC and BFF solution that enables cross‑language compatibility and clear responsibility separation between front‑end and back‑end services.

SOFABoot (v2.4.0) adds module‑level isolation based on Spring context, allowing each business module to have its own Spring container, reducing coupling, simplifying self‑testing, and improving startup speed with parallel module launch and asynchronous bean initialization. GitHub: https://github.com/alipay/sofa-boot .

SOFARPC (v5.4.0) integrates SOFATracer and SOFALookout, supports HTTP/1.1 and HTTP/2, and connects with Eggjs via the Bolt protocol for efficient Java‑Node communication. GitHub: https://github.com/alipay/sofa-rpc .

SOFA‑RPC Node and SOFA‑Bolt Node provide Node.js implementations of the RPC framework, mirroring most Java features. GitHub: https://github.com/alipay/sofa-rpc-node and https://github.com/alipay/sofa-bolt-node .

JarsLink 2.0 is a Java‑based modular development framework that enables dynamic loading, unloading, and inter‑module calls at runtime, built on top of SOFABoot’s isolation capabilities. GitHub: https://github.com/alibaba/jarslink .

All components are open source, and the community is encouraged to use, provide feedback, and contribute code via the provided GitHub repositories.

javaCloud NativemicroservicesMetricsDistributed Tracingopen sourceSOFA
AntTech
Written by

AntTech

Technology is the core driver of Ant's future creation.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.