Hi all,
We've been working on a website recently. We found its performance is quite bad. Because of an urgent schedule, could anyone please suggest for us a way to solve the problem. Thanks a lot.
The website uses an AWS EC2 small instance, S3, and RDS.
We used http_load to test the performance of it and the result was less than 1 fetch/sec. (In fact, just around 0.3 fetch/sec). We disabled all modules, and then it came to around 4 fetches/sec. This is still quite bad when the other sites can easily reach 70 fetches/sec or more.
We know there are some EC2+Drupal images to use, but we have been working on this website for weeks, and there is not time left for us to restart from a fresh image.
We also built a fresh instance to see if the problem is due to our system configuration.
1. EC2 image: ami-e742a98e rightscale
2. OS: CentOS release 5.4 (Final)
3. MySQL version: mysql-server-5.0.77-4.el5_4.2
4. Apache version: httpd-2.2.3-31.el5.centos.4 php-5.2.4-el5.centos
5. Drupal: 6.19 and create a simple node (http://174.129.141.96/?q=node/1) for test.
6. Without any other adjustment.
With the fresh instance/apache/mysql, it can only reach 4 requests/sec, too. This is quite weird.
Could anyone suggest how to cope with this issue? Thanks.
[root@test test]# http_load -r 10 -s 10 ./testurl
36 fetches, 64 max parallel, 152352 bytes, in 10.0013 seconds