-
Notifications
You must be signed in to change notification settings - Fork 84
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
core/aggsigdb: refactor MemDB #2950
Conversation
Introduce MemDBV2: instead of relying on a complex system based on channels and read/write queries, simply store objects in a `sync/map`. Simpler to read and potentially faster in systems in which there's a high rate of goroutine contention. Add the `aggsigdb_v2` feature flag to enable/disable this feature.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2950 +/- ##
==========================================
+ Coverage 54.10% 54.24% +0.13%
==========================================
Files 194 195 +1
Lines 27380 27500 +120
==========================================
+ Hits 14815 14916 +101
- Misses 10814 10826 +12
- Partials 1751 1758 +7 ☔ View full report in Codecov by Sentry. |
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Introduce MemDBV2: instead of relying on a complex system based on channels and read/write queries, simply store objects in a
sync/map
.Simpler to read and potentially faster in systems in which there's a high rate of goroutine contention.
Add the
aggsigdb_v2
feature flag to enable/disable this feature.category: refactor
ticket: #1951
feature_flag: aggsigdb_v2