thrumdev / nomt

Apache License 2.0
92 stars 5 forks source link

opt: lockless page pool #400

Closed pepyakin closed 1 month ago

pepyakin commented 1 month ago

This optimization changes the data structure by leveraging the fact that the regions are immutable once they were created. This allows us to avoid expensive locking after each access. The title is a bit of click-bait since locking still happens for freelist updates.

pepyakin commented 1 month ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @pepyakin and the rest of your teammates on Graphite Graphite