With 5.0, xdmp:spawn gained a 'priority' option. I am not sure exactly how it
behaves, but it might suit your needs.
http://developer.marklogic.com/pubs/5.0/apidocs/Ext-6.html#xdmp:eval
The only way to have multiple task servers is to have multiple hosts. If you
put them in separate groups,
:49 -0500
From: jwbu...@42six.com
To: general@developer.marklogic.com
Subject: [MarkLogic Dev General] Task server / priority strategy question
So I'm writing to get advice or technical pointers on managing the priority of
task queue items, basically. Some background on the challenge we're having
: [MarkLogic Dev General] Task server / priority strategy
question
One possibility is to create a job list with priorities and put that list
in the DB. Then when the next job processor kicks off it just gets the
highest priority job off the list. This means you'd have to have a place to
park