Hi Goran,<br><br>I installed your changeset (I don't quite know what you changed, but it seems to work).<br><br>These are the times on Windows Vista for some files:<br><br>Time: 0.053 Size: 211.414 MB/s: 3.804152866579452<br>
Time: 8.257 Size: 17.342.200 MB/s: 2.003004811672577<br>Time: 220.436 Size: 253.131.539 MB/s: 1.095125330783933<br><br>The larger the file, the slower it gets. I would expect it the other way round.<br>I didn't test the async version, because you seemed to suggest that it didn't improve things for large files.<br>
The other thing I notice is that the seaside upload test doesn't come back with the file information when it is finished. Is that expected behavior?<br><br>Do you know why your changes aren't incorporated into pharo? To me it seems a wise tactic to use memory as buffering, instead of trying to store it all in memory.<br>
<br>Regards,<br>Van.<br><br><br><div class="gmail_quote">2010/3/24 Van Upboy <span dir="ltr"><<a href="mailto:van.upboy@gmail.com">van.upboy@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Goran,<br><br>Thanks for the tip, I certainly will try it.<br><br>Van.<br>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>Hi!<div><div></div><div class="h5"><br>
<br>
Van Upboy wrote:<br>
> Hello,<br>
><br>
> I'm using fileUpload (seaside 2.8), which uses a WAFile to store
the<br>
> contents directly. However, this doesn't work for (very) large
files,<br>
> because pharo will run out of memory. Likewise, an anchor like
this:<br>
> html anchor<br>
> document: aWAFile contents<br>
> mimeType: aWAFile contentType<br>
> fileName: aWAFile fileName;<br>
> with: aWAFile fileName.<br>
> won't work, because I can't serve the content directly from memory.<br>
><br>
> I'm new to SmallTalk & Seaside, and I'm wondering how I should
approach<br>
> this problem?<br>
<br></div></div>
I posted a changeset a long while back that adds streaming upload<br>
directly to disk:<br>
<br>
<a href="http://lists.squeakfoundation.org/pipermail/seaside/2008-August/018509.html" target="_blank">http://lists.squeakfoundation.org/pipermail/seaside/2008-August/018509.html</a><br>
<br>
...it was a while since I played with that, not sure what status we have<br>
today regarding Seaside and SocketStream in your particular image.<br>
<br>
regards, Göran<br><br><div style="display: inline;"></div>
</blockquote></div><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>