M
Martin DeMello
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
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