Re: is ok use a blocking get

2015-03-25 Thread coco
thanks for the reply Erik, that's what I feared, I'm using vertx with the ring adapter, basically I do several http async request in my handler and I've rewrote several libs for adapt thes e to vertx, so block my server is really bad for me :D ... http-kit offers an adaptation for ring which

Re: is ok use a blocking get

2015-03-25 Thread Erik Price
There is no best approach for this. Yes, you do end up blocking the request thread, but that’s what needs to happen if you the response requires the value returned by the channel. You can’t return a response to the browser and then change it later when the channel sends its value. (You’d have the s

is ok use a blocking get

2015-03-24 Thread coco
Hi guys...I've a code similar to this: (defn user-data [] (!/go (let [a (!/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 i