J
Jerry Ham
I've looked info on the FileSystemWatcher (and the
FindFirstChangeNotification / ReadDirectoryChanges API functions), and I
can't find the answer to this:
How scalable are these functions in terms of server resources? For instance,
if I have a Windows 2000 / Windows 2003 server with 2,000 clients holding a
ReadDirectoryChanges or FileSystemWatcher handle - what happens to the
server? Does this overload some heap somewhere? When a file in that folder
does change (I am thinking it might change twice a week), then what happens
to the server as it has approximately 2,000 RPC's to send out? Is there any
impact to the server from a workstation that has one of these handles and
then the workstation crashes without closing the handle (will the server
hold it open infinitely)?
I've got a couple of other options to explore - one is polling the folder
periodically, the other is putting a service on the server to explicitly
watch this folder and then having clients query the service UDP or TCP.
However, I'd like to know if anyone has any experience with the scalability
of ReadDirectoryChanges / FileSystemWatcher on the server.
Thanks!
Jerry
FindFirstChangeNotification / ReadDirectoryChanges API functions), and I
can't find the answer to this:
How scalable are these functions in terms of server resources? For instance,
if I have a Windows 2000 / Windows 2003 server with 2,000 clients holding a
ReadDirectoryChanges or FileSystemWatcher handle - what happens to the
server? Does this overload some heap somewhere? When a file in that folder
does change (I am thinking it might change twice a week), then what happens
to the server as it has approximately 2,000 RPC's to send out? Is there any
impact to the server from a workstation that has one of these handles and
then the workstation crashes without closing the handle (will the server
hold it open infinitely)?
I've got a couple of other options to explore - one is polling the folder
periodically, the other is putting a service on the server to explicitly
watch this folder and then having clients query the service UDP or TCP.
However, I'd like to know if anyone has any experience with the scalability
of ReadDirectoryChanges / FileSystemWatcher on the server.
Thanks!
Jerry