5 ms·
I've been called a few times to troubleshoot slow PHP websites only to discover they were using Symfony and could not sustain 5req/sec on fairly beefy hardware.
by gtirloni 11y ago
I've been called a few times to troubleshoot slow PHP websites only to discover they were using Symfony and could not sustain 5req/sec on fairly beefy hardware. All kinds of PHP optimizations couldn't make it run much faster (which complicated the infrastructure a lot later on). The last time was 1 year ago so unless something impressive happened since then, I would suggest against it.
- giaour 11y agoSomething impressive must have happened, as the symphony projects I've worked on recently have been able to support far more load than what you're describing on ec2 micro instances.
- Gigablah 11y agoThat tends to happen if you use all the bells and whistles that come with the standard framework boilerplate, like annotations and the Doctrine ORM. Sometimes Silex is all you need.
- ohashi 11y agoDid you actually diagnose what was causing it to be slow? Something like NewRelic might help break down where the actual slowdown is versus saying it was the framework.