[Seaside] Re: Re: [squeak-dev] [Q] File Upload/Download Server, Comanche or Swazoo

Philippe Marschall philippe.marschall at gmail.com
Wed Jul 23 15:41:05 UTC 2008


2008/7/23 Janko Mivšek <janko.mivsek at eranova.si>:
>
> Philippe Marschall wrote:
>
>> 10 GB is massive. There are whole lot of 32bit integers that can
>> overflow and a lot of other things that can go wrong at any stage
>> including the browser and Apache.
>>
>>> My current idea is that I should create module(?) for Comanche or Swazoo
>>> for File
>>> Upload (this just process multipart/form request for file upload with
>>> additional
>>> parameters) and small web application or module for processing download
>>> url.(This
>>> might be possible with Seaside with RESTable URL support or simple
>>> module).
>>
>> I only tried the upload streaming for Kom on localhost. While it could
>> handle largish files (40 MB) it wasn't able to get close to 400 MB. So
>> Kom might not be your tool. I have not seen an upload streaming API
>> for Swazoo (which doesn't mean it's not there). Squeak might not be
>> the best tool for the job where. HTTP might not be as well.
>
> Swazoo 2.x has streaming upload and download capability and can easily
> handle such big files. I tested with few GB by myself. On both Squeak and
> VW.
>
> Maybe it is a time to add that streaming to your Swazoo adaptor too? See
> http://www.swazoo.org/streaming.html for more. See also HTTPRequestTest with
> examples, how to use it (testing-posts).

That assumes you already know the names of the fields containing files
which I don't. I can only see #postDataKeys and #postKeysAndValuesDo:
which seem to read the full request. I also couldn't find a test (or
sender) for #postDataAt:beforeStreamingDo:.

Cheers
Philippe


More information about the seaside mailing list