Forum LAMS for Tech-Heads - General Forum: Re: Re: Scaling LAMS to handle over 2000 concurrent users


 
Search: 

3: Re: Re: Scaling LAMS to handle over 2000 concurrent users
In response to 2 07/19/14 04:17 PM
[ Reply | Forward ]
Hi Haroon,

Since I posted this original message, I've been doing a fair bit of clustering and learned a few good lessons.

First I've been favouring HAproxy as a load balancer. Is very very fast, gives a lot of flexibility to configure thing and also you can simple set up HAProxy clustering if you set up scales a lot more.

Additionally, for all the static content (.css, .js, .png, .jpg, etc) I set up a Varnish cache server.

This makes LAMS super snappy fast and the JBoss nodes only have to serve the dynamic content, which brings better performance.

As for your questions, yes, you'll need to increase the number of nodes. How many? Well, it depends on how LAMS is being used. There are some educational activities that are a lot more CPU demanding than others. So you'll need to test according to your load and expand the nodes as you find bottle necks.

Thanks

Ernie

Posted by Ernie Ghiglione

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum