Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Stress Testing as A Culture

João Moura
November 19, 2014

Stress Testing as A Culture

If you are working on a serious project, you want it to scale. The thing about scale is, you only focus on it once you really need it. I’m the CTO of an soccer social network based in Brazil. To put it mildly, soccer is big in my country. This summer, we focused our marketing on the World Cup, preparing our application to support as many users as possible. To do that, we had to benchmark and improve, but how could we load test? What tool should we use? Those are just some questions that I'll go through in this talk, that will show youhot to address this challenge so stress test you app.

João Moura

November 19, 2014
Tweet

More Decks by João Moura

Other Decks in Programming

Transcript

  1. 0% 10% 20% 30% 40% 0 2 4 6 8

    10 Loadtime in seconds Page abandonment increase
  2. 0% 10% 20% 30% 40% 0 2 4 6 8

    10 Loadtime in seconds Page abandonment increase
  3. “Information stored in our short-term memory decays quickly, which is

    why we don’t perform as well when we have to wait (…) And after 10 seconds? You can pretty much forget about it. Literally.” Our need for web speed: It’s about neuroscience http://www.webperformancetoday.com/2012/03/21/neuroscience-page-speed-web-performance/
  4. ?

  5. Why and how increase the success rate of my application

    to meet the needs related to scale?
  6. •Optimize an existing feature or asset on the page. •Remove

    an existing feature or asset from the page.
  7. •Optimize an existing feature or asset on the page. •Remove

    an existing feature or asset from the page. •Don’t add the new feature or asset.
  8. 0% 25% 50% 75% 100% 1995 1997 1999 2001 2003

    2005 2007 2009 2011 2013 2015 2017 No Smartphone No Internet
  9. A free load testing service to stress test your web-apps

    & apis with thousands of concurrent connections.
  10. Wrap up! 1. Set goals, stick to it 2. Types

    of tests 3. Choose a tool 4. Make it a culture