Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> best way to enable multiple-receiver queue?

best way to enable multiple-receiver queue?

From: Mark Harrison <mh_at_pixar.com>
Date: Wed, 03 Jan 2007 06:02:04 GMT
Message-ID: <wFHmh.8983$sR.2686@newssvr29.news.prodigy.net>


I have a cluster of CPUs generating thumbnails for a render farm. I would like to place thumbnail requests on a queue, and have the cluster of client dequeue the requests and process them.

Of course, each request should be only dequeued once... if a thumbnail is being processed by one CPU, it shouldn't be processed by another CPU.

Can AQS do this? Is it possible have the clients coordinate so that each message is dequeueed by only one client?

If not, will several processes doing a SELECT FOR UPDATE followed by a DELETE be a reasonable approach for multiple consumers to exclusively process requests?

TIA,
Mark

-- 
Mark Harrison
Pixar Animation Studios
Received on Wed Jan 03 2007 - 00:02:04 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US