| william_os4y ( @ 2006-11-12 15:03:00 |
release of fapws-0.5 (Fast Asynchronous Python Web Server)
Now that several bugs are now fixed in the kernel of FAPWS. FAPWS is now much more stable and resits very correctly to C10K attacks.
On my Gentoo PC (1.2Ghz), Fapws can perform 3x faster than Cherrypy-3.0. Not because CP3 is bad, but because the heart of FAPWS is written in C (libevent). Thanks to libevent (and pyevent), you are able to run FAPWS on Windows, Linux, *BSD, Mac OSx and Solaris machines.
As said before, FAPWS is targeted to run on small hardware (limited memory, ...) like several Virtual Dedicated Servers (VDS) offer.
Up to now, the WSGI implementation is quite simplistic. If people are willing to improve this part of FAPWS with me, they are welcome ;-) (william _at_ opensource4you.com)
William.
links:
ANNEXE:
---------------
(I've made 5 concurrent requests and started CP3 with 10 threads).
Now that several bugs are now fixed in the kernel of FAPWS. FAPWS is now much more stable and resits very correctly to C10K attacks.
On my Gentoo PC (1.2Ghz), Fapws can perform 3x faster than Cherrypy-3.0. Not because CP3 is bad, but because the heart of FAPWS is written in C (libevent). Thanks to libevent (and pyevent), you are able to run FAPWS on Windows, Linux, *BSD, Mac OSx and Solaris machines.
As said before, FAPWS is targeted to run on small hardware (limited memory, ...) like several Virtual Dedicated Servers (VDS) offer.
Up to now, the WSGI implementation is quite simplistic. If people are willing to improve this part of FAPWS with me, they are welcome ;-) (william _at_ opensource4you.com)
William.
links:
ANNEXE:
---------------
(I've made 5 concurrent requests and started CP3 with 10 threads).
Server Software: fapws/0.5
Server Hostname: localhost
Server Port: 8081
Document Path: /hello
Document Length: 11 bytes
Concurrency Level: 5
Time taken for tests: 8.421295 seconds
Complete requests: 5000
Failed requests: 0
Write errors: 0
Total transferred: 570000 bytes
HTML transferred: 55000 bytes
Requests per second: 593.73 [#/sec] (mean)
Time per request: 8.421 [ms] (mean)
Time per request: 1.684 [ms] (mean, across all concurrent requests)
Transfer rate: 66.02 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 3 1.4 3 15
Processing: 2 4 1.7 5 17
Waiting: 0 2 1.7 2 13
Total: 7 7 1.6 7 18
Percentage of the requests served within a certain time (ms)
50% 7
66% 8
75% 9
80% 9
90% 9
95% 9
98% 10
99% 12
100% 18 (longest request)
Server Software: CherryPy/3.0.0beta2
Server Hostname: localhost
Server Port: 8080
Document Path: /
Document Length: 12 bytes
Concurrency Level: 5
Time taken for tests: 25.149331 seconds
Complete requests: 5000
Failed requests: 0
Write errors: 0
Total transferred: 710000 bytes
HTML transferred: 60000 bytes
Requests per second: 198.81 [#/sec] (mean)
Time per request: 25.149 [ms] (mean)
Time per request: 5.030 [ms] (mean, across all concurrent requests)
Transfer rate: 27.56 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 3 10 4.8 10 27
Processing: 6 14 4.9 15 30
Waiting: 0 7 5.9 7 26
Total: 23 24 1.7 24 35
Percentage of the requests served within a certain time (ms)
50% 24
66% 24
75% 25
80% 25
90% 26
95% 26
98% 32
99% 33
100% 35 (longest request)