You should try to setup dfs replication between the two servers / directory 
structures instead of using watch folders.

That would be more efficient and would also give you near real time sync 
between the two servers.

"set and forget"

Mvh
Helge Hetland
WebSite AS

Den 5. nov. 2010 kl. 16:50 skrev "Jake Churchill" <reyna...@gmail.com>:

> 
> I'm using the directory watcher event gateway to sync files between 2
> servers that are load balanced.  The client uses both file upload tools and
> local shares to update files (all located in an images directory).  They
> have 2 sites and the images directory on one site is pushing 2GB and the
> other is about 1.2GB.  So, I have 2 directory watcher instances running, one
> for each image directory.  This is the same directory watcher, I just load 2
> different config files.  When images are added to server 1, they are copied
> to server 2, same for changes and deletes.
> 
> My question is the following:
> 
> I've never used directory watchers before.  I have these scheduled to run at
> 5 minute incremenets and when they run the processor usage increases to over
> 30%.  It makes me nervous consistently using this much proc so I want to
> know if this is normal.  Is there a more efficient way to sync images
> between servers using coldfusion?
> 
> FYI, the images are not all in the images directory, there are about 20
> sub-directories and the directory watchers run recursively.  The server this
> is running on is quite powerful.  It's a 64bit windows server 2003 with a
> quad-core proc and 8GB RAM.  The JVM has been tuned for this machine.  This
> is CF8 Standard.  (Both machines are the same)
> 
> Thanks for any input.
> 
> -Jake
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338856
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to