Skip to content

perf(core): scan up to 3x faster with workers that share memory - #281

Merged
zaldih merged 3 commits into
mainfrom
perf/shared-scan
Nov 8, 2026
Merged

zaldih merged 3 commits into
mainfrom
perf/shared-scan

Conversation

@zaldih

@zaldih zaldih commented Nov 5, 2026

Copy link
Copy Markdown
Member

This was an improvement I’d been wanting to make for a long time.

One of the main bottlenecks in scan performance was that each directory was reported to the coordinator by each of the workers, followed by a return message to send them new work. This consumed approximately 90 per cent of resources.

With this change, the workers now share a memory space which they use themselves to submit and collect tasks.

The measured improvement is between 40% and 70%.

@zaldih zaldih self-assigned this Nov 5, 2026
@zaldih
zaldih merged commit 4a41bab into main Nov 8, 2026
19 checks passed
@zaldih
zaldih deleted the perf/shared-scan branch November 8, 2026 15:23
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