On Tue, Feb 16, 2010 at 7:24 AM, Alex Ott <[email protected]> wrote:
> Hello all
>
> I have question about send-off, agents & threads - I'm trying to use
> send-off to dispatch tasks, that stores some data into central agent.
> Tasks could be long running.  I found following situation:
>  - when I explicitly create threads and run tasks in them, I have more load
>   on machine, that lead to bigger number of simultaneous tasks processed.
>   Typically i see about 600% load on my machine with 8 logical processors
>   (4cores with hyperthreading)
>  - when I use send-off, I get less number of simultaneous connection to
>   service, and load usually not bigger as 160%

I don't think there's any limit on the number of threads spawned
by send-off.   ...except that no single agent will ever be
allocated more than one thread at a time.  Are you perhaps doing
lots of send-offs to just one or two agents?

--Chouser
http://joyofclojure.com/

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to