Professional Documents
Culture Documents
Gavin M. Roy
Chief Technology Officer
myYearbook.com
99% Uptime
The 1am Phone Call
Growth is a double-edged sword.
Database Project Considerations
• Good Schema
• Is it designed to Scale?
• Is it designed to be Maintained?
• Good Hardware
• Good Planning
1. Prototype
2. Launch
• Steps 1 & 2
• Limited Budget
• Steps 3 & 4
• Increased Budget
• Hardware
• Get 2
“The Cloud”
Plan for Growth Concurrency & Data Growth
Concurrency in PostgreSQL
• Use pl/Proxy
- Jack Sack
Recovering from Failures
• Same type of developers who jumped on MySQL because “it was fast”
• Depending on topology
• Over-saturated CPU
Lock Contention == Death
• Nothing brings a server to its knees faster than a long running Exclusive Lock
• Index Bloat
• Nagios plugin
• Bloat
• Cacti - http://www.cacti.net
• Posuta - http://code.google.com/p/posuta/
• pgFouine - http://pgfouine.projects.postgresql.org/
• Staplr - http://github.com/gmr/staplr
Fin
• Questions?