Hello

Chouser  at "Tue, 16 Feb 2010 12:02:17 -0500" wrote:
 C> On Tue, Feb 16, 2010 at 7:24 AM, Alex Ott <alex...@gmail.com> 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%

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

Yes, all send-off are sent to one agent, that accumulate information about
different documents

-- 
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/        http://alexott.net/
http://alexott-ru.blogspot.com/

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