Skip to content

perf: don't gate indexing on compliation completing#769

Open
scohen wants to merge 1 commit into
mainfrom
scohen/remove-index-lock
Open

perf: don't gate indexing on compliation completing#769
scohen wants to merge 1 commit into
mainfrom
scohen/remove-index-lock

Conversation

@scohen

@scohen scohen commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

When reindex was run at the same time as compilation, it caused something in the BEAM vm to soak up CPU. This was a permanent condition that would affect the project node until it was restarted.

Since we swapped out the ETS based index backend for a SQLite one, we should be able to reindex and compile at the same time. This will dramatically reduce the amount of time the project node takes to boot.

This change makes it so indexing and compilation occur at the same time, and we fix up the index after compilation completes

When reindex was run at the same time as compilation, it caused
something in the BEAM vm to soak up CPU. This was a permanent
condition that would affect the project node until it was restarted.

Since we swapped out the ETS based index backend for a SQLite one, we
should be able to reindex and compile at the same time. This will
dramatically reduce the amount of time the project node takes to boot.

This change makes it so indexing and compilation occur at the same time,
and we fix up the index after compilation completes
@scohen scohen requested a review from doorgan July 9, 2026 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant