Endijs,

Benchmarking a plain-php "hello world" file against the same stuff
implemented in ZF just doesn't make any sense. If you only want to
display "hello world", you don't need ZF. If you want to benchmark,
you always have to benchmark your use-case against a real-world
application that does roughly the same thing. You want to implement a
bulletin board in ZF? Benchmark a ZF prototype against vBulletin or
phpBB. You want to implement a CMS? Benchmark ZF against Joomla!,
Typo3 or if you must, Wordpress.

The reason for this is that a simple "hello world" file does not
require any routing, or decisions about which action to dispatch, or a
plugin system, etc. Again, use the right tools for the job: If you
only want your application to display "hello world", don't use ZF.

</rant>

About your question: I haven't thoroughly benchmarked the most recent
ZF version. The performance of ZF is very dependent on quite a few
factors, ranging from your choice of server (a dedicated server is a
must!), your caching solution (cache as much as possible, while
bypassing as much of the MVC process as possible!), and your use of an
opcode cache such as APC (Protip: The first thing a
performance-focused PHP-developer should do is install one). If thse
factors are well covered, I'd say 200 rps shouldn't be much of a
problem.

Best regards,
Tobias

2009/2/23 Endijs Lisovskis <[email protected]>:
>
> Hi!
>
> I just installed Zend Server CE and there is a benchmark tool. I want to ask
> - how big "requests per second" rate is considered good for applications
> built on top of Zend Framework. I know - that depends on hardware,
> application it self etc. But I'm more interested in comparison with plain
> PHP file ( echo 'hello world';) with one that is served by ZF (with
> bootstrap, MVC logic etc). If plain PHP file gives 330 requests per second -
> how much requests per second should be OK for Zen Framework application? 5,
> 10, 30, 100?
>
>
> Thanks!
>
> Best wishes,
> Endijs Lisovskis
> --
> View this message in context: 
> http://www.nabble.com/Normal-request-per-second-rate-for-ZF-application--tp22160051p22160051.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>

Reply via email to