Luis Majano Forums Notification: Post to Restart Key

Title: RE: Restart Key
Thread: Restart Key
Forum: Enhancements
Conference: ColdBox
User: lmajano

Once you verify the existance of the file, with a simple:

fileExists()

In
which the IO is minimal. Also, it can be done in a frequency manner, just like
the cache reaping frequency.

Now, this can also be achieved via a plugin and
not touching the core framework. This is a very good idea. Maybe create a
plugin, that verifies the existance of the file on a sequence, say every 5
minutes. This way, the minimum lag is the frequency. The plugin detects the
tag, reinitializes and deletes the local tag. Now, since the tag is deployed on
all servers, each instance detects it and acts accordingly.

I like the plugin
approach better.

http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=96B84744-123F-6116-427493D65EBD5C81