[Ilugc] Is it possible for 15000 student can attend online quiz at the same time?

  • From: mohan.tux@xxxxxxxxx (Mohan Sundaram)
  • Date: Thu, 1 Nov 2012 18:33:37 +0530

On Thu, Nov 1, 2012 at 1:10 PM, Dhastha <dhasthagheer at gmail.com> 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.

-- Mohan Sundaram

Other related posts: