Cherry pick eth_getLogs performance with early rejection and backpressure#2606
Merged
philipsu522 merged 6 commits intorelease/v6.2.0-branchfrom Dec 15, 2025
Merged
Cherry pick eth_getLogs performance with early rejection and backpressure#2606philipsu522 merged 6 commits intorelease/v6.2.0-branchfrom
philipsu522 merged 6 commits intorelease/v6.2.0-branchfrom
Conversation
- Add WorkerPoolMetrics struct with comprehensive tracking - Track worker pool: active workers, queue depth, peak depth, tasks submitted/completed/rejected - Track DB semaphore: capacity, in-use count, wait times - Track eth_getLogs: requests, errors, TPS, block ranges, latencies - Track subscriptions: active count, errors - Add Prometheus metrics export for Grafana visualization - Add console metrics printer (every 5 seconds) - Add WorkerPoolSize and WorkerQueueSize config options - Add InitGlobalWorkerPool for configurable initialization
There was a problem hiding this comment.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
Codecov Report❌ Patch coverage is ❌ Your patch status has failed because the patch coverage (49.35%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## release/v6.2.0-branch #2606 +/- ##
=========================================================
- Coverage 64.33% 64.06% -0.28%
=========================================================
Files 361 362 +1
Lines 27491 28026 +535
=========================================================
+ Hits 17687 17954 +267
- Misses 8342 8600 +258
- Partials 1462 1472 +10
🚀 New features to boost your workflow:
|
yzang2019
approved these changes
Dec 15, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes and provide context
Cherry picks #2591 into v6.2.0
Testing performed to validate your change
Tested with RPC providers