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

perf(*) set Node only on the first DiscoveryRequest #2741

Merged
merged 1 commit into from
Sep 7, 2021

Conversation

jakubdyszkiewicz
Copy link
Contributor

Summary

We can save traffic on the wire by setting Node only on the first DiscoveryRequest. The Control Plane is ready to support such a setting, we just never enabled it.

Issues resolved

No issue.

Documentation

  • No docs

Testing

  • Unit tests
  • E2E tests
  • Manual testing on Universal
  • Manual testing on Kubernetes

Backwards compatibility

  • Add backport-to-stable label if the code is backwards compatible. Otherwise, list breaking changes.

Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
@codecov-commenter
Copy link

Codecov Report

Merging #2741 (3617acd) into master (ac76b72) will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2741      +/-   ##
==========================================
+ Coverage   52.12%   52.15%   +0.02%     
==========================================
  Files         866      866              
  Lines       49461    49461              
==========================================
+ Hits        25783    25795      +12     
+ Misses      21590    21577      -13     
- Partials     2088     2089       +1     
Impacted Files Coverage Δ
pkg/core/resources/manager/cache.go 79.22% <0.00%> (-2.60%) ⬇️
api/observability/v1/mads.pb.go 35.56% <0.00%> (+1.03%) ⬆️
pkg/xds/generator/direct_access_proxy_generator.go 83.90% <0.00%> (+1.14%) ⬆️
pkg/mads/v1/client/client.go 43.75% <0.00%> (+2.50%) ⬆️
pkg/core/bootstrap/autoconfig.go 54.46% <0.00%> (+8.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ac76b72...3617acd. Read the comment docs.

@jakubdyszkiewicz jakubdyszkiewicz merged commit e83c730 into master Sep 7, 2021
@jakubdyszkiewicz jakubdyszkiewicz deleted the chore/set-node-on-first-request branch September 7, 2021 09:58
mergify bot pushed a commit that referenced this pull request Sep 7, 2021
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
(cherry picked from commit e83c730)
jakubdyszkiewicz pushed a commit that referenced this pull request Sep 14, 2021
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
nikita15p pushed a commit to nikita15p/kuma that referenced this pull request Sep 28, 2021
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
nikita15p pushed a commit to nikita15p/kuma that referenced this pull request Sep 28, 2021
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@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.

None yet

3 participants