search for: slow_count

Displaying 1 result from an estimated 1 matches for "slow_count".

Did you mean: flow_count
2006 Sep 20
15
Why Rails + mongrel_cluster + load balancing doesn''t work for us and the beginning of a solution
...xt => "I''m slow" end end and the following test app #!/usr/bin/env ruby require File.dirname(__FILE__) + ''/config/boot'' require File.dirname(__FILE__) + ''/config/environment'' end_time = 1.minute.from_now fast_count = 0 slow_count = 0 fastthread = Thread.start do while Time.now < end_time do Net::HTTP.get ''localhost'', ''/home/fast'' fast_count += 1 end end slowthread = Thread.start do while Time.now < end_time do Net::HTTP.get ''localhost...