Mohan Sundaram <mohan.tux@...> writes: > > On Thu, Nov 1, 2012 at 1:10 PM, Dhastha <dhasthagheer@...> wrote: > > I configured apache Loadbalancer Using mod_proxy_balancer. > > > > I followed this tutorial > > > > http://www.howtoforge.com/load_balancing_apache_mod_proxy_balancer > > > > I dont know whether apache load balancer can serve 15k concurrent > > moodle users. I will post this issue in moodle forum. > > >From what I've read, there are multiple areas you need to look at. > a) In Linux, the system allows a maximum queue of 100 per port. To > accommodate this, it is recommended that the application/server listen > to multiple ports and IPs. > b) Every TCP connection will take 1KB for a TCP block in memory. > Parsing this table will become slow as number of connections grow. You > will need to fine tune the stack parameters to allow connection blocks > to be dropped fast (FIN time) and a lot others. Enough material on the > web. > c) Apache itself has a hard limit of 256 clients. You will need to > modify MaxClients parameter and maybe > recompile.http://www.mycomputerforum.com/tutorials/Apache_server_limits.html > > I've seen recommendations for building apps using asynchronous web > servers and message queuing apps to beat these limited and go upto > 500K connections. Your application is going to have 15K connections > that will be kept open for the duration of the test. Maybe worthwhile > to either look at building asynchronous apps or throw more hardware at > the problem. >
I find that your post is very insightful on this. Can you give me links to more on scaling to 15K request with apache. I have worked on servers serving greater than 15K request. But those were more complex setup. Not like single server trying to server 15k . It was a farm of servers serving 15k+ request behind a hardware loadbanlancer with tuned kernel and geographically distributed servers split into multiple components. Can you give me article that talk more on those numbers you have said, like, 256 clients and 100 per port. with regards, ashwin _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
