Building highly available and fault tolerant sites on a budget
summary
Shows how to get “good enough” uptime for small sites using cheap VPSes and simple automation: use DNS with 5-minute TTL or a pair of reverse proxies (haproxy/nginx), keep uploads on Amazon S3 for durability, and replicate databases with master-slave DB with streaming replication (repmgr for Postgres, GTID/MySQL, MongoDB replica sets, Redis Sentinel). Uses supervisor/systemd to auto-restart apps, cron or tiny health-check scripts to flip DNS, and cites a real web whiteboard deployment that survives most failures but failed when an entire data center lost power.
AI-written summary · about
