19
July 24, 2014 Webcast with Target: API Performance Testing for Black Friday

Webcast with Target: API Performance Testing for Black Friday

  • Upload
    apigee

  • View
    927

  • Download
    3

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

Page 1: Webcast with Target: API Performance Testing for Black Friday

July 24, 2014

Webcast with Target: API Performance Testing for Black Friday

Page 2: Webcast with Target: API Performance Testing for Black Friday

Today’s speakers

Aaron StreyTarget@Strey203

Greg BrailApigee@gbrail

Page 3: Webcast with Target: API Performance Testing for Black Friday

CC BY-SA 3

Apigee social channels

YouTubehttp://youtube.com/apigee

Slideshare

http://slideshare.com/apigee

Page 4: Webcast with Target: API Performance Testing for Black Friday

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

Page 5: Webcast with Target: API Performance Testing for Black Friday

Generating load

5

Page 6: Webcast with Target: API Performance Testing for Black Friday

Treat your test scripts like you treat your code

6

Page 7: Webcast with Target: API Performance Testing for Black Friday

Predicting traffic

7

“Make everything as simple as possible, but not simpler.” -Albert Einstein

Page 8: Webcast with Target: API Performance Testing for Black Friday

Predicting net new API consumer usage is really hard

8

Page 9: Webcast with Target: API Performance Testing for Black Friday

Log and monitor all the things

9

Page 10: Webcast with Target: API Performance Testing for Black Friday

Example metrics

10

Page 11: Webcast with Target: API Performance Testing for Black Friday

Example metrics

Page 12: Webcast with Target: API Performance Testing for Black Friday

Test APIs for anti-fragility

12

Page 13: Webcast with Target: API Performance Testing for Black Friday

Test APIs continuously

13

Page 14: Webcast with Target: API Performance Testing for Black Friday

Keep ownership of performance testing as close to the development team as

possible

14

Page 15: Webcast with Target: API Performance Testing for Black Friday

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

Page 16: Webcast with Target: API Performance Testing for Black Friday

The hard stuff

16

Page 17: Webcast with Target: API Performance Testing for Black Friday

Key takeaway

17

Performance testing is a first-

class citizen

Page 18: Webcast with Target: API Performance Testing for Black Friday

Questions?

Aaron StreyTarget@strey203

Greg BrailApigee@gbrail

Page 19: Webcast with Target: API Performance Testing for Black Friday

Thank you

11 February 2014