Skip to content

combine the xds-translator and xds-server runner into one #6586

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

arkodg
Copy link
Contributor

@arkodg arkodg commented Jul 23, 2025

  • primarily to reduce memory and convergence time
  • the extra layer of caching or asynchronous runner is not useful here

@arkodg arkodg requested a review from a team as a code owner July 23, 2025 23:13
@arkodg arkodg added this to the v1.5.0-rc.1 Release milestone Jul 23, 2025
@arkodg arkodg marked this pull request as draft July 23, 2025 23:13
@arkodg arkodg changed the title combine the xds-translator and xds-server into one xds runner combine the xds-translator and xds-server runner into one Jul 23, 2025
arkodg added 3 commits July 29, 2025 22:30
* primarily to reduce memory and convergence time

Some stats collected with 1000 HTTPRoutes configured

| Metric                            | **Before**                     | **After**                          | **Change**     |
| --------------------------------- | ------------------------------ | ---------------------------------- | -------------- |
| `go_memstats_sys_bytes`           | 452,736,360 bytes (\~431.6 MB) | **231,597,336 bytes (\~220.8 MB)** | **↓ \~210 MB** |
| `go_memstats_alloc_bytes`         | 68,811,456 bytes (\~65.6 MB)   | **61,314,944 bytes (\~58.5 MB)**   | ↓ \~7 MB       |
| `go_memstats_heap_idle_bytes`     | 306,855,936 bytes (\~292.7 MB) | **70,557,184 bytes (\~67.3 MB)**   | ↓ \~225 MB     |
| `go_memstats_heap_released_bytes` | 286,351,360 bytes (\~273.1 MB) | **51,478,528 bytes (\~49.1 MB)**   | ↓ \~224 MB     |
| `go_memstats_heap_sys_bytes`      | 428,310,528 bytes (\~408.4 MB) | **139,657,216 bytes (\~133.2 MB)** | ↓ \~275 MB     |

Signed-off-by: Arko Dasgupta <[email protected]>
Signed-off-by: Arko Dasgupta <[email protected]>
Signed-off-by: Arko Dasgupta <[email protected]>
@arkodg arkodg marked this pull request as ready for review July 30, 2025 05:43
Copy link

codecov bot commented Jul 30, 2025

Codecov Report

❌ Patch coverage is 38.23529% with 63 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.26%. Comparing base (f90e696) to head (be56acc).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
internal/xds/runner/runner.go 40.20% 47 Missing and 11 partials ⚠️
internal/cmd/server.go 0.00% 4 Missing ⚠️
api/v1alpha1/validation/envoygateway_validate.go 0.00% 1 Missing ⚠️

❌ Your patch check has failed because the patch coverage (38.23%) is below the target coverage (60.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6586      +/-   ##
==========================================
+ Coverage   71.03%   71.26%   +0.23%     
==========================================
  Files         225      224       -1     
  Lines       39155    39100      -55     
==========================================
+ Hits        27813    27865      +52     
+ Misses       9732     9611     -121     
- Partials     1610     1624      +14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Xunzhuo
Copy link
Member

Xunzhuo commented Jul 30, 2025

can we have the diff in benchmark to see the differences? curious about how it can improve

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