MongoDB for Moodle

1,419 views
Skip to first unread message

Paul L

unread,
Feb 13, 2014, 2:44:57 PM2/13/14
to mongod...@googlegroups.com
Moodle is an open source learning management system that is starting to support MongoDB integration.
 
I have been unable to determine why some people recommend mongodb as part of moodle's caching system, let alone determine how to configure it properly, moodle's own documentation recommends it but with few details http://docs.moodle.org/24/en/Caching
 
Can anyone explain why mongodb would increase performance when used with moodle's caching mechinisms?
 
Can anyone provide confirguration details when using mongodb with moodle, I have yet to see any published recommendations?
 
My moodle installation is on Windows 2008/mysql/iis on a SAN with shared server resources.

Jeremy Mikola

unread,
Feb 13, 2014, 4:59:38 PM2/13/14
to mongod...@googlegroups.com


On Thursday, February 13, 2014 2:44:57 PM UTC-5, Paul L wrote:
Moodle is an open source learning management system that is starting to support MongoDB integration.
 
I have been unable to determine why some people recommend mongodb as part of moodle's caching system, let alone determine how to configure it properly, moodle's own documentation recommends it but with few details http://docs.moodle.org/24/en/Caching
 
Can anyone explain why mongodb would increase performance when used with moodle's caching mechinisms?

From what I can find, MongoDB is simply one of several backend options for Moodle's cache functionality. In addition to the docs link you cited above, I found some discussion around MUC on their forum here, as well as a blog post where Moodle was benchmarked with caching (not the MongoDB backend specifically).

An explanation for the benefit of using MongoDB or memcache as a cache backend is found in http://docs.moodle.org/24/en/Caching:

For larger Moodle sites with multiple servers, administrators may wish to use memcached, mongodb or other systems to store cache data.

The other cache backends utilize either PHP, sessions, or static files, which ties the caching to a single server. By using MongoDB or memcache as a backend, multiple web servers can share a single cache.
 
Can anyone provide confirguration details when using mongodb with moodle, I have yet to see any published recommendations?

I found the MongoDB cache implementation in cache/stores/mongodb/lib.php, but did not find any documentation specific to MongoDB configurations. The impression I got from the Caching documentation was that this may be handled by a GUI interface after install Moodle.
Reply all
Reply to author
Forward
0 new messages