Copilot commented on code in PR #2026:
URL: https://github.com/apache/apisix-website/pull/2026#discussion_r3076717393


##########
website/learning-center/open-source-api-gateway-comparison.md:
##########
@@ -0,0 +1,120 @@
+---
+title: "Open Source API Gateway Comparison: APISIX vs Kong vs Envoy vs Traefik"
+description: "Compare the leading open-source API gateways. Feature-by-feature 
analysis of Apache APISIX, Kong, Envoy, and Traefik covering performance, 
plugins, Kubernetes support, and community."
+slug: open-source-api-gateway-comparison
+date: 2026-04-14
+tags: [comparison, api-gateway, open-source]
+hide_table_of_contents: false
+---
+
+An open-source API gateway sits between clients and backend services, handling 
routing, authentication, rate limiting, and observability. Apache APISIX, Kong, 
Envoy, and Traefik are the four most widely adopted options, each with distinct 
architectural decisions that affect performance, extensibility, and operational 
complexity.
+
+## Why the Choice of API Gateway Matters
+
+Organizations running microservices at scale route millions of requests per 
day through their gateway layer. A 2025 CNCF survey found that 78% of 
production Kubernetes clusters include at least one API gateway, and 43% of 
respondents reported switching gateways within the previous two years due to 
performance or operational limitations. The gateway you choose determines your 
latency floor, plugin flexibility, and how much operational overhead your 
platform team absorbs.
+
+Choosing poorly means rearchitecting under pressure. Choosing well means a 
gateway that scales with your traffic for years without becoming a bottleneck.
+
+## Feature Comparison Table
+
+| Feature | Apache APISIX | Kong | Envoy | Traefik |
+|---|---|---|---|---|
+| Language | Lua (NGINX + LuaJIT) | Lua (NGINX + LuaJIT) | C++ | Go |
+| Configuration Store | etcd | PostgreSQL / Cassandra | xDS API (control 
plane) | File / KV stores |
+| Admin API | RESTful, fully dynamic | RESTful | xDS gRPC | REST + dashboard |
+| Hot Reload | Yes, sub-millisecond | Partial (DB polling) | Yes (xDS push) | 
Yes (provider watch) |
+| Plugin Count | 100+ built-in | 60+ bundled (more in Hub) | ~30 HTTP filters 
| ~30 middlewares |
+| Plugin Languages | Lua, Java, Go, Python, Wasm | Lua, Go (PDK) | C++, Wasm | 
Go (middleware) |
+| gRPC Proxying | Native | Supported | Native | Supported |
+| HTTP/3 (QUIC) | Supported | Experimental | Supported | Supported |
+| Dashboard | Built-in (APISIX Dashboard) | Kong Manager (Enterprise) | None 
(third-party) | Built-in |
+| License | Apache 2.0 | Apache 2.0 (OSS) / Proprietary (Enterprise) | Apache 
2.0 | MIT |
+| GitHub Stars (2026) | 15K+ | 40K+ | 25K+ | 52K+ |
+| Typical Latency | ~0.2 ms added | ~1.0 ms added | ~0.3 ms added | ~0.5 ms 
added |
+
+Star counts reflect general awareness, not necessarily production fitness. 
Kong and Traefik accumulated stars earlier in the GitHub era; APISIX and Envoy 
gained momentum more recently with stronger performance profiles.
+
+## Detailed Breakdown
+
+### Apache APISIX
+
+Apache APISIX processes approximately 18,000 requests per second per CPU core 
with a median added latency of 0.2 milliseconds, based on independent 
benchmarks using wrk2 against a simple upstream. Its architecture eliminates 
database dependencies entirely: all configuration lives in etcd, and route 
changes propagate to every gateway node within milliseconds without restarts or 
reloads.
+
+The [plugin ecosystem](/docs/apisix/plugins/batch-processors/) includes over 
100 built-in options spanning authentication (JWT, key-auth, OpenID Connect), 
traffic management (rate limiting, circuit breaking), observability 
(Prometheus, Zipkin, OpenTelemetry), and transformation (request/response 
rewriting, gRPC transcoding). Developers can write custom plugins in Lua, Go, 
Java, Python, or WebAssembly, making it one of the most polyglot gateway 
runtimes available.
+
+APISIX supports the Ingress Controller pattern for Kubernetes natively. The 
[APISIX Ingress Controller](/docs/apisix/deployments/kubernetes/) watches 
Kubernetes resources and translates them into APISIX routing configuration, 
enabling declarative GitOps workflows while preserving the full plugin surface.

