[Opensim-dev] Update for group module & flotsam
Michelle Argus
argus at archimuh.de
Wed Oct 3 16:00:23 UTC 2012
Hi
I have added some changes to the group module of OpenSim and the
flotsam server.
The changes are:
- added agents online status to flotsam
- added agents last login data to flotsam
- displaying the online/last login data in the groupmembers list viewerside
- added optional filter to get a memberlist of online members only
instead of allways receiving all groupmembers
- send groupchat IMs only to online members.
The changes can be found in the 2 gits here: https://github.com/MAReantals
The main issue we had is, that especialy on events the groupmodule
always needed to be deactivated to prevent massive lag mainly due to
groupchat in the larger groups. Sofar the chat would try to send an IM
to each member no matter if they are online or not. With the proposed
changes messages are only sent to online members and as a bonus
sideeffect the Last Login data is shown behind each groupmember listed
inworld.
We did also experiment with other aproach without success. Instead of
modifying flotsam, we filtered out all offline members directly in the
GroupMessagingModule. This aproach also failed and caused even more lag
as each groupmember would need to pass the online/offline check with the
gridservices on each IM beeing sent (groupsize +500 members with 30
members actualy beeing online).
Michelle Argus
NB: Both changes to flotsam and opensim are backward compatible and do
not require that both parts are updated. If some simulators are not
updated it can happen that some groupmembers do not receive
groupmessages as their online status is not updated correctly. In a grid
like OSgrid my recomendation would thus be to first update the
simulators and at a later stage flotsam.
More information about the Opensim-dev
mailing list