Using WO instance for multiple background task
Using WO instance for multiple background task
- Subject: Using WO instance for multiple background task
- From: Jacky Gagnon <email@hidden>
- Date: Fri, 21 Mar 2003 10:49:16 -0500
Hi,
I have a WO application who do mainly some intensive background task
with a Database. The WO monitor keep it alive, and i did an html
interface for a better monitoring of my application. I want to deploy
multiple instance of this application to be able to use more than one
computer for the task.
My problem is: I don't want 2 instances processing the same task on the
same data in the database.
One of my solution is to use a flag in the database to indicate which
instance process a group of data and remove it when the data are
processed.
This flag can be the Instance name but I don't know if its a good idea
(and I don't know exactly how to obtain it).
What do you think of this idea?
Maybe there are easier way for doing this?
Thanks!
Jacky
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.