Hi Justin, thank you for the answer.<br><br>I followed one of your advices and added 5 seconds pauses in the three functions of my ugaim.<br><br>The results are what I supossed, now the avie goes beyond middle region and returns to the entering point when the region server receives the answer to "update agent region".<br>
<br>I'll test my system looking for table locks or something like that, but my first thinking is that the region server calls aren't completely asynchronous.<br><br>Greetings<br><br><br><div class="gmail_quote">2009/1/25 Justin Clark-Casey <span dir="ltr"><<a href="mailto:jjustincc@googlemail.com">jjustincc@googlemail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Impalah wrote:<br>
> Hi everyone:<br>
><br>
> I'm developing (or trying to...) an UGAIM system over a LAMP (or WAMP)<br>
> system and I have some questions about the requests sent from region<br>
> servers to UGAIM (user and inventory servers). I'm using the "stable"<br>
> 0.6 version of opensim.<br>
><br>
> When crossing a region I have detected three requests:<br>
> * Get avatar appearance<br>
> * Get avatar inventory<br>
> * Update region into agent data<br>
><br>
> These three requests make the avatar to "shiver" when entering a new<br>
> region if the response is not fast enough (or even make the avatar move<br>
> some meters while waiting the response, and then return to the point it<br>
> entered).<br>
><br>
> I'm able to understand the 1st and the 3rd, well, maybe I have some<br>
> doubts about the 1st... but the second (request FULL inventory) I think<br>
> is what "lags" the region entering.<br>
><br>
> Actually (version 0.6 remember) when requesting an inventory is the FULL<br>
> inventory. For testing, maybe no problem, but if I have 100 folders an<br>
> 1000 items... the initial 6kbyte inventory grows to something like 100k,<br>
> and the lag make my avie to walk till the middle of the region and then<br>
> return back...<br>
><br>
> My question: is really necessary to get the full inventory when crossing<br>
> regions?<br>
<br>
</div>The code to request the entire agent's inventory information (though not assets, of course) from the inventory service<br>
has been in place for quite a long time (at least a year).<br>
<br>
It does make things simpler from a coding perspective and may actually be better in making inventory more responsive to<br>
the user (an inventory request only happens once, not on every request from the client, which means latency only needs<br>
to be suffered once and the inventory server doesn't have to respond to lots of tiny requests.  I shouldn't think that<br>
the amount of data being delivered, even for an inventory with 1000s of objects, is all that large - certainly no larger<br>
than a single detailed texture).  That's not to say that this implementation won't change in the future.<br>
<br>
In theory, this latency should not cause any problems on region crossing since it is carried out asynchronously.  So any<br>
region crossing lag you are experiencing should be down to other issues.  I'd be interested to see any detailed evidence<br>
that this is not the case (probably the most controlled way would be to introduce artificial pauses for inventory<br>
responses and see what happens - anecdotal evidence is not good enough).<br>
<div class="Ih2E3d"><br>
><br>
> And the secondary question: Is there any implemented or at least a<br>
> semi-implemented method to deliver only parts of the inventory ("a la SL<br>
> style")?<br>
<br>
</div>No<br>
<div class="Ih2E3d"><br>
><br>
> Greetings<br>
><br>
> Impalah "Sea of doubts" Shenshou<br>
><br>
><br>
</div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Opensim-dev mailing list<br>
> <a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
> <a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
<font color="#888888"><br>
<br>
--<br>
justincc<br>
Justin Clark-Casey<br>
<a href="http://justincc.wordpress.com" target="_blank">http://justincc.wordpress.com</a><br>
_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
</font></blockquote></div><br>