On Dec 2, 3:10 am, Ivan Sagalaev wrote:
> My question is how to model a non-blocking I/O.
netty is excellent if you want NIO for performance. But for requesting
a URL - really quite massively overkill. You can write a URL request
in a threaded way very simply (even containing a callback if
John Harrop wrote:
> The java.nio.channels package. :)
In other words there's no special patterns for non-bocking I/O in
Clojure and it's done with callbacks as usually, right?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group,
http://mina.apache.org/
--
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 gr
t;
> My question is how to model a non-blocking I/O. For example I want to
> request a URL over HTTP and do something with its content. I don't want
> to block on waiting for network. In my current working language Python I
> can setup a non-blocking socket and a callback that will t
Hello!
I'm looking at Clojure for a couple of days, having watched two of
Rich's video presentations. So I'm not yet familiar with Clojure's
practical patterns but I can read the code :-).
My question is how to model a non-blocking I/O. For example I want to
request a