23
itcampro @ itcamp12 # Premium conference on Microsoft technologies Using the Cloud for Load Testing Martin Kulov Microsoft Regional Director, VS ALM MVP

ITCamp 2012 - Martin Kulov - Using the cloud for load testing

  • Upload
    itcamp

  • View
    301

  • Download
    1

Embed Size (px)

Citation preview

Page 1: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Using the Cloud for Load Testing

Martin Kulov Microsoft Regional Director, VS ALM MVP

Page 2: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Private & Public Cloud ITCamp 2012 sponsors

Page 3: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

PERFORMANCE IS IMPORTANT!

Page 4: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

INDUSTRY FACTS

Page 5: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

47% of online shoppers expect page to load in 2 sec

[Source: Forrester Consulting]

Page 6: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Private & Public Cloud

• 47% of online shoppers expect page load in 2 sec

Industry Facts

Page 7: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

40% abandon websites that load longer than 3 sec

[Source: Forrester Consulting]

Page 8: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Private & Public Cloud

• 47% of online shoppers expect page load in 2 sec

• 40% abandon websites that load longer than 3 sec

Industry Facts

Page 9: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

56% of online bankers and brokers expect web pages to load in 2 seconds or less.

[Source: Forrester Consulting]

Page 10: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Private & Public Cloud

• 47% of online shoppers expect page load in 2 sec

• 40% abandon websites that load longer than 3 sec

• 56% of online bankers expect page load in 2 sec

Industry Facts

Page 11: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

1sec delay in page response can result in a 7% reduction in conversions.

[Source: gomez.com, akamai.com]

Page 12: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Private & Public Cloud

• If an e-commerce site is making $100,000 per day…

• …a 1 second page delay could potentially cost $2.5 million in lost sales every year.

• [Source: gomez.com, akamai.com]

Page 13: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Private & Public Cloud

• 47% of online shoppers expect page load in 2 sec

• 40% abandon websites that load longer than 3 sec

• 56% of online bankers expect page load in 2 sec

• 1 second delay - 7% conversions reduction

Industry Facts

Page 14: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Private & Public Cloud

• 47% of online shoppers expect page load in 2 sec

• 40% abandon websites that load longer than 3 sec

• 56% of online bankers expect page load in 2 sec

• 1 second delay - 7% conversions reduction

• Faster sites are ranked higher in Google

Industry Facts

Page 15: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Private & Public Cloud

• Debugging • Profiling • Tracing • Measuring

Four pillars for better performance

Page 16: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Private & Public Cloud

• Measure a single request • Measure hundreds of requests • …may be even more requests

Putting some pressure

Page 17: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Private & Public Cloud

• Locally (on premise) • Externally (partner network) • Distributed (cloud)

Pressure coming from….

Page 18: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Private & Public Cloud

• Easy to provision • Easy to scale out • Predictable cost • Geographically dispersed

(i.e. latency)

Why use Cloud

Page 19: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Private & Public Cloud

• …is a measure of time delay experienced in a system [Wikipedia]

• Keeps server resources occupied longer • Makes clients abandon the page

Latency

Page 20: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Private & Public Cloud Testing latency

• You can simulate bandwidth… • … but no latency • Request and response are impacted • Windows Azure allows us to simulate real

latency

Page 21: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

USING THE CLOUD FOR LOAD TESTING

Page 22: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Windows Azure

On-premise data center/ Private Cloud

Test Controller

Test Agent

Test Agent

Web02 Web01

DB

Test Agent

NLB

Azure Connect

Page 23: ITCamp 2012 - Martin Kulov - Using the cloud for load testing

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Q & A Martin Kulov – [email protected]