Re: [MarkLogic Dev General] Task server / priority strategy question

2012-01-23 Thread Michael Blakeley
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,

Re: [MarkLogic Dev General] Task server / priority strategy question

2012-01-23 Thread seme...@hotmail.com
: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

Re: [MarkLogic Dev General] Task server / priority strategy question

2012-01-23 Thread Geert Josten
: [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