All Products
Search
Document Center

Microservices Engine:Traffic protection

Last Updated:Mar 11, 2025

The traffic protection feature can help enterprises better manage network traffic and ensure the availability and security of their businesses. The traffic protection feature provides the traffic monitoring and throttling capabilities. This topic describes how to configure the traffic protection feature of Microservices Engine (MSE) Microservices Governance.

Create a throttling rule

You can configure a throttling rule to block traffic immediately after the system detects that the queries per second (QPS) of a monitored application or service reaches a threshold that you specify. This prevents the breakdown of the application due to traffic surges and ensures high availability of the application. For more information, see Create a throttling rule.

Create an isolation rule

You can create an isolation rule to control the number of concurrent threads of interfaces or dependencies to ensure the system stability and reliability. For more information, see Create an isolation rule.

Create a circuit breaking rule

The circuit breaking rules are used to prevent system failures caused by calls between services. When a service fails or takes a long period of time to respond, a circuit breaking rule is triggered and the system stops sending requests to the service. This ensures stability and high availability of your application. For more information, see Create a circuit breaking rule.

Create a hot parameter throttling rule

You can create a hot parameter throttling rule for RPC requests and HTTP requests based on the request type. For more information, see Create a hot parameter throttling rule for RPC requests and Create a hot parameter throttling rule for HTTP requests.

Configure tag-based routing

You can use the tag-based routing feature to tag traffic or machines. This enables traffic that meets specific characteristics to be routed to specific nodes. For more information, see Configure tag-based routing.

Configure a canary release for messaging

MSE supports the canary release for messaging feature for RocketMQ messages. You can perform a canary release for messaging in scenarios such as canary releases, end-to-end canary releases, and development environment isolation. For more information, see Configure a canary release for messaging.