On Thu, Mar 21, 2002 at 10:54:18AM +1000, Ken Cole wrote: > I have an inherited web app that works like this.
[...] > My question, in my experience NFS is not the quickest program around. > Will it be faster to use say LWP or Net::ftp or similar to put and get > the files in question than writing and reading from the NFS > exported/mounted directory or shouldn't I worry? In general, when you have a question like "which is faster", it's better not to guess and just let the computer tell you. Set up a test, one using NFS and one using LWP, Net::FTP or whatever, and see how long it takes to copy 100 files. Or 1000. Or some large files. Whatever you test, make sure your sample is a large number of representative tests. Look at the numbers, and see which is faster. :-) See the Benchmark module for details. It's a standard part of the Perl distribution, and describes ways to write Perl code to answer these questions. Z. PS: You may want to throw some HTTP transfers between the two boxes into the mix, just for kicks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]