Review Comment:
   Both links in this paragraph appear mismatched to the anchor text/topic:
   - “plugin ecosystem” links to a specific plugin doc 
(/docs/apisix/plugins/batch-processors/) rather than a plugin index (e.g., 
/plugins/ or an overview page).
   - “APISIX Ingress Controller” links to /docs/apisix/deployments/kubernetes/ 
(APISIX deployment docs) instead of the ingress-controller docs (commonly 
/docs/ingress-controller/overview/).
   Updating these avoids sending users (and crawlers) to unrelated pages.
   ```suggestion
   The [plugin ecosystem](/plugins/) includes over 100 built-in options 
spanning authentication (JWT, key-auth, OpenID Connect), traffic management 
(rate limiting, circuit breaking), observability (Prometheus, Zipkin, 
OpenTelemetry), and transformation (request/response rewriting, gRPC 
transcoding). Developers can write custom plugins in Lua, Go, Java, Python, or 
WebAssembly, making it one of the most polyglot gateway runtimes available.
   
   APISIX supports the Ingress Controller pattern for Kubernetes natively. The 
[APISIX Ingress Controller](/docs/ingress-controller/overview/) watches 
Kubernetes resources and translates them into APISIX routing configuration, 
enabling declarative GitOps workflows while preserving the full plugin surface.
   ```



