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


 
Search: 

2: Re: Scaling LAMS to handle over 2000 concurrent users
In response to 1 07/17/14 12:13 AM
[ Reply | Forward ]
Hi,

Thank you so much for a detailed explanation for this.

I wanted to know, if I were to increase the limit to 3000 concurrent users, which part of the hardware/servers would I be increasing?
Would it simply mean I include more app servers in the cluster to handle the 3000+ load? Will that setup use the same single Apache load balancer?

Thanks!

Posted by Haroon Shoukat

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