<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Yeah, of course you're right. *doh*<BR><BR>Best regards,<BR>Stefan Andersson<BR>Tribal Media AB<BR> <BR>Join the 3d web revolution : <A href="http://tribalnet.se/" target=_blank>http://tribalnet.se/</A><BR> <BR><BR><BR><BR>
<HR id=stopSpelling>
<BR>
> Date: Thu, 29 May 2008 09:55:00 -0400<BR>> From: sean@dague.net<BR>> To: opensim-dev@lists.berlios.de<BR>> Subject: Re: [Opensim-dev] HttpServer overview & RFC<BR>> <BR>> On Thu, May 29, 2008 at 11:16:32AM +0200, Stefan Andersson wrote:<BR>> > To me it sounds like 'Handled' is the flush-and-end helper function to 'Detached'?<BR>> > I guess the best example is the "long poll" of the LL http polling queue, where every request is specified to be 'held' for a time interval, so that the server can add events over a time.<BR>> > <BR>> > And, on that note : one of the problems we see and will see even more, is that http requests that are taken from the thread pool helps to exhaust the pool.<BR>> > <BR>> > If we had some declarative way of stating 'this handler has the<BR>> > potential to be long running' meaning it will get a new thread<BR>> > allocated, that would probably be a good idea.<BR>> <BR>> Honestly, the thread approach is probably completely wrong for the long<BR>> poll. Ideally we'd do this in a select loop manner that lets us have a<BR>> single execution thread manage all the open sockets, and can dispatch<BR>> into work queues. It would let us handle high load situations a lot<BR>> better.<BR>> <BR>> -Sean<BR>> <BR>> -- <BR>> __________________________________________________________________<BR>> <BR>> Sean Dague Mid-Hudson Valley<BR>> sean at dague dot net Linux Users Group<BR>> http://dague.net http://mhvlug.org<BR>> <BR>> There is no silver bullet. Plus, werewolves make better neighbors<BR>> than zombies, and they tend to keep the vampire population down.<BR>> __________________________________________________________________<BR><BR></body>
</html>