Skip to content

Update RDS hash policy docs#194

Merged
mattklein123 merged 3 commits intoenvoyproxy:masterfrom
akonradi:hash-policy-docs
Oct 16, 2017
Merged

Update RDS hash policy docs#194
mattklein123 merged 3 commits intoenvoyproxy:masterfrom
akonradi:hash-policy-docs

Conversation

@akonradi
Copy link
Copy Markdown
Contributor

Document changes introduced by envoyproxy/envoy#1756 (multiple hash policies) and envoyproxy/envoy#1766 (cookie hashing).

Signed-off-by: Alex Konradi <akonradi@google.com>
Signed-off-by: Alex Konradi <akonradi@google.com>
Copy link
Copy Markdown
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

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

LGTM, @mattklein123 ?

api/rds.proto Outdated
// endpoint. The cookie is generated by hashing the source and
// destination ports and addresses so that multiple independent HTTP2
// streams will independently receive the same cookie, even if they
// arrive at the envoy simultaneously.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nit: s/envoy/Envoy/

api/rds.proto Outdated
// endpoint.
// endpoint. The cookie is generated by hashing the source and
// destination ports and addresses so that multiple independent HTTP2
// streams will independently receive the same cookie, even if they
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

streams on the same connection. If you had a "smart" gRPC client that initiated multiple connections (and somehow had a cookie store, which gRPC clients don't tend to), there might still be a race.

Signed-off-by: Alex Konradi <akonradi@google.com>
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.

Thank you

@mattklein123 mattklein123 merged commit ca59aca into envoyproxy:master Oct 16, 2017
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.

3 participants