There's an approach using agents described here:

http://travis-whitton.blogspot.com/2009/07/network-sweeping-with-clojure.html

It's a bit old, so somethings in the example could be a bit outdated, but
the idea may help you forward,

/Linus

2011/11/22 AndyK <andy.kri...@gmail.com>

> 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

-- 
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

Reply via email to