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

Gdamore/udp burst tune #1916

Merged
merged 3 commits into from
Nov 5, 2024
Merged

Gdamore/udp burst tune #1916

merged 3 commits into from
Nov 5, 2024

Conversation

gdamore
Copy link
Contributor

@gdamore gdamore commented Nov 4, 2024

fixes #

Note that the above format should be used in your git commit comments.
You agree that by submitting a PR, you have read and agreed to our
contributing guidelines.

Don't emit the log for date change unless we are in debug mode.
Emit a newline when starting a new NUTS test.
Change the default log level - it was too noisy.
The burst test should be more reliable (by avoiding extra work during the
hot code path).  We also make the threshold for pass/failure tunable via
an environment variable (NNG_UDP_PASS_RATE) which is a percentage.
Copy link

codecov bot commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.04%. Comparing base (604b565) to head (75eb6f3).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1916      +/-   ##
==========================================
- Coverage   80.17%   80.04%   -0.13%     
==========================================
  Files          94       94              
  Lines       24073    24073              
  Branches     3239     3239              
==========================================
- Hits        19301    19270      -31     
- Misses       4698     4730      +32     
+ Partials       74       73       -1     

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

This seems to give much higher reliability in message receives,
so we've tightened it up a bit for now.
@gdamore gdamore force-pushed the gdamore/udp-burst-tune branch from b25d659 to 75eb6f3 Compare November 5, 2024 06:40
@gdamore gdamore merged commit 75eb6f3 into main Nov 5, 2024
16 of 17 checks passed
@gdamore gdamore deleted the gdamore/udp-burst-tune branch November 5, 2024 06:52
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.

1 participant