Per-URL request flow

  • Follow the POC's rate checks, buffering, cluster selection and rejection paths.
100%
Request execution · OBRH POC exampleFour views show configuration objects, request rejection, runtime state, and generic Envoy internal architecture. Sections A to C use prepared POC examples, not live deployment evidence. Section D shows the generic TCP and HTTP1-2 architecture. Request execution · OBRH POC example Example: REQUEST-URL = U1 · PRODUCT-PROCESSOR = FCUPI · any HTTP method ONE ENVOY SIDECAR · HTTP decode direction → Caller HTTP request HCM / route lookup Decode headersSelect/cache route A2Available before router local_ratelimit Read selected route actionsBuild path / pp descriptorsConsume runtime tokens C1 buffer Read / buffer bodyLimit: 1,000,000 BWait for full body router Read route.clusterChoose named clusterGet upstream stream debitCreditTxn-v2Active-request counter / limit: n / 50Own pools → 127.0.0.1:8080 inbound|8080||Active-request counter / limit: m / 200Own pools → 127.0.0.1:8080 Application Same poc-cmc JVM127.0.0.1:8080Outside Envoy U1 else Select ONE cluster; do not traverse both 429 · token check denied 413 · body too large 503 / UO · pool or breaker overflow LOCAL REPLY → callerJVM not called x-local-rate-limit: true Route lookup happens before router forwarding

Select a component to trace its direct connections. Drag to pan · Ctrl + wheel or pinch to zoom.

  • One request selects one route. Its rate-limit descriptors choose the applicable token buckets, the buffer checks body size, and the router asks the selected cluster for an upstream stream.
  • A local 429 stops at the token check and a 413 at the body limit. Pool or breaker overflow can return 503 before the application receives a request.
POC execution and rejection

POC execution and rejection

Istio 1.22.6 · Envoy 1.30.7 · prepared chart 0.1.3

  • In the source-inspected Envoy v1.30.7 path, HCM resolves/caches the route before HTTP decoder filters. The local limiter reads that route policy before router forwarding.
  • Local-rate-limit denial returns 429, excessive buffered body returns 413, and failed upstream allocation can return 503/UO. Those rejection paths do not forward the request into the JVM; response encoder processing still occurs.
  • One selected route chooses one cluster. A 503 alone does not establish overflow, and UO alone does not identify the exhausted connection, pending or active-request resource.