Anybody using a load balancer?

Anybody using a load balancer?

by Howard Miller -
Number of replies: 7
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

We're considering updating our load balancing for our Moodle cluster. As is the custom, I would appreciate any recommendations, experiences or simply tell me what you use?

TIA!

Average of ratings: -
In reply to Howard Miller

Re: Anybody using a load balancer?

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
The OU uses the same load-balancers for everything. I don't know if they are any good, or worth what we pay for them (that's a Somebody Else's Problem) but from where I sit they seem to work. We use Citrix Netscalers, running on VMs.
Average of ratings: Useful (1)
In reply to Howard Miller

Re: Anybody using a load balancer?

by Michael Aherne -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
We use haproxy, but as far as I know it's more for familiarity (and price) than any notion that it's the best thing for the job. That said, we've never had any real problems with it, and performance issues are always somewhere else.
Average of ratings: Useful (2)
In reply to Michael Aherne

Re: Anybody using a load balancer?

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I've used haproxy before just for testing and had a couple of issues.

Did you find anything more sophisticated than the 'round robin' style allocation? It would be nice to actually load-balance the web servers and we do occasionally have front ends 'going rogue'.

I had to set the timeout massively high (making it effectively pointless) so that long running Moodle tasks didn't get binned.
In reply to Howard Miller

Re: Anybody using a load balancer?

by Michael Aherne -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I haven't had much to do with configuring it, to be honest, but I think we're using the round robin style. We had it doing sticky sessions for a while but I never saw the point of that and it caused us some issues.
In reply to Howard Miller

Re: Anybody using a load balancer?

by Jeff White -
Our organization uses F5s. Probably overkill for a single Moodle instance but definitely worth using if your organization already has it.
In reply to Jeff White

Re: Anybody using a load balancer?

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
We use F5s elsewhere... any insights into your setup would be really useful (if you can).
In reply to Howard Miller

Re: Anybody using a load balancer?

by Jeff White -
We are moving to a smarter set up but currently we have our F5s checking to see if the nodes are up by doing a curl of a html page and doing round robin with the nodes in the cluster.