Skip to content

http/2: extend keep alive timeout when frame is received#21077

Merged
mattklein123 merged 3 commits intomainfrom
h2-keepalive-improve
Apr 29, 2022
Merged

http/2: extend keep alive timeout when frame is received#21077
mattklein123 merged 3 commits intomainfrom
h2-keepalive-improve

Conversation

@mattklein123
Copy link
Copy Markdown
Member

To avoid HOL blocking impacts on slow connections.

Risk Level: Low
Testing: New UTs
Docs Changes: Added
Release Notes: Added
Platform Specific Features: N/A
Runtime guard: envoy.reloadable_features.http2_delay_keepalive_timeout

To avoid HOL blocking impacts on slow connections.

Signed-off-by: Matt Klein <mklein@lyft.com>
@repokitteh-read-only
Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @markdroth
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #21077 was opened by mattklein123.

see: more, trace.

Signed-off-by: Matt Klein <mklein@lyft.com>
// amount of time. To avoid HOL blocking influence, if we receive *any* frame extend the
// timeout for another timeout period. This will still timeout the connection if there is no
// activity, but if there is frame activity we assume the connection is still healthy and the
// PING ACK may be delayed behind other frames.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great comment!

@RyanTheOptimist
Copy link
Copy Markdown
Contributor

Looks like the spell checker doesn't like "HOL"?

@RyanTheOptimist
Copy link
Copy Markdown
Contributor

Looks like the spell checker doesn't like "HOL"?

... which you just fixed. LOL.

Copy link
Copy Markdown
Contributor

@alyssawilk alyssawilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the fix!

@mattklein123 mattklein123 enabled auto-merge (squash) April 28, 2022 21:07
@alyssawilk
Copy link
Copy Markdown
Contributor

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #21077 (comment) was created by @alyssawilk.

see: more, trace.

@mattklein123 mattklein123 merged commit d0befbb into main Apr 29, 2022
@mattklein123 mattklein123 deleted the h2-keepalive-improve branch April 29, 2022 17:12
ravenblackx pushed a commit to ravenblackx/envoy that referenced this pull request Jun 8, 2022
…21077)

To avoid HOL blocking impacts on slow connections.

Signed-off-by: Matt Klein <mklein@lyft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants