options for running code in parallel
by Martin DeMello other posts by this author
Jul 1 2008 10:55AM messages near this date
Re: Using hpricot to get tables
|
Re: options for running code in parallel
Our testing department wants a small tool that can make a number of
http calls simultaneously to the same server, the basic logic being
# -----------------------------------------------------------------
calls = ["call1"..."calln"].map {|x| "http://server/#{x}"}
calls.each do |x|
OnSignal(START) do
http_send call(x)
log_result
end
end
SendSignal(START)
# -----------------------------------------------------------------
What are the options for doing this cleanly and robustly? I haven't
been keeping up with the recent work people have been doing on
distributed/parallel code in ruby, but I get the general impression
there's been a lot of activity in this area.
martin
Thread:
Martin DeMello
Ara.T.Howard
Martin DeMello
Ara.T.Howard
Igal Koshevoy
|