Re: Multiple instances and background batch threads.
Re: Multiple instances and background batch threads.
- Subject: Re: Multiple instances and background batch threads.
- From: Miguel Arroz <email@hidden>
- Date: Thu, 9 Oct 2008 01:00:26 +0100
Hi!
We have separate applications that handle that kind of tasks. Each
of those applications will have only one instance running. No locking
needed, no database channel congestion on "real" application
instances, etc.
Yours
Miguel Arroz
...........................
http://www.survs.com
On 2008/10/09, at 00:49, Q wrote:
I have a scenario where I need my application to periodically fire
off background batch tasks in a separate thread, but only need one
of the possible instances to perform this task at any given
interval. What technique do people normally use with WO to perform
this sort of election/locking between instances so that only one of
them at a time ever attempts to do the work?
--
Seeya...Q
Quinton Dolan - email@hidden
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden