[Opensim-dev] IStreamHandler vs IStreamedHandler
Dr Scofield
DrScofield at xyzzyxyzzy.net
Fri May 16 10:02:26 UTC 2008
Stefan Andersson wrote:
> The general rule is that asynch stream processing is desirable, synch
> read-to-eof and forward is not.
>
> 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.
>
> 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.
>
> 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.
>
> Once we had good momentum in changing this, then we got sidetracked,
> as always. :D
;-) 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.
cheers,
dr scofield
--
dr dirk husemann ---- virtual worlds research ---- ibm zurich research lab
SL: dr scofield ---- drscofield at xyzzyxyzzy.net ---- http://xyzzyxyzzy.net/
RL: hud at zurich.ibm.com - +41 44 724 8573 - http://www.zurich.ibm.com/~hud/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080516/8019d797/attachment-0001.html>
More information about the Opensim-dev
mailing list