Posted on 03/27/2008, 11:29 am, by val, under
All,
Ops,
Rails.
One of the methods we use for checking the health of our applications is stats collected from HAProxy. We utilize it to see how many requests are scheduled for execution on mongrel instances. The graph is one indication of how our applications perform. When we launched the new version of the site three weeks ago, [...]
Posted on 10/26/2007, 8:40 pm, by aaron, under
All.
Paul Gross from Thoughtworks recently created a pulse gem. The gem adds a simple action to your rails app, “/pulse”, which acts as a heartbeat.
The pulse gem currently defines the method as:
def pulse
render :text => "OK"
end
Then you can configure haproxy to monitor your application by hitting http://server/pulse and verifying the response [...]