On Sun, Oct 5, 2014 at 11:57 PM, Zach Tellman <ztell...@gmail.com> wrote:

> If I'm reading this correctly, you're using non-blocking thread pools for
> blocking operations on the sockets.  Given more than N connections (last
> time I looked the thread pool's size was 42), you risk deadlock or at the
> very least poor average throughput.


I'd thought the thread pool's size was a function of your core count plus
some constant, which I believe is 42. But yes, that is a constraint, and
deadlock is a risk with too many concurrent connections. I haven't tried to
measure throughput yet but that seems like a reasonable next step. Thanks
for the code review!

-- 
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/d/optout.

Reply via email to