Free page management #106
Labels
bug
Something isn't working
💾 disk size
A change makes the disk size smaller
🐌 performance
Perofrmance related issue
When running tests, we found that there's an unhealthy amount of pages that are not reused. It could be that they are not updated so therefore they are there forever. At least some of them are probably wrongly not reused, taking into consideration the algorithm that is used for storing the abandoned pages. Currently, the algorithm promotes the pages that were not used in the given batch so that they are not reused in the next one, but are considered to be reused after N blocks.
To test it one could:
The comment in the code about the page reuse:
Paprika/src/Paprika/Store/PagedDb.cs
Lines 499 to 505 in 74a0f5d
Results of the run with percentiles
The text was updated successfully, but these errors were encountered: