Top Banner
‘Tis the Season A Holiday 2014 Ecommerce Checklist Preparing for best case retail success
64

Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Jul 15, 2015

Download

Technology

SOASTA
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

‘Tis the SeasonA Holiday 2014 Ecommerce Checklist

Preparing for best case retail success

Page 2: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Holiday

2013 was

BIG

Page 3: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Page 4: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

2014 will be

BIGGER

Page 5: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Page 6: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

mobile

matters

Page 7: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Page 8: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

your site

needs to

PERFORM

Page 9: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

40 % abandon a

website that takes

more than 3

seconds to load

A 1 second delay

in page response

can result in a 7%

reduction in

conversions

79% of shoppers who

are dissatisfied with

website performance

are less likely to buy

from the same site

again.

Page 10: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

If an ecommerce site is making

$10,000 a day, a 1 second

delay could cost you

$250,000 in lost sales every

year

Page 11: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Start NowPrepare for the holiday rush

Page 12: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

‘Tis the SeasonA Holiday 2014 Ecommerce Checklist

Preparing for best case retail success

Page 13: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Elizabeth Scott, Tenzing

Director of Technical Services

@BethxScott

Brad Johnson, SOASTA

VP Product Marketing

@bradjohnsonsv

Your Hosts

Page 14: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Infrastructure and Application

Monitoring

Load Testing

Marketing

Agenda

Page 15: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Poll Question

Page 16: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Page 17: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Infrastructure and Application

Page 18: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Assess Your Infrastructure

Current infrastructure

performance and capacity

baseline:

Server

Hardware

Storage

Network

Database

Application

Page 19: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Assess Your Infrastructure

Know how many users can be on

your site: Do a load test

Understand your vendor’s capacity

planning process

Develop an emergency capacity plan

Page 20: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Ensure your

environment is up to date

on latest patch levels

Develop an emergency

patch and security plan

Secure Your Environment

Page 21: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Ensure ports on your

servers are not open

unnecessarily

Limit access

Secure Your Environment

Page 22: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Develop and test your

Denial of Service

response strategy

Run a vulnerability scan

Secure Your Environment

Page 23: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Tune queries,

search results and

session limits

Leverage a CDN

Tune Your Application

Page 24: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Find free capacity:

Adjust your caching

Adjust ‘type ahead’ search

Remove/adjust view all options

Adjust other features which are resource

hogs

Tune Your Application

Page 25: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Monitoring

Page 26: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Application Performance

End User Experience

Traffic Levels

Measure, Analyze, Act

Page 27: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

•Upstream Connections

Payment Gateway

Shipping and Fulfillment

Measure, Analyze, Act

Page 28: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Plan for the Inevitable

Page 29: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Assess your risk …

WHAT WILL GO

DOWN AND WHY?

Plan for the Inevitable

Page 30: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

•Create a plan

Website overload plan

Incident response plan

Security/DoS response plan

Plan for the Inevitable

Page 31: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

COMMUNICATE

Plan for the Inevitable

Page 32: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Modern Load Testing

Page 33: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

True Story

Page 34: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

• Division of $6B Company

True Story

Page 35: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

• Division of $6B Company

• Cyber Monday & last Free Shipping Day

True Story

Page 36: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

• Division of $6B Company

• Cyber Monday & last Free Shipping Day

• “We wouldn’t disrupt the plan”

True Story

Page 37: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

• Division of $6B Company

• Cyber Monday & last Free Shipping Day

• “We wouldn’t disrupt the plan”

• Crashed on Cyber Monday

True Story

Page 38: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

• Division of $6B Company

• Cyber Monday & last Free Shipping Day

• “We wouldn’t disrupt the plan”

• Crashed on Cyber Monday

• No answers on Thursday

True Story

Page 39: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

• Division of $6B Company

• Cyber Monday & last Free Shipping Day

• “We wouldn’t disrupt the plan”

• Crashed on Cyber Monday

• No answers on Thursday

• Production testing on Friday

reproduced the issue

True Story

Page 40: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Is there anything missing from the

plan?

Page 41: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Prerequisite:

Know Your

Real Users

Modern Load Testing

Stop guessing

about what to test

Page 42: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Most accurate models of real user

behavior

Meaningful scale & appropriate

concurrency

Control to start, stop & modify tests

without delays

Test on your schedule

Modern Load Testing

Test for spikes – using the cloud

