DESCRIPTION: seesaw: [verb] to change rapidly from one state or condition to another and back again. Seesaw is a replacement/addition to the mongrel_cluster gem and allows you to perform a safe rippling restart of your mongrel cluster without dropping any requests. Let's say you have a mongrel cluster setup with 7 individual mongrels on your server. Let's also say that you have to deploy a code update and restart all of your mongrels but your site is really busy and you cannot afford any downtime whatsoever. When you execute: mongrel_rails seesaw::bounce This will happen: 1. your webserver configuration is switched to only use the front half of your mongrel pack (mongrels 1-4) 2. the webserver (apache or nginx) is gracefully restarted 3. the back half of your mongrel pack (mongrels 5-7) is restarted 4. your webserver configuration is switched to only use the back half of the pack 5. the webserver is gracefully restarted 6. front half mongrels are restared 7. webserver configuration switched back to full cluster configuration 8. webserver restarted one last time

installgem install seesaw

Matt Allen, Max Muermann

9,010 total downloads 1,490 for this version


gem 'seesaw', '~> 0.2.5'
  1. 0.2.5 August 19, 2007 (11.5 KB)
  2. 0.2.4 August 18, 2007 (11 KB)
  3. 0.2.3 August 18, 2007 (10 KB)
  4. 0.2.2 August 18, 2007 (10 KB)
  5. 0.2.1 August 18, 2007 (9.5 KB)
Show all versions (7 total)