Upload
apigee
View
927
Download
3
Tags:
Embed Size (px)
DESCRIPTION
In 2013, consumers spent $1.96 billion online with U.S. retailers on Black Friday, representing an 18.5% increase over 2012. Discover how Target, one of the nation’s largest retailers, planned for this—their biggest API event of their year. Aaron Strey from Target, an Apigee customer, and Greg Brail from Apigee will deep dive into the technical challenges of meeting massive business demand, supporting huge traffic surges, and optimizing API load and performance testing. Join to learn: • How to forecast load for peak events • Effective ways to create tests to measure predicted load • Continuous load testing to be better prepared next time • Best load testing and performance tools Download video: http://youtu.be/X03M6CL-FSA Download podcast: http://bit.ly/1rn1Jge Download eBook: Are you where your customers are? http://bit.ly/1puABrr Download eBook: Mobile mandate for retail http://bit.ly/1rwzbCD
Citation preview
July 24, 2014
Webcast with Target: API Performance Testing for Black Friday
Today’s speakers
Aaron StreyTarget@Strey203
Greg BrailApigee@gbrail
CC BY-SA 3
Apigee social channels
YouTubehttp://youtube.com/apigee
Slideshare
http://slideshare.com/apigee
Target processes tens of millions of API requests per
day
For a brief period around Black Friday we see a ~10-
fold increase in traffic
4
Generating load
5
Treat your test scripts like you treat your code
6
Predicting traffic
7
“Make everything as simple as possible, but not simpler.” -Albert Einstein
Predicting net new API consumer usage is really hard
8
Log and monitor all the things
9
Example metrics
10
Example metrics
Test APIs for anti-fragility
12
Test APIs continuously
13
Keep ownership of performance testing as close to the development team as
possible
14
Types of tests
15
Stress: determines the load you can handle and still meet your SLA
Load: 80% of stress
Soak: 80% of load for an extended period
Spike: 80% of load to 120% of load back and forth
The hard stuff
16
Key takeaway
17
Performance testing is a first-
class citizen
Questions?
Aaron StreyTarget@strey203
Greg BrailApigee@gbrail
Thank you
11 February 2014