Page 43: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Failover Scenarios

Success Disasters

End to End

Test what you don’t think needs to be

tested

Modern Load Testing

Page 44: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Measure,

Test and Act

in Real Time

Modern Load Testing

Page 45: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Don’t Wait until it’s too late

Compress processes for more test iterations

Traditional

Approach

TIME

Test development Infra. setup Fix Repeat?RetestTest Analyze

Modern Load Testing

Page 46: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Don’t Wait until it’s too late

Compress processes for more test iterations

/

Traditional

Approach

TIME

Test development Infra. setup Fix Repeat?RetestTest Analyze

CloudTest

Modern Load Testing

Page 47: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Don’t Wait until it’s too late

Compress processes for more test iterations

/

Traditional

Approach

TIME

Test development Infra. setup Fix Repeat?RetestTest Analyze

/ / / / Extra time!CloudTest

Modern Load Testing

Page 48: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Use real user data to

iterate dev & test plans

Run iterative load

tests via Jenkins

Daily (or more frequent) updates

keep teams quality focused

Embedded failure

details & bottleneck

data isolate issues

Manage to a

performance

baseline

Mobile? Run functional

automation on real devices

for functional & performance

validation

Spin up suitable, consistent

test environments in the

cloud or the lab

Jenkins runs any

unit tests as usual

Test Continuously – including performance!

5. Don’t Wait

Page 49: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

s

Memory leaks

Test Scale

Sta

ge / T

eam

Dev

& Test

Release

& Deploy

Network

& OpsCDN file placement

Load Balancer configuration

Network bandwidth

Network configuration

DNS routing

Inadequate server resources

Default configuration settings

Unbalanced web serversAuto-scaling failures

Latency between systems

Slow third-party plug-ins

Garbage collection

Database thread counts

Inefficient database queriesSlow pages

Conflict with other apps

Test Lab Staging Production (100% +++)

Search technology limits

Method-level tuning

Max sockets exceeded

Firewall max capacity

Global latency variance

Security bottlenecks

Continuous tuning for full-scale…and well beyond

Start early, end in the real environment

6. Test in production and at Production scale

Page 50: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Page 51: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

• Tests for flash sales with

unknown spikes

• mPulse analyzes real user

performance

• Continuous tests of mobile

and web traffic

“SOASTA was very easy to work with and could

accommodate our requirements in a four-week

timeframe.” Gavin Cliffe, OZSale CTO.

OZSale

Page 52: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

NO

ISSUES

“SOASTA was very easy to work with and could

accommodate our requirements in a four-week

timeframe.” Gavin Cliffe, OZSale CTO.

OZSale

160%

more

visitors

$5M

AUD in

one sale

50%

mobile

Page 53: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Critical Factors for

Performance Testing Retail Sites

Test for spikes

Test what you think

doesn’t need to be

tested

Test expecting failure

Analyze & act in real

time

Don’t forget about the

user experience

Monitor everything

Don’t wait until just

before the holidays

Test in production

Page 54: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Marketing

Page 55: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Communicate your campaign plan

internally and with stakeholders

Establish a campaign change

process

Approval

Communication

Campaign Management

Page 56: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Establish a change

freeze on application

and infrastructure

Limit publishing and

catalogue changes

Campaign Management

Page 57: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Campaign Best Practices

Page 58: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Segment your list into

smaller groups

Trickle your email

Manage your media content

Email Best Practices

Page 59: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Don’t get too fancy

Develop test cases

for all of your discount

codes

Promotions and Discounts

Page 60: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Avoid using discount

structures that require a

database search

Don’t use new discount

structures

Promotions and Discounts

Page 61: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

TEST, TEST, TEST!

Promotions and Discounts

Page 62: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Are you interested

in a FREE Retail

Readiness

Performance Test

Page 63: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

Contact SOASTA:

www.soasta.com

[email protected]

866.344.8766

Follow us:

Twitter.com/cloudtest

Facebook.com/cloudtest

Retail Readiness Page:

soasta.com/retail-readiness/

Case studies:

soasta.com/customers/ecommerce/

Webinars future and past:

soasta.com/knowledge-center/webinars/

CloudTest Lite is FREE (forever)!

soasta.com/FREE

Resources from SOASTA

Thank you

Page 64: Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness

www.SOASTA.com

more than managed hosting. commerce anywhere.

www.tenzing.com