Hi Michelle. Unfortunately, I haven't had time to think about this thoroughly yet but I appreciate why you're taking
this approach. Querying GridUser service for online status of every single member of a group is an unscaleable
overhead. I'm not yet convinced about caching this information in the Groups service but this is mainly because I lack
thinking time more than anything else. I hope to be able to do some of that come Friday.
Best,
Justin
On 03/10/12 17:00, Michelle Argus wrote:
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.
_______________________________________________
Opensim-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-dev
--
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc
_______________________________________________
Opensim-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-dev