20

Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce
Page 2: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

Customers Are

Patient, Right?

Page 3: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

Jay SmithCTO and Co-Founder | Lagrange Systems

Page 4: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

No Patience for Poor Performance

ORDERS

40% Mobile

Poor mobile

experience

31%

are less likely

to make a

purchase from

that company

Page 5: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

Customers want it all - so give it to them!

TARGETED

CUSTOMER

INTERACTIONS

RESPONSIVE

WEBSITE

PERSONALIZATION

Page 6: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

But There’s a Catch

THESE CHANGES

ACTUALLY MAKE

PERFORMANCE

WORSE

NOT PERFECT!

Page 7: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

Number of Concurrent Visitors

HOW BIG OF A TRAFFIC FLOOD SHOULD WE EXPECT

FROM OUR LATEST MARKETING CAMPAIGN?

Page 8: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

How Visitors Relate to Performance

Page 9: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

Add

“bells and whistles”

DeployEncounter

performance problem

Scramble to

fix performance

by making

everything bigger

Build

eCommerce

websiteBIG

Need Fabulous

Page 10: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

So What Makes an Awesome Store?

Unique Concept Great CodeProper

AccelerationRight Sized

Infrastructure Awesome

Page 11: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

Site Must Haves for Performance

• Great code (SI expertise)

– Test system under load (not just single user performance)

Page 12: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

Example Load Test Results

0

10000

20000

30000

40000

50000

60000

70000

0.00

1000.00

2000.00

3000.00

4000.00

5000.00

6000.00

7000.00

8000.00

9000.00

10000.00

0:0

00

:02

0:0

50

:08

0:1

10

:14

0:1

70

:20

0:2

30

:25

0:2

80

:31

0:3

40

:37

0:4

00

:43

0:4

60

:48

0:5

10

:54

0:5

71

:00

1:0

31

:06

1:0

91

:12

1:1

41

:17

1:2

01

:23

1:2

61

:29

1:3

21

:35

1:3

71

:40

1:4

31

:46

1:4

91

:52

1:5

51

:58

2:0

02

:03

2:0

62

:09

2:1

22

:15

2:1

82

:21

2:2

42

:26

2:2

9

Mag

en

to U

sers

pe

r H

ou

r

Pag

e L

oad

Tim

e (

ms)

Pageload Avg Users Per Hour

Page 13: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

Site Must Haves for Performance

• Great code (SI expertise)

– Test system under load (not just single user performance)

• Proper acceleration

1. Reduce asset weight and optimize them for each device

2. Deliver optimized assets from CDN

3. Shard application domain to increase download parallelism

4. Cache everything to minimize backend processing

Page 14: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

Site Must Haves for Performance

• Great code (SI expertise)

– Test system under load (not just single user performance)

• Proper acceleration

1. Reduce asset weight and optimize them for each device

2. Deliver optimized assets from CDN

3. Shard application domain to increase download parallelism

4. Cache everything to minimize backend processing

• Right sized infrastructure

– Auto-scale to align capacity with real-time demand

Page 15: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

Server Creation Delay

Page 16: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

Server Scale-out versus Response Time

Page 17: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

Site Must Haves for Performance

• Great code (SI expertise)

– Test system under load (not just single user performance)

• Proper acceleration

– Reduce asset weight and optimize them for each device

– Deliver optimized assets from CDN

– Shard application domain to increase download parallelism

– Cache everything to minimize backend processing

• Right sized infrastructure

– Auto-scale to align capacity with real-time demand

• Automated monitoring and alerting

Page 18: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

True Story of Trumpet and Horn💻📱💻📱💻📱💻📱

😄😃😄😃😃😄😃😄

DATABASE

ADC

APP SERVERAPP SERVER

ADC ADCn

n

CD

N

SIGNIFICANT SPIKE IN TRAFFIC

1.58M FOLLOWERS

SITE DYNAMICALLY SCALES OUT

SATISFIED CUSTOMERS

Page 19: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

Q & A

Page 20: Customers Are - Magento...Site Must Haves for Performance • Great code (SI expertise) –Test system under load (not just single user performance) • Proper acceleration 1. Reduce

Thank [email protected]