(11-15-2014, 08:40 PM)no1youknowz Wrote: (11-15-2014, 07:15 PM)alroker Wrote: Someone already touched on this, but if speed and performance is your only concern, then you can't get faster than just native PHP! Someone else also hit on the fact that it's not the framework speed you need to worry about, but the hardware you run it on. Hardware is constantly getting cheaper. I have fixed a few slow, overloading sites just by moving them to new hardware - far cheaper than recoding or porting!
If you want speed, then in some cases PHP has limits. I've hit them and needed to surpass them. HHVM all the way, it leaves PHP into the dust.
Hardware is getting cheaper. But then you are completely forgetting about support. What if you have 5, 10 or 20 servers? Will you be supporting them? Are you available 24/7? Will you be supporting the firewalls, loadbalancers, switches? I doubt it, you'll probably be wanting managed support which then costs an arm and a leg.
Design the infrastructure and software around the problem you are trying to solve. Are you getting a million requests now? Are you paying up front for PPC/Adwords? Will you just be relying on SEO, if thats the case then you will either have to do it on your own or pay someone big bucks for it and it takes time and effort to rise up the rankings.
Just developing software is one part of the picture. There is so much more to know when delivering sites when you need millions of clicks. I know, I've gone through the pain!
Have you tried HHVM? I've stayed clear because of the bad things I've heard and read about it. I don't think that's the answer. I agree good software and coding comes before hardware. That is you don't just create slow, bloated and inefficient software and mask it by chucking better hardware at it. That's not what the discussion is about. It's about whether Phalcon will handle a million hits better than CI. And while it will, there's not going to be a massive difference, and if he's worried about that, then what will make the difference is hardware. As a site grows and gets busier, you need to upgrade and add hardware any way, and then there's the question of swapping hardware out as it gets old, which invariably means replacing it with more modern better stuff. So the growth of the site and the acquisition of hardware pretty much run in parallel. It doesn't make a whole world of difference in that context if your application is built on top of CodeIgniter, Phalcon or HHVM. All three of them are massively slower than plain old C, which if speed really is the issue, is what you should have used in the first place.