1. Clouds against the Floodsor how Ruby On Rails saved the day in Australia
Leonardo Borges
www.leonardoborges.com
2. What do I do?
• Write code for ThoughtWorks in Sydney, Australia
• Contribute to open-source projects, on occasion
- Rails
- JRuby
- rcov_plugin
- Savon
• Blog, rant and cause trouble online
- www.leonardoborges.com
- @leonardo_borges
• Get shy in presentations like this one
Leonardo Borges
www.leonardoborges.com
4. What?
• 75% of Queensland under water
Leonardo Borges
www.leonardoborges.com
5. What?
• 75% of Queensland under water
• Government to run a telethon on Channel 9
Leonardo Borges
www.leonardoborges.com
6. What?
• 75% of Queensland under water
• Government to run a telethon on Channel 9
• SSQ’s donation app misbehaved
Leonardo Borges
www.leonardoborges.com
7. What?
• 75% of Queensland under water
• Government to run a telethon on Channel 9
• SSQ’s donation app misbehaved
• backup plan?
Leonardo Borges
www.leonardoborges.com
8. We can help!
• ThoughtWorks offered to give a hand
• we were at the beach
• and were pulled in 2 days before the telethon
Leonardo Borges
www.leonardoborges.com
24. Monitoring,
Benchmarking &
Caching
• NewRelic
- Identifying errors early
- Measuring server load and scaling accordingly
• Apache AB
- Finding the bottlenecks
Leonardo Borges
www.leonardoborges.com
25. Monitoring,
Benchmarking &
Caching
• NewRelic
- Identifying errors early
- Measuring server load and scaling accordingly
• Apache AB
- Finding the bottlenecks
• Varnish
Leonardo Borges
www.leonardoborges.com
26. Monitoring,
Benchmarking &
Caching
• NewRelic
- Identifying errors early
- Measuring server load and scaling accordingly
• Apache AB
- Finding the bottlenecks
• Varnish
- Aggressive caching
Leonardo Borges
www.leonardoborges.com
27. Monitoring,
Benchmarking &
Caching
• NewRelic
- Identifying errors early
- Measuring server load and scaling accordingly
• Apache AB
- Finding the bottlenecks
• Varnish
- Aggressive caching
Leonardo Borges
www.leonardoborges.com
28. Winning over the skepticism
Leonardo Borges
www.leonardoborges.com
29. Winning over the skepticism
• When we first offered help...
- Ruby? You can’t do nothing serious with Ruby
- The schedule is too tight!
- How are you gonna deploy this thing?
Leonardo Borges
www.leonardoborges.com
30. Winning over the skepticism
• When we first offered help...
- Ruby? You can’t do nothing serious with Ruby
- The schedule is too tight!
- How are you gonna deploy this thing?
• What happened...
- Their app went down at the start of the telethon
- Remember the backup plan?
Leonardo Borges
www.leonardoborges.com
31. Winning over the skepticism
• When we first offered help... • We developed and deployed an app that...
- Ruby? You can’t do nothing serious with Ruby - was built Ruby on Rails
- The schedule is too tight! - scales
- How are you gonna deploy this thing? - integrates with a few external services
- handled the load comfortably
- 15 req/sec during the telethon
• What happened... - AUD$ 2 million generated in two hours
- Their app went down at the start of the telethon - received over AUD$ 30 million in donations thus far
- Remember the backup plan? - has been the main app since then
Leonardo Borges
www.leonardoborges.com
32. Winning over the skepticism
• When we first offered help... • We developed and deployed an app that...
- Ruby? You can’t do nothing serious with Ruby - was built Ruby on Rails
- The schedule is too tight! - scales
- How are you gonna deploy this thing? - integrates with a few external services
- handled the load comfortably
- 15 req/sec during the telethon
• What happened... - AUD$ 2 million generated in two hours
- Their app went down at the start of the telethon - received over AUD$ 30 million in donations thus far
- Remember the backup plan? - has been the main app since then
... in a little over 48 hours
Leonardo Borges
www.leonardoborges.com
33. Winning over the skepticism
• When we first offered help... • We developed and deployed an app that...
- Ruby? You can’t do nothing serious with Ruby - was built Ruby on Rails
- The schedule is too tight! - scales
- How are you gonna deploy this thing? - integrates with a few external services
- handled the load comfortably
- 15 req/sec during the telethon
• What happened... - AUD$ 2 million generated in two hours
- Their app went down at the start of the telethon - received over AUD$ 30 million in donations thus far
- Remember the backup plan? - has been the main app since then
... in a little over 48 hours
Leonardo Borges
www.leonardoborges.com