+---------- On Sep 14, Brett Schwarz said:
> I have a web site that links to video clips; such that when someone
> clicks on them, it invokes the player, and streams the video clip. What
> is the best way to update those video clips such that it does not
> interrupt any streaming, or corrupt any of the files. I guess this could
> be said for content in general, but this is my situation.
Windows NT or Unix?
On Unix, you can atomically rename a file to have the same name as
another file. Any process with the old file open continues accessing the
old file. When all such processes have closed the old file, the kernel
frees the storage used by the old file. Meanwhile, processes that open
that filename get the new file.