[Clipart] upload.cgi

Jonadab the Unsightly One jonadab at bright.net
Tue Oct 26 07:06:45 PDT 2004


Nicu Buculei <nicu at apsro.com> writes:

> Jonadab the Unsightly One wrote:
>> Also, someone needs to test it with a larger archive
> - http://www.openclipart.org/downloads/flags-1.6.tgz

Yeah, that ought to be big enough to give it a real workout...

[So I do some testing here locally on my home workstation...]

Well, memory usage seems within reasonable bounds; it does not begin
to approach the kind of memory footprint desktop apps can consume.

However, the amount of time required to process an archive that large
is long enough that a remote user very likely would think the site was
not responding and give up or, worse, try again while the first one is
still running.

Probably what it should do, for files past a certain size, is fork off
the actual processing and send the user a magic URI that can be used
later to check the status.  I'll have to do some testing here to see
how big an upload needs to be to trigger that behavior...

-- 
$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}}
split//,"ten.thgirb\@badanoj$/ --";$\=$ ;-> ();print$/




More information about the clipart mailing list