SOFAStack MS provides common solutions for distributed apps and supports online configuration, management, and monitoring of SOFA apps. After a SOFA app integrates various SOFAStack MS components, you can govern and control services including the RPC, DRM, Throttling, and Circuit Breaker through SOFAStack console.
SOFAStack MS is based on SOFARPC for its service publishment and reference. The MS service will be demonstrated through the SOFARPC project and its cloud deployment.
The development procedure is as follows:
Project Creation: Create two SOFABoot projects as service server and client respectively. For more information, see Create a SOFABoot project. You are alse advised to download SOFARPC Demo for your reference.
Business Logic Development: If there is a need to use MS component, please refer to the documents below:
Properties Configuration: This move is unnecessary for local test, but a must for cloud deployment. please guarantee the following keys and values are added to
application.propertiesprior to cloud deployment.
com.alipay.instanceid: the unique ID of the app instance in the workspace. You can obtain this ID from Framework > Step 2 > Instance ID.
com.antcloud.antvip.endpoint: the AntVIP used by the app to obtain the server address of each component. The AntVIP varies by region. You can obtain the value from Framework > Step 2 > AntVIP.
- please refer to Compile and Run for packaging.
- please refer to the following information for cloud deployment.
Note: A SOFAStack experience region in a public network environment will be provided. At that time, you can experience all SOFAStack services locally.
For more information about how to use SOFAStack MS modules, please see the following documentation: