Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Beating the system

by dws (Chancellor)
on Sep 29, 2002 at 17:26 UTC ( [id://201572]=note: print w/replies, xml ) Need Help??


in reply to Beating the system

My host (pair Networks) imposes the following limits on CGI resource usage: ...

I'm also at pair.com, and regularly upload files much larger than 35K. In comparing my upload script with yours, the only significant difference I see is that my read loop looks like

while ( <$fh> ) { print OUTPUT $_; }
instead of
while ( read( $fh, $buffer, BUFFER_SIZE ) ) { print OUTPUT $buffer; }
Should that make a difference? At first glance, I don't see why it should. I might be on a box that's configured differently than the one you're one, or the box might be more lightly loaded.

Replies are listed 'Best First'.
Re^2: Beating the system
by Aristotle (Chancellor) on Sep 29, 2002 at 18:24 UTC
    It does make a difference, but not a significant one: the read version is more efficient..

    Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://201572]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-26 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found