Just the speed concerns me a bit. I'm not the next Google,
Facebook, or Twitter. But a very unscientifically made benchmark
gives me very bad figures.
webapps.calculator emits a HTML page with 576 bytes. It uses
Furnace and Chloe.
Concurrency Level: 10
Time taken for tests: 29.187 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 796000 bytes
HTML transferred: 576000 bytes
Requests per second: 34.26 [#/sec] (mean)
Time per request: 291.873 [ms] (mean)
Time per request: 29.187 [ms] (mean, across all concurrent requests)
Transfer rate: 26.63 [Kbytes/sec] received
(Lower concurrency gave similar results above 33 req/sec. Same
with concurrency level 100, no errors.)
It's a very old Linux system with just SSE1, no SSE2. 512 MiB
RAM, SMP with 2 CPUs (Pentium III Coppermine, 650 MHz).
I just grabbed a few servers I had lingering around on this
system to give me some ballpark figures to compare. nginx with a
static page, everything else generated content dynamically. PHP
via FastCGI behind nginx, no bytecode cache. Different sizes of
output, but more than 576 bytes.
For a real test I would need to emit the same amount of bytes and
let every system produce roughly the same. (And publish all the
source and config, of course.)
In relation to a static page:
*** nginx 100%
C++ + mongoose 30.8%
PHP 25.4%
tornado 7.7%
cherrypy 4.3%
Factor 2.6%
In relation to fastest dynamic page:
nginx 325%
*** C++ + mongoose 100%
PHP 82.5%
tornado 25%
cherrypy 13.8%
Factor 8.5%
In relation to PHP 5.2, FastCGI 15 children, behind nginx:
nginx 394%
C++ + mongoose 121%
*** PHP 100%
tornado 30.3%
cherrypy 16.7%
Factor 10.6%
(PHP with 1 child 85% speed of PHP with 15 children.)
*** = base with 100%
--
Web (en): http://www.no-spoon.de/ -*- Web (de): http://www.frell.de/
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk