Skip to content

Add max connection age settings to gRPC servers for improved load balancing #19457

Description

@dsmith3197

Clients often use indefinitely persistent connections. Given that we recommend network-level load balancers, this can result in sub-par balancing as the worker pool grows/shrinks due to a lack of rebalancing.

Similar to the work done for HTTP servers in #19141, we should add the following config options to sources that run gRPC servers (following the gRPC standards).

keepalive.max_connection_age
keepalive.max_connection_age_grace

This requires upstream work to be done first grpc/grpc-rust#1428

Related: #10728

Metadata

Metadata

Assignees

No one assigned

    Labels

    source: opentelemetryAnything `opentelemetry` source relatedsource: vectorAnything `vector` source related

    Fields

    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions