Skip to content

Job State Tracking Methods #173

@frobnitzem

Description

@frobnitzem

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

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions