Skip to content
ericsessions edited this page Feb 19, 2011 · 7 revisions

Gists of some poolparty configurations

  1. Sample rails spec
  2. Sample static site spec (doesn’t currently work)
  3. Sample nginx-based clouds.rb

Single-instance pools

Multiple-instance pools

  • Replicated MySQL: Master-slave on EBS
  • Replicated MySQL: Master-master on EBS
  • Memcached

Multi-tier pools

  • Typical Rails site: Apache + Mongrel + MySQL
  • Typical Rails site #2: Apache + Passenger + Memcached + MySQL
  • Load-balanced Apache site: Haproxy + Apache
  • Load-balanced Rails site: Haproxy + Apache + Passenger + Memcached + Replicated MySQL

Auto-scaling

  • Rails
  • MySQL
  • Memcached