Updated on 2023-06-25 GMT+08:00

Constructing Microservice Applications

Service Scenarios

Application Scenarios

Different service modes of traditional projects in a single architecture must adopt a unified technical solution and technical platform. Each service module cannot be reused. If a module in the entire system is faulty, the entire system becomes unavailable. With the increasing complexity of enterprise services, the traditional monolithic architecture becomes more and more cumbersome, and it is difficult to adapt to flexible service requirements. Microservice applications can solve these problems.

Value

Microservice-based applications allow enterprises to divide a cumbersome system into several small service components. Among which, these components communicate with each other through lightweight protocols, decoupling the lifecycle management of each component.

Ever growing services may encounter various unexpected situations, such as instantaneous and large-scale concurrent access, service errors, and intrusion. The microservice architecture can be used to implement fine-grained service management and control to support service requirements.

ServiceStage supports full lifecycle management of microservice applications. It supports runtime environments such as Java, Go, PHP, Node.js, Docker and Tomcat, and manages microservice applications such as Apache ServiceComb, Spring Cloud, Dubbo, and Service Mesh without intrusion. In addition, it provides functions such as configuration management, monitoring and O&M, and service governance, making it easier to migrate enterprise microservice applications to the cloud.

Advantages

ServiceStage provides superior microservice application solutions and has the following advantages:

  • Supports multiple microservice frameworks, such as native ServiceComb, Spring Cloud, Dubbo, and Service Mesh, and supports the dual-stack mode (SDK and service mesh interconnection). The service code can be directly managed on the cloud without modification.
  • API First, which supports Swagger-based API management.
  • Supports multiple languages, such as Java, Go, .NET, Node.js, PHP, and Python.
  • Provides functions such as the service center, configuration center, dark launch, and dashboard.
  • Provides complete microservice governance policies, including fault tolerance, rate limiting, service degradation, circuit breaker, fault injection, and blacklist and whitelist. GUI-based operations can be performed for different service scenarios, greatly improving the availability of service governance.
  • Implements mutual discovery between Spring Cloud, ServiceComb, Java Chassis, and Go Chassis.

Continuous Integration and Delivery

Application Scenarios

It takes a lot of manpower and time in project creation, compilation, building, self verification, integration verification, production environment-like verification, and rollout for a complex system, which is prone to errors caused by human factors. Continuous integration and delivery can resolve such problems due to its standardization and automation.

Value

Manual execution is changed to automatic execution, which reduces errors and improves work efficiency.

The environment and process standards are unified, which facilitates service expansion and reduces upgrade and reconstruction costs.

Advantages

Based on the ServiceStage pipeline, the integration environment is unified and the delivery process is standardized. You can implement the self-service development, self verification, integration verification, and rollout.

Figure 1 Continuous Integration and Delivery

Dark Launch

Application Scenarios

In dark launch, users are selected to test the beta version, ensuring smooth rollout of new features. Once new features become mature and stable, a formal version is released for all users to use.

Value

Dark launch ensures stability of the entire system. During initial dark launch, problems can be detected and fixed.

Advantages

ServiceStage provides microservice-level dark launch.