ACK Knative supports three gateway types for ingesting and routing external traffic: Application Load Balancer (ALB), Service Mesh (ASM), and Kourier. This topic compares them across product positioning, service architecture, basic routing, operations and maintenance (O&M) capabilities, performance, supported protocols, and observability to help you select the right gateway.
Choose a gateway
Start with Kourier if you need a lightweight gateway for basic Knative Serving traffic. It requires manual tuning and self-managed components, but has no additional managed service dependency.
Choose ALB if your workloads require high throughput (up to 1 million QPS), automatic scaling, or integration with other Alibaba Cloud services such as Web Application Firewall (WAF), Function Compute (FC), PrivateLink, and Transit Router (TR).
Choose ASM if you already run a service mesh or need advanced multi-cluster traffic management, fine-grained routing, secure inter-service communication, or chaos engineering capabilities.
Gateway overview
-
ALB: A fully managed gateway based on Alibaba Cloud ALB. Provides high-capacity traffic management with automatic scaling and no O&M overhead.
-
ASM: A managed, Istio-compatible platform for unified traffic management. Supports traffic shaping, mesh observability, and secure inter-service communication. Helps you manage services that run on heterogeneous computing infrastructure.
-
Kourier: A lightweight, open source gateway from the Knative community, built on Envoy. Provides essential routing and service discovery.
Gateway comparison
|
Type |
ALB |
ASM |
Kourier |
|
Product positioning |
|
A fully managed service mesh platform compatible with open source Istio. Manages traffic routing and splitting, ensures secure inter-service communication, and provides mesh observability. Reduces operational overhead for development and O&M teams. |
A lightweight Envoy-based gateway for Knative Serving. Provides essential routing and service discovery. |
|
Service architecture |
|
|
|
|
Basic routing |
|
|
|
|
O&M capabilities |
|
|
|
|
Performance |
|
|
Performance depends on manual tuning. Higher load requires proactive HPA and resource configuration. |
|
Supported protocols |
HTTP, HTTPS, QUIC, WebSocket, WSS, and gRPC. |
|
HTTP, HTTPS, and gRPC. |
|
Observability |
|
|
Log collection via access logs only. |
ALB is optimized for application-layer load balancing at scale. ASM provides full service mesh (Istio) capabilities for teams managing microservices. Kourier is the right choice for basic gateway needs.
What's next
To enable a gateway in Knative, see Use an ALB gateway, Use an ASM gateway, and Use a Kourier gateway.