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

DynTotal with EWMA question #124

Open
mmellin opened this issue Mar 13, 2023 · 1 comment
Open

DynTotal with EWMA question #124

mmellin opened this issue Mar 13, 2023 · 1 comment
Labels

Comments

@mmellin
Copy link

mmellin commented Mar 13, 2023

Hello, thank you for your work on this library.

I have servers that I am running collection tasks on, and each server is one of several types. Collection tasks could range from <1sec to >5mins each, and the total number of such tasks is dynamic and depends on things like the number of log files in directories, the state of the system and the program's flags enabled more or less options.

I'd like to create progress bars for each group of node types (there could be 1000's of nodes, but <10 node types) with an ETA and a percentage. I'm having trouble figuring out how to use EWMA with a bar total = 0.

  • Is this something possible, or would you recommend a different approach?
  • If possible, which example best suites this type of use case?
@vbauerster
Copy link
Owner

I think it's not possible to measure ETA if you don't know total at all. If you get it at a later point then it's ok.
I recommend first to try Average ETA in any case, then if you really need EWMA read their corresponding documentation.

@vbauerster vbauerster added the ewma label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants