perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Feng He <>
Subject the MP gets good performance
Date Thu, 03 Jan 2013 14:40:35 GMT

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.


View raw message