21
Our Optimisation Story September 2011 Perry Dyball Ecommerce Operations Manager

Our Optimisation Story - · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

  • Upload
    buidiep

  • View
    216

  • Download
    3

Embed Size (px)

Citation preview

Page 1: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

Our Optimisation StoryOur Optimisation Story

September 2011

Perry Dyball

Ecommerce Operations Manager

Page 2: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

2009

CONFIDENTIAL DRAFT

2009

Page 3: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

No focus on performance

2008 had seen infrastructure instability

• Business was growing rapidly

• Start-up infrastructure could not cope with demand

• Issues with quality of data centre supplier

Moved data centre provision in Jan 2009

CONFIDENTIAL DRAFT

Focus was on UPTIME

Page 4: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

The kick we needed....

• Q4 2009

• Michael Bublé was the hottest act in town

• First ever TV advertising campaign

• National coverage

• 3 adverts scheduled during X -Factor / Michael Bublé

CONFIDENTIAL DRAFT

• 3 adverts scheduled during X -Factor / Michael Bublé special

• 15 seconds into play of first advert........

Page 5: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

2010

CONFIDENTIAL DRAFT

2010

Page 6: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

Why did we want to optimise?

It boils down to this ...

CONFIDENTIAL DRAFT

to save money and to make money

Page 7: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

Why did we need to optimise?

• Frequent releases with poor measurement and testing

• Speed to market versus slower engineering process

• Problem compounds & worsens over time

CONFIDENTIAL DRAFT

• Problem compounds & worsens over time

• No single culprit – all tiers of the platform

• Had the problem harmed our business?

• In the early start up phase – almost certainly not.

• Once we were established and growing fast – yes.

Page 8: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

Project Approach

Business buy-in

Make a singlechange

Baseline performance

CONFIDENTIAL DRAFT

change

Measure itAdapt your plan

Analyse results

Page 9: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

Tools we used

• WebPageTest.org

• Y-Slow / Firebug / Fiddler

• Site Confidence Monitoring Portal

• Site Confidence Performance Analyser

• IDERA (DB Monitoring)

CONFIDENTIAL DRAFT

• IDERA (DB Monitoring)

• SQL Profiling (Server Side)

• SQL Reporting Services

• Better use of our F5 LTM’s

Page 10: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

Phase 1 : Front End Optimisation

• Areas yielding highest benefit• Compression (check your configuration)

• Compression moved from IIS to F5 Load Balancer

• Object caching at F5 Load Balancer

• Reduction in HTTP Requests / Spriting / File Consolidation

• Image size consistency

CONFIDENTIAL DRAFT

• Image size consistency

• Removal of third party killers (Images/JS)

• Parallelism (CDN)

Page 11: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

Client Side / Page Optimisation Results

Page load performance both improved and

became more consistent

CONFIDENTIAL DRAFT

Page 12: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

Phase 2 : Back End Optimisation

• Database• Analyse web page db interaction

• Repeated tracing of all db calls

• Reports on worst performing aspects of the db

• Computing DB CPU per user session

CONFIDENTIAL DRAFT

• F5 Load Balancing

• Upgrade internal network layer configuration to 1Gbps

• Upgrade F5 O/S to V10.2

• F5 traffic management rules / log

• CDN

• Non image assets – JS / CSS serve from CDN

Page 13: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

DB CPU per user session

CONFIDENTIAL DRAFT

Page 14: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

The technical result

• Reduced HTTP Requests by 30%

• Reduced Page Load time by between 50% and 70%

• Reduced Page Size by between 22% and 33%

CONFIDENTIAL DRAFT

• Reduced Hard Bandwidth requirements by 43%

• Reduced DB CPU usage by 75%

• Increased Concurrent Users ceiling by 300%

Page 15: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

The business result - kerching!!

• We were up, when our competitors were down

• Able to handle x60 traffic peaks

• 30 days of revenue in 1 day

CONFIDENTIAL DRAFT

On-sale traffic TV Ad traffic

Page 16: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

2011

CONFIDENTIAL DRAFT

2011

Page 17: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

Don’t rest on your laurels....

• The year of social network integration

• New homepage design

• Advert re-targeting

• Development team .NET MVC adoption (yet more javasc ript)

• These cost us 50% of our previous gains

CONFIDENTIAL DRAFT

Page 18: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

How did we bring it back...

• Caching and self serving Facebook data

• No Facebook API calls on page load

• Suspension of a third party click tracking analysis

• Now 97% of pages load under our 3 second target (IE 8)

CONFIDENTIAL DRAFT

Page 19: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

2012

CONFIDENTIAL DRAFT

2012

Page 20: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

Our future challenges

• Maintaining our position

• Deal with the 3% over target - one is the home page

• Organic growth

• Latency from new non UK data centres

• Globalisation of the business / time zones

CONFIDENTIAL DRAFT

• Globalisation of the business / time zones

• As yet unknown product demands

• Performance challenges in the mobile space

Page 21: Our Optimisation Story -   · PDF fileOur Optimisation Story September 2011 ... • F5 traffic management rules / log • CDN ... The final message Performance

The final message

Performance

is just not for today...

CONFIDENTIAL DRAFT

is just not for today...

...it is for every day

More detail on the 2010 project at :

http://www.slideshare.net/sthair/seatwave-web-pefor mance-optimisation-case-study