Update Gorouter Back End Keep-Alive Connections Docs with Caveat about Potential Race Condition#199
Merged
paigecalvert merged 1 commit intocloudfoundry:masterfrom Jun 1, 2021
Conversation
|
|
|
We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story. The labels on this github issue will be updated when the story is started. |
e8fd2e9 to
bb172f0
Compare
…ential race condition
bb172f0 to
eff7e45
Compare
|
Thank you @peterellisjones! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi folks,
When Gorouter back end keep-alive connections is enabled, users are exposed to a potential race condition if their application keep-alive idle timeouts are not correctly configured. This PR updates the docs to inform users about this.
The Gorouter backend idle timeout value of 90 seconds comes from this hardcoded value.
Supporting information about why it's important for senders to close connections before receivers do:
https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html
https://docs.pivotal.io/application-service/2-8/operating/frontend-idle-timeout.html
https://blog.percy.io/tuning-nginx-behind-google-cloud-platform-http-s-load-balancer-305982ddb340
https://tanzu.vmware.com/content/pivotal-engineering-journal/understanding-keep-alive-timeouts-in-the-cloud-foundry-networking-stack-2
kind regards,
Pete