WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Performance of WatchDirectory with many folders (Read 803 times)
TonyF
YaBB Newbies
*
Offline



Posts: 37
Performance of WatchDirectory with many folders
Oct 12th, 2015 at 4:29pm
 
Has anyone used WatchDirectory to monitor a data share with a large number of folders and files? I plan to monitor a data share with ~ 4,500 folders containing ~ 48,000 files (~ 2.4 GB of data). I plan to use WatchDirectory to monitor for a newly created file and to change the security setting for the new file so that it cannot be modified. My question is how quickly would WatchDirectory detect a new file in the above scenario? What would be the impact on the server resources of such a task?

Many thanks,

Tony

Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2233
The Netherlands
Re: Performance of WatchDirectory with many folders
Reply #1 - Oct 13th, 2015 at 7:30am
 
Hello Tony,

If you use the "Fast" monitoring method, Windows will notify WD of the exact change that happens. The other 3 monitoring methods rely on scanning the directory to look for changes and may be to slow for your needs.
Also, if "Fast" doesn't work for you, you should use the "File Age" monitoring method. "Polling" and "Default" both have a list of all files and directories in memory to compare against. This list may consume to much memory in your case.
"File Age" doesn't need such a list so you can let it trigger for files "older than 1 minute" and make sure to set the option to "remember triggered files".

Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1