Comparison between MSHA commercial and open source products

Updated at:

This topic compares the architecture, general capabilities, and auxiliary capabilities of MSHA commercial and open source products.

Architecture support

ArchitectureCommercial productOpen source product
Geo-redundancy active-active
Active zone-redundancy
Geo-redundancy active-active for applications

Geo-redundancy active-active

ComponentFeature categoryFeature descriptionCommercial productOpen source product
GatewayRoutingRange-based routing
GatewayRoutingPrecise routing
Service layer (Spring Cloud)RoutingRange-based routing
Service layer (Spring Cloud)RoutingPrecise routing
Service layer (Spring Cloud)RoutingUnit protection (Calls to other units fail directly)
Service layer (Dubbo)RoutingRange-based routing
Service layer (Dubbo)RoutingPrecise routing
Service layer (Dubbo)RoutingUnit protection (Calls to other units fail directly)
Message layer (MQ)RoutingPublishing with tags (routing ID)
Message layer (MQ)RoutingConsumption filtering (Calculates the consumption unit based on the routing ID)
Message layer (MQ)FailoverResets the offset during traffic switchover to prevent message loss
Data layer (MySQL)RoutingData protection to prevent dirty data from multi-point writes
Data layer (MySQL)FailoverRouting ID dimension: Switches data sources and disables writes with a delay. Supported data sources include the following:
  • PolarDB
  • DRDS

General capabilities

ComponentFeature categoryFeature descriptionCommercial productOpen source product
GatewayRoutingConditional routing (Ingress traffic rerouting)
Registry syncService discoveryCross-cluster service sync
Traffic switchover moduleCommand channelEstablishes a communication channel between the control plane and the data plane
Traffic switchover moduleTraffic switchoverOne-click traffic switchover (Completes action orchestration, rule calculation, and delivery)
Traffic switchover moduleTraffic switchoverCustom actions

Auxiliary capabilities

O&M

ComponentFeature categoryFeature descriptionCommercial productOpen source product
GatewayHealth checkGateway instance inspection and reporting of abnormal instances.
GatewayHealth checkUpstream inspection with automatic removal and recovery.
GatewayPublishSupports version management and canary release.
Registry syncHealth checkInstance inspection and reporting of abnormal instances.
OPSAlertingReports and sends alerts for all related abnormal events.

Observability

ComponentFeature categoryFeature descriptionCommercial productOpen source product
GatewayMetricsGeneral metrics and architecture-specific metrics.
GatewayLoggingStructured access logs and error logs.
GatewayTracingGenerates a Trace ID for each request.
Registry syncMetricsTask-granularity sync QPS, response time (RT), and error count.
AgentLogging
  • Records key points (such as routing and write disabling).
  • Togglable high-frequency logs for troubleshooting.
AgentMetricsQPS, RT, and error rate for each module aspect.
Data layerMetricsSync offset latency.
Message layerMetricsSync offset latency.