Inspired by golang helloworld 45% slower than 
node.js<https://groups.google.com/forum/?fromgroups=#!topic/golang-nuts/zeLMYnjO_JA>
 , 
I did some test, get some numbers, for fun:

CPU: Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz
RAM: 16G
#  redis, SET: 217391.30 requests per second# It's the upper limit, probably  
redis-benchmark -q 
# nginx, response a file of 1K# Requests per second:    148442.25 [#/sec] 
(mean), 
ab -n 300000 -c 100 -k http://127.0.0.1/  
# http-kit (http://http-kit.org)  respond hello world# code: 
https://gist.github.com/4704565# Requests per second:    111179.02 [#/sec] 
(mean)
ab -n 400000 -c 100 -k http://127.0.0.1:8080/
# The hello world go version, with modification of "http" => "net/http" # 
Requests per second:    17465.92 [#/sec] (mean)
ab -n 100000 -c 100 -k http://127.0.0.1:8080/
# node v0.6.19 # Requests per second:    12964.05 [#/sec] (mean)
ab -n 100000 -c 100 -k http://127.0.0.1:8080



On Sunday, February 3, 2013 11:20:27 AM UTC+8, Feng Shen wrote:
>
> Hi, 
>
> After extensive test,  known bugs  fixed, documentation ready,  http-kit 
> reaches 2.0.0.RC2
>
> [http-kit "2.0.0-RC2"] ; Add to your project.clj
>
> Documentation: http://http-kit.org
> Github: https://github.com/http-kit/http-kit
>
> The goal of http-kit is to provide a clean, robust HTTP server/client, 
> with Nginx alike performance and concurrency, for Clojure.
> The server is ring compliant adapter with async and websocket support. 
>  I expect it to be faster than node.
> The client has a clj-http alike API,  asynchronous in nature, synchronous 
> with @promise.
>
> I invite everybody who interested to have a look, 
> questions/comments/suggestions/whatever are welcome! 
>
> Thanks @ptaoussanis and others for their contribution. 
>
> Feng
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to