Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi, Is It Possible To Manage The Prioritization Of Waiting Jobs Within A Queue?

Hi, is it possible to manage the prioritization of waiting jobs within a queue?

  
  
Posted 3 years ago
Votes Newest

Answers 10


for example can i make queues like this: prio1_q, prio2_q and prio3_q and the workers always will first get the jobs from prio1_q queue?

  
  
Posted 3 years ago

ok, is it than possible to prioritiz diffrent queues?

  
  
Posted 3 years ago

and how can i change the priority of the queue?

  
  
Posted 3 years ago

ok, i got it. thanks again.

  
  
Posted 3 years ago

is there an option or configuration parameter?

  
  
Posted 3 years ago

thanks for the information.

  
  
Posted 3 years ago

Yes, this is the default Trains Agent daemon mode behavior when provided a list of queues.

  
  
Posted 3 years ago

The Trains Agent daemon --order-fairness command line argument allows you to change this behavior and use a round-robin (fair) execution of experiments from the provided queues

  
  
Posted 3 years ago

Hi SuperiorDucks36 ,
Priority within a queue is not currently supported in Trains Server. You could create different queues for different experiment types. You can also use a script to change the order of experiments within a queue.

  
  
Posted 3 years ago

The priority is simply the queues location in the list. If you need to change the order, shut down the Trains Agents and start them again with a different queues list (a different order representing your priorities)

  
  
Posted 3 years ago
539 Views
10 Answers
3 years ago
one year ago
Tags