Hi Goran,<br><br>I installed your changeset (I don&#39;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&#39;t test the async version, because you seemed to suggest that it didn&#39;t improve things for large files.<br>
The other thing I notice is that the seaside upload test doesn&#39;t come back with the file information when it is finished. Is that expected behavior?<br><br>Do you know why your changes aren&#39;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">&lt;<a href="mailto:van.upboy@gmail.com">van.upboy@gmail.com</a>&gt;</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>
&gt; Hello,<br>
&gt;<br>
&gt; I&#39;m using fileUpload (seaside 2.8), which uses a WAFile to store 
the<br>
&gt; contents directly. However, this doesn&#39;t work for (very) large 
files,<br>
&gt; because pharo will run out of memory. Likewise, an anchor like 
this:<br>
&gt;     html anchor<br>
&gt;         document: aWAFile contents<br>
&gt;         mimeType: aWAFile contentType<br>
&gt;         fileName: aWAFile fileName;<br>
&gt;         with: aWAFile fileName.<br>
&gt; won&#39;t work, because I can&#39;t serve the content directly from memory.<br>
&gt;<br>
&gt; I&#39;m new to SmallTalk &amp; Seaside, and I&#39;m wondering how I should 
approach<br>
&gt; 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>