Per-URL configuration

  • The OBRH POC's route matches, dedicated cluster and independent concurrency limits, with YAML.
100%
Configuration objects · 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. Configuration objects · OBRH POC example Istio inputs → xDS → listener / HCM · route table · named clusters app=poc-cmc · context: SIDECAR_INBOUND ISTIO INPUTS Sidecar / poc-sidecar ingress + endpointinbound pool setting: 200 poc-base-ef HTTP_FILTER: insertlocal_ratelimit + buffer URL / group rate-limit EFs HTTP_FILTER: merge bucketsHTTP_ROUTE: merge actions poc-url-concurrency-ef CLUSTER: ADDHTTP_ROUTE: INSERT_FIRSTTwo different Envoy objects istiodTranslateand merge→ xDS Configurationonly ENVOY CONFIGURATION IN MEMORY A1 · Listener → network filter HCMHCM.http_filters[] (LDS)1 local_ratelimit2 buffer3 router local_ratelimit.typed_config token_bucket: defaultdescriptors: path = U1 → URL token_bucket pp = FCUPI → group token_bucketalways_consume_default_token_bucket: true Bucket definitions A2 · RouteConfiguration → VirtualHost vhost: inbound|http|8080 HTTP route 1 · inserted firstmatch: prefix / + REQUEST-URL = U1action.cluster: debitCreditTxn-v2action.rate_limits: REQUEST-URL → descriptor path PRODUCT-PROCESSOR → descriptor pp HTTP route 2 · existing fallbackmatch: prefix / → inbound|8080||Also carries URL/group descriptor actions Inbound route_config: inline in LDSrate_limits: descriptor-generation rules A3 · Cluster manager (CDS) CLUSTER: debitCreditTxn-v2Explicitly added; type: STATICmax_requests: 50endpoint: 127.0.0.1:8080 CLUSTER: inbound|8080||Normal Istio inbound clustermax_requests: 200endpoint: 127.0.0.1:8080 Referenced by name; separate objects Route ≠ cluster Same endpoint ≠ shared pool No automatic cluster per URL

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

  • In this POC, an Envoy cluster is an upstream target with its own connection pool and request budget. Both clusters point to the same application port.
  • The first route matches the selected request header and chooses a 50-active-request cluster. The fallback chooses the ordinary 200-request cluster. Select the first route to inspect its YAML.
POC configuration objects

POC configuration objects

Istio 1.22.6 · Envoy 1.30.7 · prepared chart 0.1.3

  • The prepared POC creates a separate cluster with CLUSTER / ADD and an early route with HTTP_ROUTE / INSERT_FIRST. Matching a workload or patch target acts during configuration; the new route match acts on each request.
  • The custom cluster allows 50 active requests and the ordinary inbound cluster 200, independently. Both target the same 127.0.0.1:8080 JVM; neither is a new Service or application Pod.
  • For the source-inspected Istio 1.22.6 inbound builder, the route table is inline in LDS. The STATIC cluster carries its own load_assignment; separate RDS or EDS delivery is not implied.