apache - subdomains are slower?

Posted by matthewsteiner on Server Fault See other posts from Server Fault or by matthewsteiner
Published on 2010-05-16T23:08:21Z Indexed on 2010/05/16 23:20 UTC
Read the original article Hit count: 254

Filed under:
|

Using apache benchmark, I ran the exact same php application at my root domain and a subdomain. Even with multiple tests and high request numbers, the requests per second perform extremely differently. I mean something like this:

example.com - 1200 requests per second bench.example.com - 50 requests per second

What could be affecting this? These aren't using databases or anything, just mainly getting a simple page displaying. But it's the same app for both of them, and I'm wondering why they perform so differently.

Ideas?

© Server Fault or respective owner

Related posts about apache

Related posts about subdomain