Execute all global explorers only when needed #227
Labels
No labels
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ungleich-public/cdist#227
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: dheule
My intention is to create a brunch of global explorer which are of use in some cases and makes cdist more userfriendly. But now, all global explorers are allways executed, even the return value of the explorers is never used.
I think a possible approach can be to replace the result files with pipes, and on first read of the pipe, the explorer is executed by the core, all following read calls from the pipe are answered from the core with the result of the first real execute of the explorer.
So cdist can have an unlimited number of global explorers and only used explorers
are executed on the target host, all other explorers laying around are simply ignored.
Also a possible approach would be to create a new explorer type (dynamic explorers) which are sitting in a different directory to (for example dynexploer) and only this ones are executed with the conditional approach explained above. So the overhead to create pipes and monitor it is only in place on explorers which are not interesting for everyone ...
Created by: telmich
Hey Daniel,
point taken - we can laeve this open for some time as an idea (usually
we have put them into docs/dev/logs/* but the issue tracker is probably
not bad at all to expose ideas to other people).
Regarding the global explores/sap tuning: this is ia great use case!
If you ever submit your global explorers for inclusion, I suggest to
take care they run on every system (maybe not return something if they
don't know how), because they are always run (at the moment ;-)
Cheers,
Nico
dheule [Thu, Feb 06, 2014 at 11:08:45AM -0800]:
PGP key: 7ED9 F7D3 6B10 81D7 0EC5 5C09 D7DC C8E4 3187 7DF0
Created by: dheule
Now we have no problem at all,,, i have only write down a idea which are on
my mind ...
But if we extend the count of global explorers (some we already have
developed),
i expect a longer runtime of the explorers, this idea is against long run
times.
--> If you don't expect runtime issues with explorers in next time, feel
free to
close this issue ...
Some explorers which we have and are interesting for everyone are for
example:
This values are of interest for different tuning tasks of different
applications like sap or oracle etc ...
2014-02-06 17:01 GMT+01:00 Nico Schottelius notifications@github.com:
Created by: telmich
Interesting approach, but I am wondering which problem you are solving with this approach? Why can't all global explorers be executed always?
Btw, we have some thoughts about extending cdist to support switches, storage systems, etc. => there may come something up that creates "environments" which a dedicated set of explorers / remote_copy and remote_exec settings in the future.