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

Performance #3

Open
majurgens opened this issue Apr 27, 2021 · 0 comments
Open

Performance #3

majurgens opened this issue Apr 27, 2021 · 0 comments

Comments

@majurgens
Copy link

majurgens commented Apr 27, 2021

Hi - I am the author of check wmi plus.

One of the things with the existing wmic binary is that you need to fork it each time you run it. This is performance overhead that can be a big problem on some production monitoring implementations. From what I have seen of python, it is very slow to fork a new process, much slower than a compiled binary.

One suggestion that I would make is to have an operation mode of your wmic replacement that allows you to have a long running python service where check wmi plus can simply make some form of API call, hence totally avoiding the forking overhead. Perhaps some kind of REST interface that perl can call using LWP or something.

I'd then look to make check wmi plus compatible with the new interface

Thanks

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