I was looking at techempower benchmarks [1] and noticed that fastest (by
their measurements) Java HTTP server - Undertow - had no Ring adapter. I
felt like it and wrote one just for fun:

https://github.com/piranha/ring-undertow-adapter

Installation and usage is pretty standard, put

    [ring-undertow-adapter "0.1.0"]

in your :dependencies and then you can require it:

    (require '[ring.adapter.undertow :refer [run-undertow]])

It's fairly simple - that's my first experience in writing a wrapper for
Java library and it was an interesting road to walk - no support for
websockets or any other async stuff or client. I guess that could be added
(or made as a separate library), but right now it's just a Ring adapter.

It's certainly faster than Jetty or Netty, and is on par with HTTP-Kit.
Enjoy, if you feel like it.


[1]: www.techempower.com/benchmarks/

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