Welcome Guest, Not a member yet? Register   Sign In
shopping for a scalable php framework
#1

[eluser]edoornav[/eluser]
Hi,

I am looking for a lightweight php framework in which to build a fast and scalable web application. I've done the tutorials and code igniter seems to be what I'm looking for. My problem is that I'm getting some bad results from simple performance tests. I installed MAMP and ran apache bench on a simple static file containing 'Hello World':

ab -n 1000 -c 5 http://localhost:8888/index.html -> 350 requests per second (my laptop is slow)

Next I ran it on a php file containing '<?php print "hello world" ?>':

ab -n 1000 -c 5 http://localhost:8888/test.php -> 250 requests per second

Next I installed code igniter, and did the blog tutorial up to the point where it just prints "hello world":

ab -n 1000 -c 5 http://localhost:8888/index.php/blog -> 20 requests per second!

Using a view and displaying a single db row gets me down to 15 requests per second. Doing the same thing in a simple script gives me 150 rps.

This seems too high a penalty to pay for MVC. Is this a typical result or might there be something wrong with my configuration? I'm otherwise really impressed with this framework and would definitely use it on a smaller project.

Thanks in advance for any help.

~rvr


Messages In This Thread
shopping for a scalable php framework - by El Forum - 10-11-2007, 11:42 PM
shopping for a scalable php framework - by El Forum - 10-11-2007, 11:59 PM
shopping for a scalable php framework - by El Forum - 10-12-2007, 12:31 AM
shopping for a scalable php framework - by El Forum - 10-12-2007, 12:38 AM
shopping for a scalable php framework - by El Forum - 10-12-2007, 12:46 AM
shopping for a scalable php framework - by El Forum - 10-12-2007, 06:51 AM
shopping for a scalable php framework - by El Forum - 10-12-2007, 07:36 AM
shopping for a scalable php framework - by El Forum - 10-12-2007, 08:14 AM
shopping for a scalable php framework - by El Forum - 10-12-2007, 08:26 AM
shopping for a scalable php framework - by El Forum - 10-12-2007, 09:23 AM
shopping for a scalable php framework - by El Forum - 10-12-2007, 06:31 PM
shopping for a scalable php framework - by El Forum - 10-12-2007, 06:41 PM
shopping for a scalable php framework - by El Forum - 10-12-2007, 06:52 PM
shopping for a scalable php framework - by El Forum - 10-12-2007, 06:52 PM
shopping for a scalable php framework - by El Forum - 10-12-2007, 07:58 PM
shopping for a scalable php framework - by El Forum - 10-13-2007, 08:25 PM
shopping for a scalable php framework - by El Forum - 10-14-2007, 02:37 AM
shopping for a scalable php framework - by El Forum - 10-14-2007, 04:14 AM
shopping for a scalable php framework - by El Forum - 10-14-2007, 11:41 PM
shopping for a scalable php framework - by El Forum - 10-15-2007, 08:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB