[Opensim-dev] OpenSim Comms

MW michaelwri22 at yahoo.co.uk
Mon Dec 29 13:20:47 UTC 2008


I think we should stick with the current system of regions that are running in the same instance of opensim.exe use internal calls. 

John Hopkin <opensim at jfhopkin.karoo.co.uk> wrote: This is probably a dumb question, and it's at best only tangential to
your current discussion, but here goes anyway ...

Would communications between regions hosted on the same region server
(ie one instance of OpenSim.exe using several "Regions" XMLs) still
use HTTP to communicate among themselves, or would they use messaging
entirely within the scope of that one server?

If they used HTTP - and for simplicity and compatibility I can see why
they might - would it not be advantageous to use internal messaging
instead, to (a) reduce the load on the network and (b) increase the
speed and reliability of comms to improve user experience?

Given that multiple regions hosted by a single server are often
adjacent on the grid and hence parent/childing (and also serving
region crossings) frequently, it strikes me that this could make a
significant difference in both those areas.

If this is a silly question, I'll understand - I don't pretend to know
the issues involved here in more than a trivial fashion.

Regards,
John Hopkin

MW wrote:

>I think we should use REST for most of the comms, but am a little bit wary about if it will be the right choice for some of the region to region comms. And if the overhead in lots of http requests/posts will be too much, for messages like ChildAgentUpdate that we should be sending quite often. 
>
>As for making comms a Region module, I'm +1 to that sort of idea. In the past I have from time to time, gone through removing direct references from scene, and region modules to the comms manager and instead routing them through wrapper functions in SceneCommunicationService. So that at some point we could refactor it to remove the current comms manager and make SceneCommunicationService into some sort of region module. 
>
>I know that recently we have started taking the reverse course and removing the wrapper function. Which also has its benefits as there isn't much point in having the wrapper if we keep the comms manager as it is.
>
>
>But anyway to answer your questions, if you have a REST childagentUpdate working and its a improvement on what we have, then I'd say that there shouldn't be any problem with replacing the old method as the way to get it in the quickest.
>
>But I think we really should have some better method to do comms plugin replacement/configuration in the future, weather that is by having it as a region module, or just improving the current system. So if you want to do that now, then I think that would be great.
_______________________________________________
Opensim-dev mailing list
Opensim-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev


       
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20081229/5c26cc5e/attachment-0001.html>


More information about the Opensim-dev mailing list