Re: ANN: http-kit 2.0.0.RC2, high performance HTTP Server & Client for Clojure

2013-02-10 Thread eduardoejp
http-kit seems to me to be as bad-ass as you can get.

-- 
-- 
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.




Re: ANN: http-kit 2.0.0.RC2, high performance HTTP Server & Client for Clojure

2013-02-08 Thread Feng Shen
Just to add:  2.0.0-RC3 released, with a general purpose timer added: 
http://http-kit.org/timer.html 


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.




Re: ANN: http-kit 2.0.0.RC2, high performance HTTP Server & Client for Clojure

2013-02-04 Thread Feng Shen
Inspired by golang helloworld 45% slower than 
node.js
 , 
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 30 -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:79.02 [#/sec] 
(mean)
ab -n 40 -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 10 -c 100 -k http://127.0.0.1:8080/
# node v0.6.19 # Requests per second:12964.05 [#/sec] (mean)
ab -n 10 -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.




Re: ANN: http-kit 2.0.0.RC2, high performance HTTP Server & Client for Clojure

2013-02-03 Thread Peter Taoussanis
Quick anecdote: I've got an HTTP Kit server running in a test environment 
and the initial results are *very* promising. It's handling a mix of sync, 
async, and WebSocket requests and so far has been a pleasure to use.

HTTP Kit's sweet spot seems to be quite large too: folks running 
high-traffic (esp. high-concurrency) web servers that are resource or 
performance sensitive. I would recommend running behind a reverse proxy 
(nginx, say) given the server's relative immaturity - but I'd normally 
recommend doing that anyway, and I haven't encountered any specific 
problems yet myself.

And I haven't had a chance to use it much, but the HTTP client looks pretty 
great too.

Exciting stuff!

>

-- 
-- 
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.




Re: ANN: http-kit 2.0.0.RC2, high performance HTTP Server & Client for Clojure

2013-02-02 Thread Baishampayan Ghose
Congratulations, Feng. HTTP-Kit is awesome! ~BG

On Sun, Feb 3, 2013 at 8:50 AM, Shen, Feng  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.
>
>



-- 
Baishampayan Ghose
b.ghose at gmail.com

-- 
-- 
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.




ANN: http-kit 2.0.0.RC2, high performance HTTP Server & Client for Clojure

2013-02-02 Thread Shen, Feng
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.