Re: [Server-devel] [Sugar-devel] Reasonable number of users sharing an activity instance?
Am 06.04.2011 um 12:28 schrieb James Cameron : > On Wed, Apr 06, 2011 at 11:35:49AM +0200, Christoph Derndorfer wrote: >> I seem to remember some discussions about an activity or its metadata >> specifying for how many users its made for (e.g. two users for >> certain >> activities and games). Additional users would then be able to observe >> the collaborative mode in some sort of "view only" mode. >> Unfortunately >> I now can't seem to find the appropriate e-mail threads on the >> lists... > > Perhaps you recall this meme: > > class MyActivity(Activity): >def __init__(self, handle): >Activity.__init__(self, handle) >self.max_participants = 1 > > However, I cannot see any code in sugar-toolkit that uses the > max_participants property for anything other than deciding whether to > show the share-with widget. Hi James, yes, thanks, that field and the lack of code actually doing much with it was definitely a part of those discussions I'm thinking about. Christoph ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] [Sugar-devel] Reasonable number of users sharing an activity instance?
On Wed, Apr 06, 2011 at 11:35:49AM +0200, Christoph Derndorfer wrote: > I seem to remember some discussions about an activity or its metadata > specifying for how many users its made for (e.g. two users for certain > activities and games). Additional users would then be able to observe > the collaborative mode in some sort of "view only" mode. Unfortunately > I now can't seem to find the appropriate e-mail threads on the > lists... Perhaps you recall this meme: class MyActivity(Activity): def __init__(self, handle): Activity.__init__(self, handle) self.max_participants = 1 However, I cannot see any code in sugar-toolkit that uses the max_participants property for anything other than deciding whether to show the share-with widget. -- James Cameron http://quozl.linux.org.au/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] [Sugar-devel] Reasonable number of users sharing an activity instance?
On Wed, Apr 6, 2011 at 8:22 AM, Sridhar Dhanapalan wrote: > Sugar doesn't seem to place any limits, so conceivably there could be > 100 kids trying to access the same instance. I tried a game of > Memorise on XOs in a class last week, and I saw errors such as > children being able to connect to the session but not actually > participate (which basically halted the game when it came to that > child's turn). > > This can be frustrating for the children and the teacher. If we could > manage their expectations, they would be much more receptive. > > Games in other media (board games, console games, etc.) cite a hard > limit on the number of players (e.g. "2-4 players"). Might it be > useful for us to do that in Sugar? This could be implemented as a mere > recommendation or a hard restriction in the code. > Hi Sridhar, I seem to remember some discussions about an activity or its metadata specifying for how many users its made for (e.g. two users for certain activities and games). Additional users would then be able to observe the collaborative mode in some sort of "view only" mode. Unfortunately I now can't seem to find the appropriate e-mail threads on the lists... Cheers, Christoph -- Christoph Derndorfer co-editor, olpcnews url: www.olpcnews.com e-mail: christ...@olpcnews.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Reasonable number of users sharing an activity instance?
On Apr 6, 2011, at 2:22 AM, Sridhar Dhanapalan wrote: > What is a reasonable number of users that one can expect to reliably > share one activity? It depends on wireless network bandwidth more than any other factor. > Does an XS schoolserver make a difference in this > regard? Yes. Using laptops registered to a school server and a single access point, I was able to do simple collaboration between 70 laptops in a clean RF environment. Pushing it past this point tended to result in laptops not being able to register with the school server, particularly if they are all turned on around the same time. See http://wiki.laptop.org/go/Collaboration_Network_Testbed for some testing done with different network and server options a while ago. James' post provides many more details about why you need a school server to reach these numbers, and other reasons why you may hit limits at a lower number. > Sugar doesn't seem to place any limits, so conceivably there could be > 100 kids trying to access the same instance. I tried a game of > Memorise on XOs in a class last week, and I saw errors such as > children being able to connect to the session but not actually > participate (which basically halted the game when it came to that > child's turn). > > This can be frustrating for the children and the teacher. If we could > manage their expectations, they would be much more receptive. > > Games in other media (board games, console games, etc.) cite a hard > limit on the number of players (e.g. "2-4 players"). Might it be > useful for us to do that in Sugar? This could be implemented as a mere > recommendation or a hard restriction in the code. Given that the problems tend to be bandwidth related, this might not help. If not using a server, it is likely to make it worse, as each collaboration will be multicasting. Cheers, wad ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel