[Opensim-dev] HttpServer overview & RFC

Stefan Andersson stefan at tribalmedia.se
Thu May 29 14:04:35 UTC 2008


Yeah, of course you're right. *doh*Best regards,Stefan AnderssonTribal Media AB Join the 3d web revolution : http://tribalnet.se/ 



> Date: Thu, 29 May 2008 09:55:00 -0400> From: sean at dague.net> To: opensim-dev at lists.berlios.de> Subject: Re: [Opensim-dev] HttpServer overview & RFC> > On Thu, May 29, 2008 at 11:16:32AM +0200, Stefan Andersson wrote:> > To me it sounds like 'Handled' is the flush-and-end helper function to 'Detached'?> > 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.> > > > 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.> > > > If we had some declarative way of stating 'this handler has the> > potential to be long running' meaning it will get a new thread> > allocated, that would probably be a good idea.> > Honestly, the thread approach is probably completely wrong for the long> poll. Ideally we'd do this in a select loop manner that lets us have a> single execution thread manage all the open sockets, and can dispatch> into work queues. It would let us handle high load situations a lot> better.> > -Sean> > -- > __________________________________________________________________> > Sean Dague Mid-Hudson Valley> sean at dague dot net Linux Users Group> http://dague.net http://mhvlug.org> > There is no silver bullet. Plus, werewolves make better neighbors> than zombies, and they tend to keep the vampire population down.> __________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080529/bc42260c/attachment-0001.html>


More information about the Opensim-dev mailing list