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

Stepped Burst Load Strategy #1

Merged
merged 4 commits into from
Aug 6, 2024
Merged

Stepped Burst Load Strategy #1

merged 4 commits into from
Aug 6, 2024

Conversation

paulirwin
Copy link
Member

This adds a stepped burst load strategy, which enqueues an increasing (or decreasing) burst of tasks in a stepwise manner, regardless of how many might already be running.

i.e. passing (step: 10, from: 10, to: 50, interval: TimeSpan.FromSeconds(1)) will enqueue 10 tasks, then 20 tasks one second later, then 30 one second after that, then 40, then 50, and stop, for a total of 150 tasks. If step is negative, you can go from high to low values.

This also improves some member names to avoid ambiguity and help be more consistent across types, upgrades NuGet packages, and turns on warnings as errors.

@paulirwin paulirwin requested a review from jamesmblair August 6, 2024 16:01
@jamesmblair jamesmblair merged commit 58248d4 into main Aug 6, 2024
@paulirwin paulirwin deleted the feature/step-strategy branch August 6, 2024 22:25
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.

2 participants