<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Stefan Andersson wrote:
<blockquote cite="mid:BLU134-W1D1F27E818B8DA086B2A4D5C80@phx.gbl"
 type="cite">
  <style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
  </style>The general rule is that asynch stream processing is
desirable, synch read-to-eof and forward is not.<br>
 <br>
All this 'synchrounously read until eof, then write the whole chunk' in
every step along the way is probably causing severe and
unpredictable lag in the system.<br>
 <br>
Things are somewhat complicated by the fact that some constructs (like
the REST handler, I believe) actually returns a string, which is
fucked. It should be up to the handler to decide what content type it
will return, and consequently, how it will be written to the response
stream.<br>
 <br>
Also, if we're going to upload other things than text, then the REST
handler is probably just a StreamHandler, possibly subclassed into an
XmlHandler, AssetHandler, et c perhaps? I know there's a Binary handler
in there somewhere.<br>
 <br>
Once we had good momentum in changing this, then we got sidetracked, as
always. :D<br>
</blockquote>
;-) i'm willing to try and at least get rid of IStreamedHandler (as it
sounds that was the intention then) --- quite agree with the streaming
process comments.<br>
<br>
    cheers,<br>
    dr scofield<br>
<pre class="moz-signature" cols="80">-- 
dr dirk husemann ---- virtual worlds research ---- ibm zurich research lab
SL: dr scofield ---- <a class="moz-txt-link-abbreviated" href="mailto:drscofield@xyzzyxyzzy.net">drscofield@xyzzyxyzzy.net</a> ---- <a class="moz-txt-link-freetext" href="http://xyzzyxyzzy.net/">http://xyzzyxyzzy.net/</a>
RL: <a class="moz-txt-link-abbreviated" href="mailto:hud@zurich.ibm.com">hud@zurich.ibm.com</a> - +41 44 724 8573 - <a class="moz-txt-link-freetext" href="http://www.zurich.ibm.com/~hud/">http://www.zurich.ibm.com/~hud/</a>
</pre>
</body>
</html>