SlideShare a Scribd company logo
1 of 16
What does an earthquake look like?


    When you run an earthquake website

                Dylan Jay

                @djay75
           dylan@pretaweb.com
(it's python, it's good!)
We do mostly do .gov.au
Victorian SES
●   Wanted CMS
●   Wanted Multi-site
●   Wanted it secure
●   Wanted to theme it themselves

●   That won't fall over in a disaster
    ●   99.99% uptime
    ●   That's < 4.5min per month


●   So we built it for them
Architecture
●   Lots of pipes →
    ●   CDN →
    ●   Nginx →
    ●   Varnish →
    ●   Haproxy →
    ●   Zope/Plone →
    ●   MySQL
●   x2 (SA & NSW)
Plone's cache management rocks!
It was load tested
First checked with Funkload (it's python, it's
good!)
●   WebUnit
●   Automated distributed testing
Then with jmeter (SaaS)
Then we got the hoster to do it :)
Prediction: 840k in 15min
0 to 21Gbs and 130k rps

ebay.com's traffic
10 billion page views/month
With no warning
No downtime!
Unlike our competitors
What does an earthquake look like?


   When you run an earthquake website!

               Dylan Jay

               @djay75
          dylan@pretaweb.com
Surviving an earthquake's worth of traffic

More Related Content

Similar to Surviving an earthquake's worth of traffic

The Future of System Administration
The Future of System AdministrationThe Future of System Administration
The Future of System AdministrationKris Buytaert
 
Go frugal with web services
Go frugal with web servicesGo frugal with web services
Go frugal with web servicesDaniel Fireman
 
Scaling a MeteorJS SaaS app on AWS
Scaling a MeteorJS SaaS app on AWSScaling a MeteorJS SaaS app on AWS
Scaling a MeteorJS SaaS app on AWSBrett McLain
 
Петър Николов. "Mobile Ecommerce Technical Performance"
Петър Николов. "Mobile Ecommerce Technical Performance"Петър Николов. "Mobile Ecommerce Technical Performance"
Петър Николов. "Mobile Ecommerce Technical Performance"DariaShalahinova
 
Beaming flink to the cloud @ netflix ff 2016-monal-daxini
Beaming flink to the cloud @ netflix   ff 2016-monal-daxiniBeaming flink to the cloud @ netflix   ff 2016-monal-daxini
Beaming flink to the cloud @ netflix ff 2016-monal-daxiniMonal Daxini
 
Monal Daxini - Beaming Flink to the Cloud @ Netflix
Monal Daxini - Beaming Flink to the Cloud @ NetflixMonal Daxini - Beaming Flink to the Cloud @ Netflix
Monal Daxini - Beaming Flink to the Cloud @ NetflixFlink Forward
 
Future of Sysadmin 2014
Future of Sysadmin 2014Future of Sysadmin 2014
Future of Sysadmin 2014Kris Buytaert
 
Erlang web framework: Chicago boss
Erlang web framework: Chicago bossErlang web framework: Chicago boss
Erlang web framework: Chicago bossBarcamp Saigon
 
Architecting for the Cloud: Hoping for the best, prepared for the worst
Architecting for the Cloud: Hoping for the best, prepared for the worstArchitecting for the Cloud: Hoping for the best, prepared for the worst
Architecting for the Cloud: Hoping for the best, prepared for the worstCotap Engineering
 

Similar to Surviving an earthquake's worth of traffic (10)

The Future of System Administration
The Future of System AdministrationThe Future of System Administration
The Future of System Administration
 
Go frugal with web services
Go frugal with web servicesGo frugal with web services
Go frugal with web services
 
Scaling a MeteorJS SaaS app on AWS
Scaling a MeteorJS SaaS app on AWSScaling a MeteorJS SaaS app on AWS
Scaling a MeteorJS SaaS app on AWS
 
Петър Николов. "Mobile Ecommerce Technical Performance"
Петър Николов. "Mobile Ecommerce Technical Performance"Петър Николов. "Mobile Ecommerce Technical Performance"
Петър Николов. "Mobile Ecommerce Technical Performance"
 
Beaming flink to the cloud @ netflix ff 2016-monal-daxini
Beaming flink to the cloud @ netflix   ff 2016-monal-daxiniBeaming flink to the cloud @ netflix   ff 2016-monal-daxini
Beaming flink to the cloud @ netflix ff 2016-monal-daxini
 
Monal Daxini - Beaming Flink to the Cloud @ Netflix
Monal Daxini - Beaming Flink to the Cloud @ NetflixMonal Daxini - Beaming Flink to the Cloud @ Netflix
Monal Daxini - Beaming Flink to the Cloud @ Netflix
 
Future of Sysadmin 2014
Future of Sysadmin 2014Future of Sysadmin 2014
Future of Sysadmin 2014
 
