Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter or PhalconPHP ?
#4

If you are running on a shared host or low-end VPS. Then phalcon isn't the framework for you. Actually phalcon really isnt a framework, but that's another discussion. Smile

I don't know what your strategy is but I suggest taking a look at HHVM. You can use existing PHP frameworks and PHP for it. You'll get a boost from how differently it operates to PHP. Go check it out and inform yourself.

Code:
http://hhvm.com/

(11-14-2014, 09:35 AM)Chroma Wrote: Is performance that important?

Will it matter if your page is generated in 90ms or 500ms?

It depends on the application. If you are running an ad server with tens of millions of requests a day. The answer is absolutely yes. Every ms counts. In fact, some ad networks won't let you host your own ad server if your server is not within a certain ms.

(11-14-2014, 09:35 AM)Chroma Wrote: Are you worried about the pages taking 5 seconds to generate? If this is the case, then the framework is probably not your worry. In general a slow website is slow because of the database accesses not the speed of the PHP code.

5 seconds would absolutely matter! Take SEO for example. Someone clicks on the OPs price comparison site and then the user gets bored and clicks back. Google would penalise him as they track people who bail and he would be getting lower rankings.

Actually the framework does matter as well. What if there is some hidden code that is not optimised or displays benchmarks for every request or some other nonsense? In some cases, every function needs to be scrutinsed.

(11-14-2014, 09:35 AM)Chroma Wrote: I would in general, suggest you plan your architecture in detail and make sure that you have optimized your database and Models as in general, that is where the performance hit will come.

Whilst you are right. Indexes, optimising the query and optimising the php-mysql layer will increase performance.

Actually, you can dismiss the database and connectivity in two circumstances.

1) You have a memcacheD layer for READS and using active writing and not lazy writing.
2) You have a mysql cluster which runs the database in (RAM) memory.
Reply


Messages In This Thread
CodeIgniter or PhalconPHP ? - by zaltanklis - 11-14-2014, 08:34 AM
RE: CodeIgniter or PhalconPHP ? - by kilishan - 11-14-2014, 09:07 AM
RE: CodeIgniter or PhalconPHP ? - by Chroma - 11-14-2014, 09:35 AM
RE: CodeIgniter or PhalconPHP ? - by no1youknowz - 11-14-2014, 10:14 AM
RE: CodeIgniter or PhalconPHP ? - by Chroma - 11-14-2014, 10:26 AM
RE: CodeIgniter or PhalconPHP ? - by no1youknowz - 11-14-2014, 03:56 PM
RE: CodeIgniter or PhalconPHP ? - by Rufnex - 11-14-2014, 10:23 AM
RE: CodeIgniter or PhalconPHP ? - by Rufnex - 11-14-2014, 10:34 AM
RE: CodeIgniter or PhalconPHP ? - by zaltanklis - 11-14-2014, 04:41 PM
RE: CodeIgniter or PhalconPHP ? - by no1youknowz - 11-15-2014, 09:38 AM
RE: CodeIgniter or PhalconPHP ? - by RonanW - 05-18-2015, 06:02 AM
RE: CodeIgniter or PhalconPHP ? - by tapan.thapa - 11-14-2014, 11:37 PM
RE: CodeIgniter or PhalconPHP ? - by zaltanklis - 11-15-2014, 02:07 AM
RE: CodeIgniter or PhalconPHP ? - by Rufnex - 11-15-2014, 09:19 AM
RE: CodeIgniter or PhalconPHP ? - by zaltanklis - 11-15-2014, 04:39 PM
RE: CodeIgniter or PhalconPHP ? - by GeorgeD - 11-15-2014, 05:36 PM
RE: CodeIgniter or PhalconPHP ? - by zaltanklis - 11-15-2014, 05:52 PM
RE: CodeIgniter or PhalconPHP ? - by alroker - 11-15-2014, 07:15 PM
RE: CodeIgniter or PhalconPHP ? - by no1youknowz - 11-15-2014, 08:40 PM
RE: CodeIgniter or PhalconPHP ? - by alroker - 11-15-2014, 09:13 PM
RE: CodeIgniter or PhalconPHP ? - by no1youknowz - 11-15-2014, 10:07 PM
RE: CodeIgniter or PhalconPHP ? - by Rufnex - 11-16-2014, 02:32 AM
RE: CodeIgniter or PhalconPHP ? - by no1youknowz - 11-16-2014, 08:39 AM
RE: CodeIgniter or PhalconPHP ? - by zaltanklis - 11-16-2014, 08:21 AM
RE: CodeIgniter or PhalconPHP ? - by Narf - 11-17-2014, 04:26 AM
RE: CodeIgniter or PhalconPHP ? - by Chroma - 11-17-2014, 07:40 AM
RE: CodeIgniter or PhalconPHP ? - by Hobbes - 12-02-2014, 02:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB