-
Notifications
You must be signed in to change notification settings - Fork 516
test: BatchProcessor stress testing #2788
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
base: main
Are you sure you want to change the base?
test: BatchProcessor stress testing #2788
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2788 +/- ##
=======================================
- Coverage 79.7% 79.7% -0.1%
=======================================
Files 123 123
Lines 23136 23141 +5
=======================================
- Hits 18448 18447 -1
- Misses 4688 4694 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This is a cool idea! I wonder if ....
|
Inspired from .NET's open-telemetry/opentelemetry-dotnet#1086 4 years ago! We do have some tests similar to this in this repo already (metrics focused), and I expect to make a normal-test one for this. The stress test is to test various additional scenarios, like what happens in network cable is pulled out, what if only single core is available.. what if we run this for a long time etc.
I'll be working a lot on these kind of ideas for next few weeks/months. |
Sounds useful! Thinking out loud, it'd be amazing if we could track this over time somehow. I don't know if we could use e.g. Sonarqube or bencher, or some other SaasY code quality platform to do this automatically. Maybe that ties into a better way to track the micro-benchmarks too. We could be clever and run this once a week, say, and then bisect manually if there are big regressions. |
I'll steal from what Collector is doing: https://opentelemetry.io/docs/collector/benchmarks/ |
Trying out one way to test overall throughput in batching scenarios. This could be another unit test?