Skip to content

Background jobs

As a namespace evolves, LoonFS runs maintenance work in the background to keep queries fast and storage tidy.

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.

Another class of maintenance work is indexing. Indexing operations improve performance for common queries. One planned index is a “grep” index.

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.