This topic describes the graceful start and shutdown features provided by Microservices Engine (MSE). These features can improve system efficiency, response speed, and availability, and minimize wait times during traffic shifting.
Graceful start
The graceful start feature offers application protection capabilities such as delayed service registration, low-traffic service prefetching, and service readiness probe. For more information, see Graceful start.
Graceful shutdown
If the application instance that serves as the service provider is directly shut down in high concurrency scenarios, the consumer application instance cannot perceive the status of the service provider in real time. The consumer continues to forward requests to the provider that is shut down. As a result, a request error is reported and traffic loss occurs. To address these issues, MSE provides the graceful shutdown feature that enables smoother service updates and deployments for online applications. For more information, see Graceful shutdown.
Configure graceful start and shutdown in YAML
You can configure the graceful start and shutdown features in the MSE console or by defining YAML parameters in Container Service for Kubernetes (ACK). For more information, see Configure graceful start and shutdown in YAML.