Hey, thanks for point out latency, I haven't look at them deeply. Here is
how http-kit compare to Nginx when concurrency is 96:
Server Software: http-kit
Server Hostname: 127.0.0.1
Server Port: 8087
Document Path: /
Document Length: 1163 bytes
Concurrency Level: 96
Time taken for tests: 2.858 seconds
Complete requests: 120000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 120000
Total transferred: 156960000 bytes
HTML transferred: 139560000 bytes
Requests per second: 41981.59 [#/sec] (mean)
Time per request: 2.287 [ms] (mean)
Time per request: 0.024 [ms] (mean, across all concurrent requests)
Transfer rate: 53624.92 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 4
Processing: 1 2 0.7 2 7
Waiting: 1 2 0.7 2 7
Total: 1 2 0.7 2 7
*Percentage of the requests served within a certain time (ms)*
* 50% 2*
* 66% 2*
* 75% 2*
* 80% 2*
* 90% 3*
* 95% 4*
* 98% 5*
* 99% 5*
* 100% 7 (longest request) *
Server Software: nginx
Server Hostname: 127.0.0.1
Server Port: 8081
Document Path: /
Document Length: 1163 bytes
Concurrency Level: 96
Time taken for tests: 3.492 seconds
Complete requests: 120000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 118844
Total transferred: 164754220 bytes
HTML transferred: 139560000 bytes
Requests per second: 34365.55 [#/sec] (mean)
Time per request: 2.793 [ms] (mean)
Time per request: 0.029 [ms] (mean, across all concurrent requests)
Transfer rate: 46076.41 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 4
Processing: 0 3 2.2 2 23
Waiting: 0 3 2.2 2 23
Total: 0 3 2.2 2 23
*Percentage of the requests served within a certain time (ms)*
* 50% 2*
* 66% 3*
* 75% 4*
* 80% 5*
* 90% 6*
* 95% 7*
* 98% 9*
* 99% 9*
* 100% 23 (longest request)*
btw, I am the author of http-kit <https://github.com/shenfeng/http-kit>:
https://github.com/shenfeng/http-kit . http-kit was written from scratch
for performance. Clojure web application can be very fast, as fast as
Nginx can do. Clojure web application can handle high concurrency as Nginx
can do too.
On Friday, January 25, 2013 8:14:07 PM UTC+8, hutch wrote:
>
>
> On 2013-01-25, at 6:24 AM, Peter Taoussanis <[email protected]<javascript:>>
> wrote:
>
> I'd consider adding a graph if folks think these numbers are sufficiently
> interesting?
>
>
> That would be great! This is very important information for me. And,
> unless things have improved markedly over that last year or so (I hope so),
> I think you'll be 'amused' by what you see.
>
> Cheers,
> Bob
>
>
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en