Hi folks!
>
> What do you want me to say after this? 10,000 PHP requests (50 at
> the same time), without one only failure, at 2100 requests per
> second. It is sooo sweet!
>
> I have still some clean up to do; I over-engineered a few classes
> and now I gotta take them back to its previous state. I'll try to
> commit all this stuff by tomorrow evening (GTM).
The code is now committed.. but, I have to tell you something,
yesterday I made a mistake. The data I gave you wasn't completely
right:
> ======
> Server Software: Cherokee/0.4.31b7
> Requests per second: 2160.20 [#/sec] (mean)
> ======
The real performance, is better than that!!
======
Server Software: Cherokee/0.4.31b7
Server Hostname: localhost
Server Port: 80
Document Path: /test2.php
Document Length: 11 bytes
Concurrency Level: 100
Time taken for tests: 20.518951 seconds
Complete requests: 50000
Total transferred: 8711322 bytes
HTML transferred: 552273 bytes
Requests per second: 2436.77 [#/sec] (mean)
Time per request: 41.038 [ms] (mean)
Time per request: 0.410 [ms] (mean, across all concurrent requests)
Transfer rate: 414.59 [Kbytes/sec] received
======
More than 2400 PHP requests per second.. on my laptop. :-)
If you want to test it out, there is a tarball available for this
beta in the usual place:
http://alobbs.com/tmp/cherokee-0.4.31b7.tar.gz
By the way, it isn't trivial to configure the handler, and the
documentation isn't ready yet, so here is a little example:
======
Extension php {
Handler fastcgi {
Server localhost:8002 {
Env PHP_FCGI_MAX_REQUESTS "5000"
Env PHP_FCGI_CHILDREN "5"
Interpreter "/usr/bin/php5-cgi -b 8002"
}
}
}
======
It is important to set the PHP_FCGI_CHILDREN variable value to the
number of threads that Cherokee is using (5 by one processor boxes
by default).
Please log a bug for any issue you might find:
http://www.0x50.org/bugs/
Enjoy! :-)
--
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee