Andy, You can also look into using futures (pmap uses future). In section 11.6.1 of "Joy of Clojure" there is a recipe how to dispatch multiple RPC calls in parallel using as-futures macro. Obviously, this depends on what you want to do with results of your REST calls.
On Nov 22, 11:16 am, AndyK <andy.kri...@gmail.com> wrote: > I have been using Clojure to write tests on RESTful applications. > Since the requests are independent, parallelizing would speed things > along. What is the best approach? Using pmap is the obvious first > step. Afaik, pmap only creates a small pool of threads. Is there more > to gain by going to the Java API's threading classes (like > ExecutorService, or building a pool of threads triggered by a > CountDownLatch)? What experience have folks had with different > approaches? > > thx -- 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