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

Add system tests and scale with larger queue size #14

Merged
merged 8 commits into from
Nov 5, 2023
Merged

Conversation

samos123
Copy link
Contributor

@samos123 samos123 commented Nov 5, 2023

No description provided.

@samos123 samos123 requested a review from nstogner November 5, 2023 05:06
@samos123 samos123 changed the title Add system tests Add system tests and scale with larger queue size Nov 5, 2023
Copy link
Contributor

@nstogner nstogner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, I think one comment can be changed though

for deploymentName, waitCount := range a.FIFO.WaitCounts() {
avg := a.getMovingAvgQueueSize(deploymentName)
avg.Next(float64(waitCount))
flt := avg.Calculate()
ceil := math.Ceil(flt)
// TODO fix this to use configurable concurrency setting that's supplied
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this TODO comment can be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rather keep it for myself since its not obvious what to change. I might forget in a few days when i try to make concurrency configurable

@samos123 samos123 merged commit a68533a into main Nov 5, 2023
2 checks passed
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