You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
🎯 Problem to be solved
The
core/aggsigdb
package relies on a clever scheme based on a goroutine and channels to synchronize access to two plain maps.While this scheme works, it's prone to error and less efficient than a lock+map or
sync.Map
.Refactor to leverage one of the two proposed schemes.
The text was updated successfully, but these errors were encountered: