I have an application which is running symfony + wordpress on my development server. The development server is running on the lowest plan at webfaction, which is a shared server that gives me 80MB of RAM.
The site is running apache through mod_fcgid.
The application runs pretty snappy for now on that server.
I ran an ab
benchmark:
ab -n 1000 -c 10 http://devserver/
and got 6.33 request/s, which is not the greatest, but the site does seem to be fast enough.
I moved the site to a staging server, which is a VPS with the following specs:
> sysctl hw.physmem
3212058624
> sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu'
hw.machine: i386
hw.model: Intel(R) Xeon(TM) CPU 3.20GHz
hw.ncpu: 2
hw.machine_arch: i386
So it seems like a pretty beefy machine. I'm running apache+mod_php, basically out of the box. Sometimes there is a noticeable difference in speed. Sometimes there is incredibly noticeable difference in speed.
I tried the same ab benchmark, and it only got to 20 before it decided that was too much.
Every once in a while, the speed is acceptable, but then I go back to the dev server, and I'm reminded how fast it can run.
Any reason why the app would be running so much slower on a superior box?