Skip to content

Enhanced queues (Epic) #968

@ajzobro

Description

@ajzobro

There are multiple ways we could "enhance" /queues, but here are some ideas:

  • add counts of agents online and offline

  • make it faster

  • consider the true value of "advertised" queues and consider making the full list available

  • with respect to the API, allow for just the queue names to be fetched (quick)

    • and then a set of fields to be specified in addition (e.g. job counts, online agents, offline agents, description, etc.) again for speed
  • server-side filtering support based on queue name and all available attributes (e.g. online agents minus current jobs = show me open queues only)

  • create new queues based on hardware which can be combined and filtered (e.g. give me all queues with AMD CPU and NVIDIA GPU and > 64 GB RAM and a 10Gbit NIC)

  • database.py has a comment "# Remove advertised queues that haven't updated in over 7 days" which I think is not only applicable to "advertised" queues.

  • v1.py has a comment "Get restricted queues for a specific agent." but the uri does not relate to an agent

    • related, get_restricted_queue has the wrong return type (jsonify returns Response)
  • documentation for reserved queues is a separate page from explanation/queues.rst; should probably be section within queues.rst like advertised queues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions