Skip to content

ext_proc: document session affinity configuration - #46558

Open
dio wants to merge 1 commit into
envoyproxy:mainfrom
dio:ext-proc-session-affinity
Open

ext_proc: document session affinity configuration#46558
dio wants to merge 1 commit into
envoyproxy:mainfrom
dio:ext-proc-session-affinity

Conversation

@dio

@dio dio commented Aug 6, 2026

Copy link
Copy Markdown
Member

Commit Message: ext_proc: document session affinity configuration

Additional Description: Documents the existing configuration path for keeping requests with the same session key on one external processor endpoint. The downstream key is copied into Envoy gRPC initial metadata and used by a matching cluster-level hash policy. Adds integration coverage for header affinity, passive-cookie affinity, and requests without an affinity key.

No production behavior changes are introduced. A runnable Go demonstration is available at https://github.com/dio/ext-proc-session-affinity.

AI assistance was used to help prepare the documentation and tests; the submitter reviewed and validated the resulting change.

Risk Level: Low

Testing: Focused ext_proc integration test. The runnable demo also measured header and passive-cookie affinity across 32 sessions and 160 requests per mode, with both processor endpoints observed and zero affinity violations.

Docs Changes: Adds ext_proc session-affinity configuration guidance and examples.

Release Notes: N/A

Platform Specific Features: N/A

Fixes #46159

Signed-off-by: Dhi Aurrahman <dio@rockybars.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ext Proc to Support Session Affinity

1 participant