apache - subdomains are slower?
- by matthewsteiner
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?