[imp] Attachments with a load-balanced web cluster

Jon Parise jon@csh.rit.edu
Thu, 10 May 2001 12:14:57 -0400


On Thu, May 10, 2001 at 05:10:39PM +0100, Matt Flaherty wrote:

> We're already using an NFS mount for another application, so that's okay.
> The load balancer does allow sticky connections; however, I'd rather that
> the physical layout of the site were transparent to the client session. So
> the question is, is the output from the PHP temporary file generation
> functions unique when generated from different systems? If they use the time
> and the process id, it might not be.
 
The temporary filename is based on the the system's mkstemp()
function.  It will depend on your systems implementation.

I don't believe any systems generate temporary filenames based on
the filesystem, because it generates the temporary filename
before it touches the disk.

-- 
Jon Parise (jon@csh.rit.edu)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member