in reply to Re: Hit tracking optimization...
in thread Hit tracking optimization...

You can also address that using the method that qmail uses: create tmp file in another directory on the same device, finish writing, hard link into your work directory with the inode number as the file name on completion, and unlink from tmp directory.

--MidLifeXis

Replies are listed 'Best First'.
Re^3: Hit tracking optimization...
by cosmicperl (Chaplain) on Jan 25, 2008 at 00:26 UTC
    I like the sound of that, sounds simple and effective, I've done something similar in the past for an SE script. I'll use the flock for now, but if I find problems in the future I'll try this.