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

Preview:

Citation preview

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Using the Cloud for Load Testing

Martin Kulov Microsoft Regional Director, VS ALM MVP

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Private & Public Cloud ITCamp 2012 sponsors

itcampro @ itcamp12 # Premium conference on Microsoft technologies

PERFORMANCE IS IMPORTANT!

itcampro @ itcamp12 # Premium conference on Microsoft technologies

INDUSTRY FACTS

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]

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Private & Public Cloud

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

Industry Facts

itcampro @ itcamp12 # Premium conference on Microsoft technologies

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

40% abandon websites that load longer than 3 sec

[Source: Forrester Consulting]

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

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]

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

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]

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]

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

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

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Private & Public Cloud

• Debugging • Profiling • Tracing • Measuring

Four pillars for better performance

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

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Private & Public Cloud

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

Pressure coming from….

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

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

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

itcampro @ itcamp12 # Premium conference on Microsoft technologies

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

itcampro @ itcamp12 # Premium conference on Microsoft technologies

Q & A Martin Kulov – martin@kulov.net