Re: Use core.async executor with aleph

2015-02-18 Thread Robin Heggelund Hansen
Thanks! :) -- 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 ema

Re: Use core.async executor with aleph

2015-02-18 Thread Zach Tellman
Hi Robin, You can absolutely specify an executor of :none if you're sure you won't be doing any blocking in your request handler. If everything's wrapped by a go-block, that's certainly the case, and is probably the most efficient approach. However, Aleph just needs some java.util.concurrent.

Use core.async executor with aleph

2015-02-17 Thread Robin Heggelund Hansen
>From what I can see, aleph allows me to set a executor to handle client requests. I'm already using core.async pretty heavily. Is there any reason why I shouldn't pass core.async's executor to aleph? I see I can also make every client request start on aleph's dispatch thread. Considering absol