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

Run jobs concurrently #1

Open
reynoldsbd opened this issue Oct 17, 2020 · 0 comments
Open

Run jobs concurrently #1

reynoldsbd opened this issue Oct 17, 2020 · 0 comments

Comments

@reynoldsbd
Copy link
Owner

reynoldsbd commented Oct 17, 2020

Modify scheduler to start and run jobs concurrently where possible.

Will probably be implemented using a FuturesUnordered:

https://docs.rs/futures/0.3.6/futures/stream/futures_unordered/struct.FuturesUnordered.html

User should be able to configure the maximum number of concurrently running jobs by calling a "builder pattern" method on Scheduler before running their jobs.

reynoldsbd added a commit that referenced this issue Apr 12, 2021
Implement concurrent job execution using FuturesUnordered (#1)

Make jobs generic over context type C (#7)

Refactor APIs to use visitor(ish) pattern PlanBuilder. Eliminates async-trait dependency, reduces number of allocations needed to use this API, and IMO is more ergonomic.
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

No branches or pull requests

1 participant