Mirroring a Moodle site?

Mirroring a Moodle site?

Paul Murphy - келді
Number of replies: 4

any advice on how easy it is to mirror a moodle site?

I want to have 1 in HK , 1 in china, 1 in  USA 1 in europe, etc.

too slow for all locations to access 1 site.

but if i want all sites to share same data? possible?

does it need bckend expensive bi-directional data replication ?

or?

Paul Murphy

www.languagekey.com.cn

In reply to Paul Murphy

Re: Mirroring a Moodle site?

Pam Blasius - келді

Any advice on how to mirror a Moodle site in China?  Our China employees and customers indicate the speed is too slow to display our US hosted courses.  Our courses are SCORM, flash based with quizzes built into the course (not separate Moodle quizzes).

Is it possible to mirror the site but use the same user database for the US hosted site (hosted by a Moodle partner) so that authentication and reporting is all handled in one place.

Any advice will be appreciated.

In reply to Pam Blasius

Re: Mirroring a Moodle site?

Howard Miller - келді
Core developers қатысушының суреті Documentation writers қатысушының суреті Particularly helpful Moodlers қатысушының суреті Peer reviewers қатысушының суреті Plugin developers қатысушының суреті

Having discussed this at length... you will keep coming back to the same problem. The connection between China and the rest of the world is very poor. The same situation that is preventing users from accessing Moodle will also stop you from mirroring it. 

There's slightly more to it, but that's the headline. 

In reply to Paul Murphy

Re: Mirroring a Moodle site?

Usman Asar - келді
Plugin developers қатысушының суреті Testers қатысушының суреті
Paul, it will be much easier to implement and manage one server location rather than mirroring, where are your current servers located? If you are serving content to corners then I would have chosen a geographically central location with 10Gbps network speeds.

Bi-directional replication is not hard to setup for database (even is free), for web servers, I am afraid I dont have any experience with Linux, but can give a bit more support on Windows based platforms as Hardware based Load Balancer can be set up to route clients coming from specific regions to particular servers. how easy/hard it is to setup in Linux (my hands are tight), but for Windows platforms ARR (Application Request Router) comes as free option and can as well be setup to route traffic geographically.

and so same does applies for Pam as well, If I would have been you, keeping database on a Amazon Cloud and rest setting up 2 physical locations, where load balancer are set to router traffic.
In reply to Paul Murphy

Re: Mirroring a Moodle site?

Jeff White - келді

Maybe look into a Geo clustered LAMP? Keep Moodledata and Moodle folder in sync using bittorrent sync? I say bittorrent as how stupid easy it is to use and goes around firewalls so well.  I think you would need to still allow some kind of central folder for the cachedir and probably have master/master relationship with the database.

http://blog.bittorrent.com/2013/09/10/sync-hacks-how-to-use-bittorrent-sync-as-geo-replication-for-storage/