##########
website/learning-center/what-is-grpc.md:
##########
@@ -0,0 +1,167 @@
+---
+title: "What is gRPC? Protocol Buffers, Performance & API Gateway Integration"
+description: "Understand gRPC, how it compares to REST, its performance 
advantages, and how to proxy and transform gRPC traffic through an API gateway."
+slug: what-is-grpc
+date: 2026-04-14
+tags: [grpc, protocols, api-gateway]
+hide_table_of_contents: false
+---
+
+gRPC is a high-performance, open-source remote procedure call (RPC) framework 
originally developed by Google. It uses Protocol Buffers for binary 
serialization and HTTP/2 for transport, enabling strongly typed service 
contracts, bidirectional streaming, and payload sizes up to 10x smaller than 
equivalent JSON over REST.
+
+## Why gRPC Exists
+
+REST has dominated API design for over fifteen years, and it remains an 
excellent choice for public-facing, resource-oriented APIs. However, as 
microservices architectures scaled into hundreds or thousands of inter-service 
calls per request, the limitations of REST became measurable: text-based JSON 
serialization consumes CPU cycles, HTTP/1.1 head-of-line blocking limits 
concurrency, and the lack of a formal contract language leads to integration 
drift.
+
+Google developed gRPC internally (as Stubby) and open-sourced it in 2015. 
According to the CNCF 2025 annual survey, 47% of organizations using 
microservices now use gRPC for at least some inter-service communication, up 
from 29% in 2022. The protocol has become the default choice for 
latency-sensitive internal APIs in performance-critical systems.
+
+## How gRPC Works
+
+### Protocol Buffers (Protobuf)
+
+Protocol Buffers are gRPC's interface definition language (IDL) and 
serialization format. A `.proto` file defines the service contract, including 
methods, request types, and response types:
+
+```protobuf
+syntax = "proto3";
+
+service OrderService {
+  rpc GetOrder (OrderRequest) returns (OrderResponse);
+  rpc StreamOrders (OrderFilter) returns (stream OrderResponse);
+}
+
+message OrderRequest {
+  string order_id = 1;
+}
+
+message OrderResponse {
+  string order_id = 1;
+  string status = 2;
+  double total = 3;
+}
+```
+
+The `protoc` compiler generates client and server code in over 12 languages 
from this single definition. Binary serialization produces payloads that are 
60-80% smaller than equivalent JSON representations, according to Google's 
Protocol Buffers documentation. This size reduction directly translates to 
lower network bandwidth consumption and faster serialization/deserialization.
+
+### HTTP/2 Transport
+
+gRPC runs exclusively on HTTP/2, which provides several performance advantages 
over HTTP/1.1:
+
+- **Multiplexing.** Multiple RPC calls share a single TCP connection without 
head-of-line blocking. A service making 50 concurrent calls to another service 
needs only one connection, not 50.
+- **Header compression.** HPACK compression reduces header overhead by 85-90% 
for repeated headers, according to HTTP/2 specification benchmarks.
+- **Binary framing.** HTTP/2 frames are binary, eliminating the text parsing 
overhead of HTTP/1.1.
+
+These transport-level improvements compound with Protobuf serialization to 
deliver measurably lower latency. Internal benchmarks from LinkedIn (published 
at Strange Loop 2024) showed gRPC reducing inter-service P99 latency by 45% 
compared to REST/JSON on their same infrastructure.
+
+### Streaming Modes
+
+gRPC supports four communication patterns:
+
+1. **Unary RPC.** Single request, single response. Equivalent to a REST call.
+2. **Server streaming.** Client sends one request, server returns a stream of 
responses. Useful for real-time feeds or large result sets.
+3. **Client streaming.** Client sends a stream of messages, server returns one 
response. Useful for batched uploads or telemetry ingestion.
+4. **Bidirectional streaming.** Both sides send streams of messages 
concurrently. Useful for chat, collaborative editing, or real-time 
synchronization.
+
+According to gRPC project statistics, approximately 72% of gRPC usage is unary 
calls, 18% is server streaming, 6% is client streaming, and 4% is bidirectional 
streaming. The streaming capabilities differentiate gRPC from REST most sharply 
in real-time and high-throughput scenarios.
+
+## gRPC vs REST Comparison
+
+| Aspect | gRPC | REST |
+|---|---|---|
+| Serialization | Protocol Buffers (binary) | JSON (text) |
+| Transport | HTTP/2 only | HTTP/1.1 or HTTP/2 |
+| Contract | `.proto` file (strict) | OpenAPI/Swagger (optional) |
+| Streaming | Native (4 modes) | Limited (SSE, WebSocket) |
+| Code Generation | Built-in (`protoc`) | Third-party tools |
+| Browser Support | Requires proxy (gRPC-Web) | Native |
+| Payload Size | 60-80% smaller | Baseline |
+| Latency (typical) | 2-5 ms inter-service | 5-15 ms inter-service |
+| Human Readability | Binary (needs tooling) | JSON is human-readable |
+| Caching | Not HTTP-cacheable by default | HTTP caching built-in |
+| Tooling Maturity | Growing | Extensive |
+
+A 2025 Postman State of APIs report found that 89% of public-facing APIs still 
use REST, while gRPC dominates internal microservices communication at 
organizations with more than 50 services. The two protocols serve complementary 
roles rather than competing directly.
+
+## When to Use gRPC
+
+**Use gRPC when:**
+
+- Services communicate with high frequency and low latency requirements 
(trading systems, real-time analytics, game backends).
+- Payload efficiency matters because of bandwidth constraints or high message 
volumes.
+- Strong typing and contract-first development are priorities. The `.proto` 
file becomes the single source of truth.
+- Streaming is a core requirement (live data feeds, event-driven 
architectures, IoT telemetry).
+- Polyglot environments need consistent client/server code generation across 
multiple languages.
+
+**Stick with REST when:**
+
+- The API is public-facing and must be browser-accessible without additional 
proxying.
+- Human readability and debuggability with standard HTTP tools (curl, Postman) 
are important for developer experience.
+- HTTP caching semantics are essential for performance.
+- The team's existing tooling and expertise are REST-centric, and migration 
cost outweighs the performance gain.
+
+According to a 2025 InfoQ architecture trends report, 61% of organizations 
adopting gRPC maintain REST for external APIs and use gRPC exclusively for 
internal communication, creating a dual-protocol architecture that leverages 
each protocol's strengths.
+
+## gRPC and API Gateways
+
+API gateways play a critical role in gRPC architectures by solving three 
problems: protocol translation, traffic management, and observability.
+
+### gRPC Proxying
+
+A gateway that natively supports HTTP/2 can proxy gRPC traffic directly, 
applying authentication, rate limiting, and logging without protocol 
translation. The gateway terminates the client's gRPC connection, applies 
policies, and forwards the call to the upstream gRPC service. This is the 
simplest integration model and preserves full gRPC semantics including 
streaming.
+
+### gRPC-Web Translation
+
+Browsers cannot make native gRPC calls because browser-based JavaScript does 
not expose the HTTP/2 framing layer required by gRPC. The gRPC-Web protocol 
bridges this gap: the browser sends gRPC-Web requests (HTTP/1.1 or HTTP/2 with 
modified framing), and the gateway translates them into native gRPC for the 
upstream service. This eliminates the need for a separate REST API layer for 
browser clients.
+
+### HTTP/JSON to gRPC Transcoding
+
+Many organizations need to expose gRPC services to clients that can only 
consume REST/JSON. An API gateway with transcoding capabilities automatically 
maps HTTP verbs and JSON payloads to gRPC methods and Protobuf messages based 
on annotations in the `.proto` file. This enables a single gRPC backend to 
serve both gRPC and REST clients without maintaining two codebases.
+
+According to a 2025 API gateway usage survey by API7.ai, 34% of gRPC 
deployments behind an API gateway use transcoding to serve REST clients, 28% 
use gRPC-Web for browser access, and 38% use pure gRPC proxying.
+
+## How Apache APISIX Handles gRPC
+
+Apache APISIX provides native gRPC support across all three integration 
patterns described above.
+
+### Native gRPC Proxying
+
+APISIX proxies gRPC traffic natively over HTTP/2, supporting unary and 
streaming calls. Routes can be configured with gRPC-specific upstream settings, 
and the full [plugin ecosystem](/docs/apisix/plugins/batch-processors/) applies 
to gRPC routes: authentication (JWT, key-auth), rate limiting, circuit 
breaking, and observability all work transparently on gRPC traffic.

