您好,Matthew Paulson,
我看到您使用的是W3 Total缓存,但您的数据库和对象缓存已设置为磁盘。将对象和数据库缓存到磁盘实际上可能会对性能产生负面影响,尤其是当您的流量太大时。
在我写的一篇关于如何将数据库和对象缓存到磁盘的文章中,您可以阅读更多有关将数据库和对象缓存到磁盘的影响的信息set up W3 Total Cache 插件作者同意我设置中的说明。
要真正看到数据库和对象缓存的好处,需要使用像APC这样的PHP操作码缓存。您可以按照插件FAQ中的复制和粘贴说明编译和设置APC。如果您使用的是Ubuntu或Debian,只需运行以下命令:apt get apc-php5 to install。
就像其他人也提到的那样,通过使用Nginx设置反向代理,您将获得巨大的性能提升,并使您的站点能够扩展得更大。
我在我的 WordPress Performance Stack. 文章
您还应该阅读此处的其他一些问题和答案。已经给出了许多良好的性能和扩展建议。
祝你好运。管理自己的服务器有时会非常有压力。
Edit
为了展示将Nginx安装为反向代理可以获得的性能,我发布了一个刚刚在服务器上运行的Apache基准测试:
x-wing ~: ab -n 1000 -c 80 http://wp-performance.com/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking wp-performance.com (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: nginx/0.8.54
Server Hostname: wp-performance.com
Server Port: 80
Document Path: /
Document Length: 3132 bytes
Concurrency Level: 80
Time taken for tests: 0.066 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 3605000 bytes
HTML transferred: 3132000 bytes
Requests per second: 15164.15 [#/sec] (mean)
Time per request: 5.276 [ms] (mean)
Time per request: 0.066 [ms] (mean, across all concurrent requests)
Transfer rate: 53385.52 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 2 0.6 1 3
Processing: 1 4 0.8 4 5
Waiting: 1 3 0.8 3 5
Total: 3 5 0.6 5 7
Percentage of the requests served within a certain time (ms)
50% 5
66% 5
75% 6
80% 6
90% 6
95% 6
98% 6
99% 6
100% 7 (longest request)
理论上,它每秒可以处理15000多个请求。(同一网络)