RubyGems.org

seesaw

0.2.5

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
Authors

Matt Allen, Max Muermann

8,790 total downloads 1,458 for this version
Owners

42e2ec6a72627f8c15115e279a5f7d8e29f82ebe1801087f04de6aaae92e19ea2caa30c373c7f1d781bcd92647ebf7938b3a5fa50d63275c5c6e304f1a081bfbDca251aafed1b54f223cb0b056c227e48ad0543af286d30d8956588e52974acc4c27a4912d8c64ec6234112924a4ddeeB0a25b4155c21475cdbf6286fc6d15186d76c9adae5a4a262deb9a27075c52fa9f24adfa971912d72f72c1396ef63351

Gemfile
gem 'seesaw', '~> 0.2.5'
Versions
  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)