Skip to content

redis: fix pipeline timeout logic#1773

Merged
danielhochman merged 1 commit intomasterfrom
improve-redis-pipeline-timeouts
Sep 28, 2017
Merged

redis: fix pipeline timeout logic#1773
danielhochman merged 1 commit intomasterfrom
improve-redis-pipeline-timeouts

Conversation

@danielhochman
Copy link
Copy Markdown
Contributor

When using Redis pipelines, this ensures that we only boost the timeout when first command is written to the connection (makeRequest).

We also reset the timeout whenever we receive a response (onRespValue) to give Redis time to respond to each operation with the full op timeout.

Before we would boost the timeout on each incoming command even if the connection was going to timeout with no response on the first command. This resulted in long-tail timeouts well beyond the configured op timeout.

Signed-off-by: Daniel Hochman <dhochman@lyft.com>
@danielhochman danielhochman force-pushed the improve-redis-pipeline-timeouts branch from 45a25fd to c41e8de Compare September 28, 2017 20:14
Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Looks good, thanks.

@danielhochman danielhochman merged commit 78a9f40 into master Sep 28, 2017
@danielhochman danielhochman deleted the improve-redis-pipeline-timeouts branch September 28, 2017 20:51
costinm pushed a commit to costinm/envoy that referenced this pull request Oct 2, 2017
Signed-off-by: Daniel Hochman <dhochman@lyft.com>
rshriram pushed a commit to rshriram/envoy that referenced this pull request Oct 30, 2018
…roxy#1780)

* Update api sha (envoyproxy#1753)

* Release-0.8: Update envoy sha to bb6762a (envoyproxy#1759)

* Update envoy sha to bb6762a

* update envoy sha to 12c470e

* fix authn/integration tasn issue

* Update_Dependencies (envoyproxy#1766)

* Build addition artifacts with debug symbols (envoyproxy#1767)

* Update_Dependencies (envoyproxy#1768)

* Update api version to b549a3f770c833bad8f4f3871768c43960ab7309 (envoyproxy#1769)

* Update istio.deps

* Update repositories.bzl

* Update istio.deps

* Update istio.deps

* Update Envoy to c2baf34. (envoyproxy#1773)

Signed-off-by: Piotr Sikora <piotrsikora@google.com>

* Update api sha to 8d67e57e3612dae1a3423795bce93a372cfe4fa4 (envoyproxy#1775)

* revert api sha change
jpsim pushed a commit that referenced this pull request Nov 28, 2022
Turning up propercasing for HTTP/1.1, now avoiding the SAN issues.

Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Fixes #1558

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
Turning up propercasing for HTTP/1.1, now avoiding the SAN issues.

Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Fixes #1558

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: JP Simard <jp@jpsim.com>
mathetake pushed a commit that referenced this pull request Mar 3, 2026
**Description**

Fixes the KubernetesContainerSpec link in the generated API docs by
mapping it to the Envoy Gateway extension-types reference and updating
the current API doc link.

**Related Issues/PRs (if applicable)**

Fixes #1718

---------

Signed-off-by: jonasHanhan <zqhmusic121@gmail.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.

2 participants