Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adaptive import #279

Closed
wants to merge 3 commits into from
Closed

Conversation

DavisPuciriuss
Copy link

Based on some performance testing (here), I have added an 'adaptive' import option. That will check if parallel import is 'worth it' in that case.

Useful when having multiple imports going, with varying document count.
This is still a work in progress, would like your opinion if this is even something that should be added, or should just be kept under the same '--parallel' option.

Things to do:
Check Queue::size of the parallel-import queues, if they are full or currently handling another import - disable parallel import.
More performance testing, as the number of documents where parallel import is faster than regular could vary.

Davis Puciriuss added 3 commits June 17, 2024 15:40
@DavisPuciriuss DavisPuciriuss changed the base branch from master to 8.x June 17, 2024 12:49
@DavisPuciriuss DavisPuciriuss deleted the adaptive-import branch June 17, 2024 12:51
@DavisPuciriuss DavisPuciriuss restored the adaptive-import branch June 17, 2024 12:53
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