Skip to content

Jitter for tcp proxy max_downstream_connection_duration #40686

@lucaschimweg

Description

@lucaschimweg

Title: Jitter for tcp proxy max_downstream_connection_duration

Description:
To prevent thundering herd problems when using Envoy as an L4 proxy, we'd like to introduce a jitter option for the max_downstream_connection_duration in the TCP proxy: https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto

It would be configured as a jitter duration. The actual max duration would then be configured as max_downstream_connection_duration + random(0, max_downstream_connection_duration_jitter).

I could implement this in the next weeks if this is something the community would be interested in.

Relevant Links:
A similar issue was previously discussed in #35391. Progress here stalled because nobody implemented it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions