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

Increase queueing capacity #5

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

ThomWright
Copy link
Owner

@ThomWright ThomWright commented Aug 25, 2024

Originally only one batch could be queued up at a time.

If the available processing concurrency is e.g. 10 batches of 10 items,
then the worst case is that all batches finish at the same time and we
only have 10 new items to process, using only 10% of the available
capacity.

If we can queue up the same number of items as we can process, then we
would be able to use 100% of the processing capacity in this case.

To that end, we now queue multiple batches ready for processing, instead
of just one.

Originally only one batch could be queued up at a time.

If the available processing concurrency is e.g. 10 batches of 10 items,
then the worst case is that all batches finish at the same time and we
only have 10 new items to process, using only 10% of the available
capacity.

If we can queue up the same number of items as we can process, then we
would be able to use 100% of the processing capacity in this case.

To that end, we now queue multiple batches ready for processing, instead
of just one.
@ThomWright ThomWright force-pushed the increase-queueing-capacity branch from 1225ca6 to 60a4ac2 Compare August 25, 2024 11:49
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