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

Better queue throughput #5

Open
petervandivier opened this issue Jun 15, 2023 · 1 comment
Open

Better queue throughput #5

petervandivier opened this issue Jun 15, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@petervandivier
Copy link
Owner

The current parallelization implementation means that (assuming no errors), each serial batch takes as long as the longest parallel sub-step. For example, if our $Step is 1 hour and our $Parallelism is 24, each serial batch is 1 day. If most hour sub-steps are quite small but there's regularly a spike from 12PM-1PM, then the long midday batch will cause all other parallel threads to wait until it has completed before the next serial batch can begin processing.

Implement a materialized queue system such that a thread receiving a batch can immediately proceed to another without waiting on a serial partner.

@petervandivier
Copy link
Owner Author

Relates to #10

@petervandivier petervandivier added the enhancement New feature or request label Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant