God and your web server

In: Operating Systems|Ruby|Ruby on Rails|Web development

18 Jul 2007

God is a new process monitoring Ruby framework with a rather apt name (no, it’s not that God). The config files looks something like that:

God.meddle do |god|
  god.watch do |w|
    ...
  end
end

Interesting code to write. And feels safe too to have God watching over your mongrels. Oh and you can use it to clean up stale mongrel PID files without patching mongrel_rails. Right now I use monit a lot and it’s really rather unDRY to have repeated configs for each mongrel on the server (is there a better way of doing this in monit?). God would be able to DRY it up.

Comments are closed.