Background jobs
As a namespace evolves, LoonFS runs maintenance work in the background to keep queries fast and storage tidy.
Compaction
Section titled “Compaction”As commits accumulate in a namespace WAL, the performance of a naive query that scans every commit to rebuild the state of the namespace would rapidly degrade. LoonFS has a number of built-in compaction jobs that build indexed tables for faster query resolution.
Indexing
Section titled “Indexing”Another class of maintenance work is indexing. Indexing operations improve performance for common queries. One planned index is a “grep” index.
Garbage collection
Section titled “Garbage collection”LoonFS uses tombstone-first delete. Garbage collection as a class of background work is on the roadmap but has not been implemented at this time.