What are SOFAStack microservices

更新时间:
复制 MD 格式

SOFAStack Microservices (SOFAStack MS) provides common solutions for distributed applications. You can use the microservice framework to automatically register and discover services, and perform service management operations.

You can develop applications with SOFABoot and deploy them to the cloud through the SOFAStack console. After deployment, the microservices are automatically registered with the service registry. You can then use the microservice console to control and administer services.

Microservices use SOFARPC to publish and reference services. Other modules are built around SOFARPC. The service architecture is as follows:Service architecture diagram

Service registration

Service registration is implemented through the service registry (SOFARegistry). The service registry is a low-level component of Ant Middleware. It stores the addresses of all service providers and the subscription information of all service consumers. It establishes persistent connections with both service consumers and providers. It dynamically detects changes to published service addresses and notifies the consumers.

RPC service

SOFARPC is a distributed service framework that provides a high-performance, transparent, and peer-to-peer solution for remote service invocation. It is highly scalable and fault-tolerant.

Dynamic configuration

Dynamic configuration, also known as Distributed Resource Management (DRM), lets you modify configurations while an application is running. It provides a simple connection method and a centralized management platform. You can use this platform to maintain dynamic configuration metadata, push configuration values, and view the real-time memory usage of client application nodes.

Service administration

This feature provides rate limiting, circuit breaking, and service degradation for business systems. These services prevent systems from being overwhelmed by traffic bursts and improve overall stability.

Application dependency

The application dependency feature provides real-time analysis of applications that publish or subscribe to services through RPC. This analysis shows the service invocation relationships between different applications and provides information about the services that each application publishes and subscribes to.