Review Comment:
   The “plugin ecosystem” link points to a single plugin doc 
(/docs/apisix/plugins/batch-processors/), which doesn’t match the intent of 
describing the whole ecosystem. Consider linking to the plugin hub (/plugins/) 
or a plugin overview/index page instead.
   ```suggestion
   APISIX proxies gRPC traffic natively over HTTP/2, supporting unary and 
streaming calls. Routes can be configured with gRPC-specific upstream settings, 
and the full [plugin ecosystem](/plugins/) applies to gRPC routes: 
authentication (JWT, key-auth), rate limiting, circuit breaking, and 
observability all work transparently on gRPC traffic.
   ```



##########
website/static/llms.txt:
##########
@@ -0,0 +1,51 @@
+# Apache APISIX
+
+> Apache APISIX is a dynamic, real-time, high-performance open-source API 
gateway and AI gateway that provides load balancing, authentication, rate 
limiting, observability, and 100+ plugins for managing API traffic at scale.
+
+## Core Documentation
+
+- [Getting Started](https://apisix.apache.org/docs/apisix/getting-started/): 
Install and configure Apache APISIX
+- 
[Architecture](https://apisix.apache.org/docs/apisix/architecture-design/apisix/):
 How APISIX works internally
+- [Routes](https://apisix.apache.org/docs/apisix/terminology/route/): Define 
routing rules for API traffic
+- [Upstreams](https://apisix.apache.org/docs/apisix/terminology/upstream/): 
Configure backend service targets
+- [Plugins](https://apisix.apache.org/docs/apisix/terminology/plugin/): Extend 
APISIX with built-in and custom plugins
+- [Plugin Hub](https://apisix.apache.org/plugins/): Browse all 100+ available 
plugins
+- [Admin API](https://apisix.apache.org/docs/apisix/admin-api/): Manage APISIX 
configuration via REST API
+
+## Authentication & Security
+
+- [Key 
Authentication](https://apisix.apache.org/docs/apisix/plugins/key-auth/): 
Simple API key-based authentication
+- [JWT 
Authentication](https://apisix.apache.org/docs/apisix/plugins/jwt-auth/): JSON 
Web Token validation
+- [OpenID 
Connect](https://apisix.apache.org/docs/apisix/plugins/openid-connect/): SSO 
with OIDC providers
+- [mTLS](https://apisix.apache.org/docs/apisix/mtls/): Mutual TLS for 
zero-trust security
+- [CORS](https://apisix.apache.org/docs/apisix/plugins/cors/): Cross-origin 
resource sharing
+
+## Traffic Control
+
+- [Rate Limiting 
(limit-req)](https://apisix.apache.org/docs/apisix/plugins/limit-req/): Request 
rate limiting with leaky bucket
+- [Rate Limiting 
(limit-count)](https://apisix.apache.org/docs/apisix/plugins/limit-count/): 
Fixed window counter-based rate limiting
+- [Concurrency 
Limiting](https://apisix.apache.org/docs/apisix/plugins/limit-conn/): 
Connection concurrency control
+- [Traffic 
Split](https://apisix.apache.org/docs/apisix/plugins/traffic-split/): Canary 
releases and A/B testing
+- [Proxy Cache](https://apisix.apache.org/docs/apisix/plugins/proxy-cache/): 
Response caching
+
+## AI Gateway
+
+- [AI Gateway Overview](https://apisix.apache.org/ai-gateway/): LLM proxy for 
AI workloads
+- [AI Proxy Plugin](https://apisix.apache.org/docs/apisix/plugins/ai-proxy/): 
Route requests to 20+ LLM providers
+- [AI RAG Plugin](https://apisix.apache.org/docs/apisix/plugins/ai-rag/): 
Retrieval-augmented generation support
+
+## Observability
+
+- [Prometheus](https://apisix.apache.org/docs/apisix/plugins/prometheus/): 
Metrics export for monitoring
+- [Datadog](https://apisix.apache.org/docs/apisix/plugins/datadog/): 
Integration with Datadog
+- [Zipkin](https://apisix.apache.org/docs/apisix/plugins/zipkin/): Distributed 
tracing
+
+## Kubernetes
+
+- [APISIX Ingress 
Controller](https://apisix.apache.org/docs/ingress-controller/overview/): 
Kubernetes-native API gateway
+- [Gateway 
API](https://apisix.apache.org/docs/ingress-controller/concepts/gateway-api/): 
Kubernetes Gateway API support
+
+## Learning Center
+
+- [What is an API 
Gateway?](https://apisix.apache.org/learning-center/what-is-an-api-gateway/): 
Definition, benefits, and use cases
+- [What is API 
Management?](https://apisix.apache.org/learning-center/what-is-api-management/):
 Platforms, tools, and best practices

Review Comment:
   This llms.txt index doesn’t include the 4 new Learning Center articles added 
in this PR, and the total number of linked pages appears well below the “30+ 
key pages” stated in the PR description. Consider expanding this file to 
include the new /learning-center/* slugs (and any other missing high-value 
pages) so the GEO change matches the stated intent.



##########
website/static/robots.txt:
##########
@@ -122,5 +114,8 @@ Disallow: /zh/docs/python-plugin-runner/3.15/
 Disallow: /zh/docs/python-plugin-runner/next/
 
 Sitemap: https://apisix.apache.org/sitemap.xml
-
 Sitemap: https://apisix.apache.org/zh/sitemap.xml
+
+# AI search engine crawlers — explicitly allowed
+# llms.txt for AI-friendly documentation index
+# See https://apisix.apache.org/llms.txt

Review Comment:
   robots.txt is intended to block *all* versioned docs except the unversioned 
latest, but the Disallow lists currently stop at 3.15. 
config/apisix-versions.js includes 3.16, so /docs/**/3.16/ (and 
/zh/docs/**/3.16/) will be crawlable duplicates unless you add the 
corresponding Disallow rules or generate this section from the canonical 
version list.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to