Re: clojure-based non-blocking webserver like Node.js

2011-09-03 Thread Sergey Didenko
On Sat, Sep 3, 2011 at 3:01 AM, Tal Liron wrote: > > I always ask, though, why people think they need async I/O for a web > server. Async might be important if you are streaming video, audio, etc. > (And if you are, you're probably better off with a robust CDN.) > Async can also be good for chat

Re: clojure-based non-blocking webserver like Node.js

2011-09-03 Thread Andreas Kostler
Can someone explain please what class threads are?? And whether is threads are expensive depends on the is On Sep 3, 2011 5:09 AM, "Raoul Duke" wrote: > On Fri, Sep 2, 2011 at 11:20 AM, billh2233 wrote: >> I like Node.js's non-blocking IO for performance reasons, though it is >> built around a

Re: clojure-based non-blocking webserver like Node.js

2011-09-02 Thread Tal Liron
Jetty and Grizzly also work great, and can be used as easily swappable connectors for Restlet, which in turn is used by Prudence's Clojure flavor (I'm the lead developer): http://threecrickets.com/prudence/ Jetty is the most mature of the bunch (Grizzly, Netty, MINA, etc.) and offers many more

Re: clojure-based non-blocking webserver like Node.js

2011-09-02 Thread Michael Klishin
2011/9/2 billh2233 > Is there a clojure-based webserver that uses non-blocking IO like > Node.js, or any effort like that being considered? > Java ecosystem has at least two very mature asynchronous I/O libraries: Netty and Apache MINA. Several Clojure projects that use Netty (http://www.jboss.

Re: clojure-based non-blocking webserver like Node.js

2011-09-02 Thread Raoul Duke
On Fri, Sep 2, 2011 at 11:20 AM, billh2233 wrote: > I like Node.js's non-blocking IO for performance reasons, though it is > built around a single-threaded model whereas clojure is built around a > multi-core/concurrency model.  I wonder if the two concepts can be > combined somehow. * python let

Re: clojure-based non-blocking webserver like Node.js

2011-09-02 Thread Wilson MacGyver
look at https://github.com/ztellman/aleph it supprorts async, websocket, server side and client side, plus has redis support. very happy with it. On Fri, Sep 2, 2011 at 2:20 PM, billh2233 wrote: > Is there a clojure-based webserver that uses non-blocking IO like > Node.js, or any effort like tha

Re: clojure-based non-blocking webserver like Node.js

2011-09-02 Thread Laurent PETIT
Hi, AFAIK, there's a java version of node.js, called Node.x : https://github.com/purplefox/node.x HTH, -- Laurent 2011/9/2 billh2233 > Is there a clojure-based webserver that uses non-blocking IO like > Node.js, or any effort like that being considered? > > I like Node.js's non-blocking IO f

clojure-based non-blocking webserver like Node.js

2011-09-02 Thread billh2233
Is there a clojure-based webserver that uses non-blocking IO like Node.js, or any effort like that being considered? I like Node.js's non-blocking IO for performance reasons, though it is built around a single-threaded model whereas clojure is built around a multi-core/concurrency model. I wonder