Beyond address discovery and load balancing mechanisms, Dubbo’s rich traffic control rules can manage the flow direction and API calls between services. Based on these rules, you can dynamically adjust service behaviors such as timeout periods, retry counts, and rate limiting parameters during runtime. By controlling traffic distribution, you can achieve A/B testing, canary releases, multi-version traffic allocation by ratio, conditional routing, black and white lists, etc., thereby improving system stability.
Scenario 1: Setting up multiple independent logical test environments.
Scenario 2: Setting up a completely isolated online gray environment for deploying new version services.
Scenario 3: Canary release
Scenario 4: Same region priority. When applications are deployed in multiple different data centers/regions, prioritize calling service providers in the same data center/region to avoid network latency caused by cross-region calls, thereby reducing response time.
In addition to the typical scenarios mentioned above, we can also achieve richer traffic control in microservice scenarios based on Dubbo’s supported traffic control rules, such as:
You can learn more about the details of the above practical scenarios in Traffic Management Tasks. For the underlying rule definitions and working principles, please refer to Dubbo Traffic Control Rule Design and Definition.
Around Dubbo, we have built a comprehensive microservice governance ecosystem. For most service governance needs, you can enable them with just a few lines of configuration. For components not yet adapted by the official team or internal user systems, you can also easily adapt them through Dubbo’s extension mechanism.
Dubbo Admin is a visual web interactive console provided by Dubbo. Based on Admin, you can monitor cluster traffic, service deployment status, and troubleshoot issues in real-time.
Dubbo supports HTTP, HTTP/2, and TCP data transmission channels based on TLS, and provides authentication and authorization strategies, allowing developers to achieve finer-grained resource access control.
Services developed based on Dubbo can transparently integrate into service mesh systems like Istio. Dubbo supports traffic interception based on Envoy and also supports a more lightweight Proxyless Mesh deployment mode.