Erlang web framework: Chicago boss
Erlang web framework: Chicago bossErlang web framework: Chicago boss
Erlang web framework: Chicago boss
 
Architecting for the Cloud: Hoping for the best, prepared for the worst
Architecting for the Cloud: Hoping for the best, prepared for the worstArchitecting for the Cloud: Hoping for the best, prepared for the worst
Architecting for the Cloud: Hoping for the best, prepared for the worst
 
Barcamp2013
Barcamp2013Barcamp2013
Barcamp2013
 

More from Dylan Jay

5 things STILL! TOO! HARD! in Plone 5
5 things STILL! TOO! HARD! in Plone 55 things STILL! TOO! HARD! in Plone 5
5 things STILL! TOO! HARD! in Plone 5Dylan Jay
 
The goodies of zope, pyramid, and plone (2)
The goodies of zope, pyramid, and plone (2)The goodies of zope, pyramid, and plone (2)
The goodies of zope, pyramid, and plone (2)Dylan Jay
 
Buildout: How to maintain big app stacks without losing your mind
Buildout: How to maintain big app stacks without losing your mindBuildout: How to maintain big app stacks without losing your mind
Buildout: How to maintain big app stacks without losing your mindDylan Jay
 
Opps I deployed it again-ploneconf2010
Opps I deployed it again-ploneconf2010Opps I deployed it again-ploneconf2010
Opps I deployed it again-ploneconf2010Dylan Jay
 
Opps i deployed it again
Opps i deployed it againOpps i deployed it again
Opps i deployed it againDylan Jay
 
TestBrowser Driven Development: How to get bulletproof code from lazy developers
TestBrowser Driven Development: How to get bulletproof code from lazy developersTestBrowser Driven Development: How to get bulletproof code from lazy developers
TestBrowser Driven Development: How to get bulletproof code from lazy developersDylan Jay
 
How to host an app for $20 in 20min using buildout and hostout
How to host an app  for $20 in 20min using buildout and hostoutHow to host an app  for $20 in 20min using buildout and hostout
How to host an app for $20 in 20min using buildout and hostoutDylan Jay
 

More from Dylan Jay (7)

5 things STILL! TOO! HARD! in Plone 5
5 things STILL! TOO! HARD! in Plone 55 things STILL! TOO! HARD! in Plone 5
5 things STILL! TOO! HARD! in Plone 5
 
The goodies of zope, pyramid, and plone (2)
The goodies of zope, pyramid, and plone (2)The goodies of zope, pyramid, and plone (2)
The goodies of zope, pyramid, and plone (2)
 
Buildout: How to maintain big app stacks without losing your mind
Buildout: How to maintain big app stacks without losing your mindBuildout: How to maintain big app stacks without losing your mind
Buildout: How to maintain big app stacks without losing your mind
 
Opps I deployed it again-ploneconf2010
Opps I deployed it again-ploneconf2010Opps I deployed it again-ploneconf2010
Opps I deployed it again-ploneconf2010
 
Opps i deployed it again
Opps i deployed it againOpps i deployed it again
Opps i deployed it again
 
TestBrowser Driven Development: How to get bulletproof code from lazy developers
TestBrowser Driven Development: How to get bulletproof code from lazy developersTestBrowser Driven Development: How to get bulletproof code from lazy developers
TestBrowser Driven Development: How to get bulletproof code from lazy developers
 
How to host an app for $20 in 20min using buildout and hostout
How to host an app  for $20 in 20min using buildout and hostoutHow to host an app  for $20 in 20min using buildout and hostout
How to host an app for $20 in 20min using buildout and hostout
 

Surviving an earthquake's worth of traffic

  • 1. What does an earthquake look like? When you run an earthquake website Dylan Jay @djay75 dylan@pretaweb.com
  • 3. We do mostly do .gov.au
  • 4. Victorian SES ● Wanted CMS ● Wanted Multi-site ● Wanted it secure ● Wanted to theme it themselves ● That won't fall over in a disaster ● 99.99% uptime ● That's < 4.5min per month ● So we built it for them
  • 5.
  • 6. Architecture ● Lots of pipes → ● CDN → ● Nginx → ● Varnish → ● Haproxy → ● Zope/Plone → ● MySQL ● x2 (SA & NSW)
  • 8. It was load tested First checked with Funkload (it's python, it's good!) ● WebUnit ● Automated distributed testing Then with jmeter (SaaS) Then we got the hoster to do it :)
  • 10. 0 to 21Gbs and 130k rps ebay.com's traffic 10 billion page views/month With no warning
  • 11.
  • 12.
  • 15. What does an earthquake look like? When you run an earthquake website! Dylan Jay @djay75 dylan@pretaweb.com