[Opensim-dev] FYI: HTTP pipelining in Sigularity
Nicky Perian
nickyperian at gmail.com
Thu Nov 13 19:01:50 UTC 2014
Hi , I have some interest in how this works.
I have a version of Kokua that is maintained closely to the Second Life
viewer. This viewer has good performance on 3rd Rock Grid, Great Canadian
Grid, jOpenSimWorlds, and OsGrid up until it went down. On other grids and
git master the grid inventory downloads but the user (My Inventory) does
not.
Is it possible that the Keepalive variable is true on the good grids and
false on the others? If so, how is Keepalive set for http inventory? It
appears its true/false state is set in code. I have a local git master and
can compile it for testing this theory. Which bool Keepalive do I need to
set?
Thanks,
Nicky
P.S. Once logged to one of the good grids I can HG tp to any grid that
allows it and everything is normal.
On Sun, Oct 26, 2014 at 1:26 AM, Teravus Ovares <teravus at gmail.com> wrote:
> Hi there,
>
> Last I checked, OpenSim supports sharing a single processing thread
> amongst multiple connections. I know there's a KeepAlive which can be
> enabled by Setting the KeepAlive property to true in the response in the
> HTTP Stack. While digging through HTTPServer, it did have a request parser
> reset function call that was used when keepalive was being set and it
> seemed to work when I tried it previously. It might be worthwhile to give
> it a shot.
>
> A cursory Search on GitHub looks very promising:
> https://github.com/nebadon2025/opensimulator/search?utf8=%E2%9C%93&q=Keepalive
>
> One thing to note, "Currently OpenSim does not support http pipelining
> (and doesn't return Keep-Alive). However, returning Keep-Alive only means
> that the same connection can be re-used after the previous one finished and
> is not a guarantee for http pipelining." - From the github search, It
> seems like OpenSimulator does return keepalive on a case by case basis...
> which indicates that really what the heuristics should decide is does the
> individual CAP support keepalive.
>
> When working with WebSockets I also created a method in the HttpServer
> Library to take control over the stream. Worst comes to worst, that
> method could be used to manhandle the stream into supporting Keepalive.
>
> Thanks and Best Regards
>
> Ter
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at opensimulator.org
> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20141113/d6560e2b/attachment.html>
More information about the Opensim-dev
mailing list