Claypoole: Threadpool Tools for Clojure
eng.climate.com
eng.climate.com
http://www.javacodegeeks.com/2013/01/java-thread-pool-exampl...
Clojure makes Java interop easy, but I hate every moment that I have to use Java, rather than a library that offers me idiomatic Clojure.
If I understand Claypoole correctly, it removes the need to drop down to Java. No more ExecutorService.
To my mind, this is awesome.
Parallel IO doesn't (necessarily) need to use threads and an explicitly async API is more flexible and usually easier to understand, especially with CSP like core.async.
If parallel IO was all we needed to do, asynchronous APIs would be the sensible choice, but for managing parallelism while chaining IO & CPU work, sharing pools across multiple simultaneous requests, Claypoole's a pretty nice tool.