[Building Sakai] Slow forum on sites with large participant list - Sakai CLE 2.8

Bryan Holladay holladay at longsight.com
Mon Mar 11 08:34:25 PDT 2013


If you are willing to contribute this work back (since MOOC is a hot
buzzword right now), please do this work properly by enclosing a boolean
check around each synoptic part that is tied to a sakai.property.  I'll
review and help commit the patch to trunk (which also will benefit you a
lot when trying to upgrade).


On Mon, Mar 11, 2013 at 11:30 AM, Bryan Holladay <holladay at longsight.com>wrote:

> You'll prob find other places you'll want to delete as well.  For
> instance, when you delete a forum in processActionDeleteForum you can just
> set beforeChangeHM to null and comment out:
>
> SynopticMsgcntrManagerCover.getUserToNewMessagesForForumMap(getSiteId(),
> forumId, null);
>
>
> There are several places where this type of thing is called.  Just comment
> out all Synoptic related stuff in DiscussionForumTool.java
>
>
> On Mon, Mar 11, 2013 at 11:22 AM, Bryan Holladay <holladay at longsight.com>wrote:
>
>> If you don't use the synoptic tool at all, then this would be a good
>> solution.
>>
>>
>> On Mon, Mar 11, 2013 at 11:09 AM, Curtis Van-Osch <curtis.van-osch at hec.ca
>> > wrote:
>>
>>> **
>>> Hello,
>>>
>>> As some of you may know, we launched a MOOC course here at HEC Montréal
>>> using Sakai CLE 2.8 (see www.EDUlib.hec.ca )<https://edulib.hec.ca/portal>.
>>> Our course sites have around 3000 participants, and this appears to be
>>> causing performance issues with the forum. Posting a new message takes
>>> somewhere between 45 and 60 seconds.
>>>
>>> It appears that the problem is that the system loops through all users
>>> of a site when updating the Synoptic tool information. We don't use the
>>> Synoptic tool within our course and we found that the following code
>>> changes in *org.sakaiproject.tool.messageforums.DiscussionForumTool*resolves our problem:
>>>
>>>    - *incrementSynopticToolInfo()* body is commented so that the
>>>    function doesn't do any processing.
>>>    - *needToUpdateSynopticOnForumSave()* always  return false;
>>>
>>> Do you see any risks if we implement theses changes to our production
>>> environnement?
>>>
>>> Thanks in advance for any information you can provide us.
>>> --
>>>    <http://www.hec.ca>
>>>  Curtis Van Osch
>>> Analyste-Programmeur
>>> Direction des technologies de l'information
>>>   [image: hec.ca] <http://www.hec.ca>   [image: Agréments]
>>> 3000, chemin de la Côte-Sainte-Catherine, Montréal (Québec) H3T 2A7
>>> Téléphone : 514 340-6000, poste 2029
>>>
>>>    [image: recyclez]
>>> Pensons à l'environnement
>>> avant d'imprimer
>>>
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>
>>> TO UNSUBSCRIBE: send email to
>>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>>> "unsubscribe"
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130311/0414c829/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 20493 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130311/0414c829/attachment.jpe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 345 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130311/0414c829/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4883 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130311/0414c829/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 5127 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130311/0414c829/attachment-0002.png 


More information about the sakai-dev mailing list