Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Performance of WatchFolder-Plugins with huge Directory trees

If you have a question or need help, this is the place to be.
Post Reply
fbuchinger
Posts: 1
Joined: Wed Dec 19, 2007 2:05 pm

Performance of WatchFolder-Plugins with huge Directory trees

Post by fbuchinger »

Hello,

today I stumpled upon EventGhost and I am really impressed by the feature set. I'm especially interested in the WatchFolder-Plugin as I need similar functionality in my Python application: I want to "mirror" my flickr account in folders in my harddisk. During startup, my app should query my flickr account for new images and then download all (new) thumbnails. Photosets are created as folders.

Once I drag a new Image in my flickr folders the image should be uploaded to flickr and sent to the corresponding photoset. Therefore my app needs to watch a quite huge directory tree with subdirectories and approx. 2000-4000 Files.

How is the performance of the WatchFolder-Plugin with these big directory trees? Are there alternatives in Python?

Thanks,

Franz
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Performance of WatchFolder-Plugins with huge Directory trees

Post by Bitmonster »

DirectoryWatcher uses a special Win32 function (ReadDirectoryChanges), that triggers events through an OVERLAPPED structure. So this should be very performant, as no polling is involved.

But as you can see in the source, it is not so simple to use and only works on Windows.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Post Reply