Microservice scenarios

Updated at:
Copy as MD

Serverless App Engine (SAE) supports native Spring Cloud and Dubbo microservice frameworks. You can migrate and deploy Spring Cloud and Dubbo applications to SAE for microservice management.

SAE service registry

  • Spring Cloud

    The SAE service registry integrates all Spring Cloud Alibaba Nacos Discovery features.

    Spring Cloud Alibaba Nacos Discovery implements Spring Cloud Registry standard interfaces and specifications, and provides capabilities equivalent to Eureka, Consul, and ZooKeeper for service registration and discovery.

    You can replace Eureka, Consul, ZooKeeper, and Redis with the SAE service registry. SAE also provides the following advantages:

    • The SAE service registry is a shared component that saves the costs of physical equipment for O&M and deployment of components such as ZooKeeper.
    • The SAE service registry encrypts and authenticates communication to secure service registration.
    • The SAE service registry integrates with other SAE components to provide a complete microservice solution.
  • Dubbo

    The SAE service registry supports Dubbo's SPI-based registry extension, including service registration, routing rules, and rule configuration.

    Note

When you deploy an application on SAE, the SAE service registry automatically configures the Nacos server address, service port, and the following parameters with high priority: namespace, access-key, secret-key, and context-path. No additional configuration is required.

Native Spring Cloud applications

Native Dubbo applications

  • To deploy a native Dubbo application on SAE for the first time, add dependencies and configure your application locally, then deploy on SAE. For more information, see Host Dubbo applications to SAE.
  • If your Dubbo application uses Eureka, Consul, ZooKeeper, or Redis, replace the registry dependencies and configurations with edas-dubbo-extension to deploy on SAE. No code changes are required for microservice hosting on SAE. For more information, see Host Dubbo applications to SAE.