Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(conf) update default C* policy to 'RequestRoundRobin' #4004

Merged
merged 1 commit into from
Nov 22, 2018

Conversation

thibaultcha
Copy link
Member

Introduced in 0.14, this new LB policy has been used in the wild and
should be considered stable. Since, in the context of Kong, this LB
policy has no downside and can potentially significantly reduce latency,
it is appropriate to use it as the default policy for 1.0. This ensures
that Kong is optimally configured from the get-go, as several complaints
about C* queries latency could have been mitigated by this policy
(although it is not the largest factor in those complaints).

By ensuring a given request reuses an existing connection, we avoid
additional handshake time (greatly worsened by SSL and authentication if
configured), and ensure consistency of data throughout the request.

Introduced in 0.14, this new LB policy has been used in the wild and
should be considered stable. Since, in the context of Kong, this LB
policy has no downside and can potentially significantly reduce latency,
it is appropriate to use it as the default policy for 1.0. This ensures
that Kong is optimally configured from the get-go, as several complaints
about C* queries latency could have been mitigated by this policy
(although it is not the largest factor in those complaints).

By ensuring a given request reuses an existing connection, we avoid
additional handshake time (greatly worsened by SSL and authentication if
configured), and ensure consistency of data throughout the request.
Copy link
Contributor

@hishamhm hishamhm left a comment

Choose a reason for hiding this comment

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

LGTM

@bungle bungle added the pr/ready This PR is considered ready and can be merged at anytime (given it received no subsequent changes) label Nov 21, 2018
@thibaultcha thibaultcha merged commit c4d6716 into master Nov 22, 2018
@thibaultcha thibaultcha deleted the chore/default-cassandra-lb branch November 22, 2018 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/ready This PR is considered ready and can be merged at anytime (given it received no subsequent changes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants