-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Tracking changes in job state is a powerful feature, but must be used responsibly in order to work effectively. At present, the specification refers to polling by calling batch queue status APIs frequently, and does not talk about how to manage Psi/J's own internal status information on submitted jobs.
The result is that Psi/J uses an unknown/uncontrolled amount of system resources and has no mechanism for tracking, using, and managing its own stored state about submitted/completed jobs (say on shutdown/startup).
Describe the solution you'd like
The spec should clearly spell out:
- Under what function calls / state conditions does Psi/J poll the batch queue?
- How can polling be transformed into callbacks from the batch queue itself (when supported, e.g. https://slurm.schedmd.com/strigger.html)?
- Where does Psi/J track its internal information about submitted jobs?
- How can that information be queried programmatically (e.g. on shutdown/startup of a Psi/J executor)?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request