J.Gao at sydney
Jan 3, 2013, 3:16 PM
Post #2 of 2
I think we already know this "secret". :-)
Thanks for another case of affirmation of the greatness of mod_perl!
Thanks to current and past contributors and sponsors as well as Doug MacEachern who started it all... :-)
* Feng He <fenghe [at] nsbeta> wrote:
> Date: Thu, 3 Jan 2013 22:40:35 +0800
> From: Feng He <fenghe [at] nsbeta>
> To: modperl [at] perl
> Subject: the MP gets good performance
> User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0
> I am running an application with MP2, it's running with two webservers
> (with DNS round-robin) and a DB server (mysql). The OS is ubuntu Linux,
> Apache's server version: Apache/2.2.14. Apache handles the requests
> directly, there is no proxy in front.
> Last day one of the server got unique accessing IP 632331, another got
> unique IP 635232, so the application handles total IP 1267563 last day
> (and almost every day).
> All the requests are dynamic, 60% is writing to DB, 40% is reading from
> DB. Eash webserver has about 500 long connections opened to mysql with
> Apache::DBI. Both webservers and DB server have light load. For example,
> the stat for one of the webservers:
> # pstree
> # uptime
> 22:32:58 up 69 days, 23:26, 2 users, load average: 0.08, 0.08, 0.08
> # free -m
> total used free shared buffers cached
> Mem: 16073 7752 8321 0 268 5077
> -/+ buffers/cache: 2406 13666
> Swap: 3813 0 3813
> To post this I may want to say that MP just gets good performance. I
> once wrote the application with other language, not as good as this.