SlideShare uma empresa Scribd logo
1 de 32
5/01/2013

BESTBUY.COM’S
CLOUD
ARCHITECTURE
WHO WE ARE
• Best Buy is the world’s largest multi-channel consumer
electronics retailer with stores in the United States, Canada,

China, Europe and Mexico.
• 11th largest online retailer
• More than 1.6 billion visitors to our stores and BestBuy.com each

year
• Reward Zone largest loyalty program in the U.S. – more than 40
million active members

• Provide customers with outstanding choice, unbiased advice
and unmatched support for the tech needs
May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
A UNIQUE CUSTOMER PROMISE
• THE LATEST DEVICES AND SERVICES, ALL IN ONE
PLACE

• IMPARTIAL & KNOWLEDGEABLE ADVICE
• COMPETITIVE PRICES
• THE ABILITY TO SHOP WHEN AND WHERE YOU
WANT
• SUPPORT FOR THE LIFE OF YOUR PRODUCTS

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
JOEL CRABB
• Chief Architect, BestBuy.com
• Building BestBuy.com’s Ecommerce Platform
• B.S. EE – Washington University in St. Louis

• M.S. NE – University of Wisconsin – Madison
• MBA – University of Minnesota – Carlson School

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
ARCHITECTURE OVERVIEW
• What’s included
—Non-functional goals
—Component system views
—Real examples

—Measurements and Volumes

• What’s not included
—Specific implementation details
—Products and company names
—Security information
May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
TERMINOLOGY – HOME PAGE

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
TERMINOLOGY – PRODUCT DETAIL PAGE

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
WHAT WE INHERITED
• Monolithic 10 year old architecture

• Minor UI changes took months
• 10,000 line JSPs was normal
• Long standing defects
• Chaotic build and deployment
• Unsatisfied business customers

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
CLOUD EXPERIMENTS - 2010
• Created a browse-only site to cover outages
—Always on cloud resident application
—Elastically scaled and available in around 10 minutes

• Smaller web properties in cloud
(myrewardzone.bestbuy.com)

• Test environments in cloud

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
CLOUD RE-ARCHITECTURE
• In 2011 we began planning a new Ecommerce
Platform
• Our traffic profile features an approximately 7X

peak around Thanksgiving
• Majority of traffic is browse and search
• Re-architect browse tier to cloud for elasticity,
scalability and reliability
• Served ~25% of traffic in 2012
May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
OVERARCHING CONCEPTS
• Split Traffic
—Browse is > 90% of traffic
—Commerce is most important traffic

• Cache everywhere
• Increase use of Content Delivery Network
• System Isolation

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
STAKEHOLDER REQUIREMENTS
• Scalability

• Flexibility
• Reliability

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
SCALABILITY GOALS
• Near-Infinite

• 7X traffic spikes

• Bursts

• Bursts > 50,000 rps
• #3 in eCommerce traffic during

holiday

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
FLEXIBILITY
GOALS
Low cost of change
Fast concepts to site
Daily releases
Multiple versions

One day of work vs. 2 months
RELIABILITY GOALS
• 100% availability
• Zero defects

• Achieved 100% cloud
uptime during Holiday

• ~ 2s response times

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
CLOUD DOMAIN
• Browse and Search traffic

• Non-transactional
• Non-persistent
• Non-sensitive data

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
CLOUD ARCHITECTURE CONCEPTS
• Clouds fail, plan for it
—Multiple availability zones
—Multiple regions
—Multiple vendors

• Datacenter connections fail, plan for it
—Serve pages completely from cloud
—Browse-only fallback mode

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
CLOUD ARCHITECTURE CONCEPTS
CDN: Global Traffic Manager

Browse Cloud

Browse Cloud

Vendor 1

Vendor 2

Best Buy Datacenter
May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
CLOUD ARCHITECTURE

Persistent Cache

Cloud Load Balancer
Web App

Web App

Service Aggregator

Product Data

Product Data

Datacenter

Legacy Services and Product Data

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
FRONT END APPLICATION
• HTML
• Javascript
• CSS

• Templating framework
• JSON Data Contract with Service Layer
• No Java/JSP in front end
• No MVC framework

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
FRONT END
FLEXIBILIT
Y
Decoupling from back
end allows freedom to
iterate and deploy

independent of back
end.

Swapped in Hottest Deals carousel
in December 2012 in one day.
FRONT END ARCHITECTURE
CDN: Global Traffic Manager
Browse
Traffic
Web Application
JSON Data Contract

Commerce
Traffic

Service Aggregator

Legacy Commerce Engine
May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
FRONT END: CDN USAGE
• CDN = Content Delivery Network
• Base page caching
• Edge Side Includes (ESI)

• Image caching
• Traffic routing to multiple clouds and DC
• Overall ~ 80% of requests served by CDN

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
SERVICES TIER
• Aggregation services
—Specific to each page
—Gathers data from 30-50 services
—Asynchronous
—Smart caching

• Granular services
—Specific related data
—Reusable across views

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
SERVICES AGGREGATOR - PDP
• Target of 1000ms for 99% of requests

99%
99%

95%
Avg

95%

AVG
May 1, 2013

@Copyright 2013 – Best Buy, Inc. All rights reserved.
DATA TIER
• NoSQL Product Catalog
—Schema flexibility
—Simple REST API
—Replication – Datacenter to Cloud
—Pulled from legacy product catalog
—Data available to all of Best Buy
—Reliable and Scalable
—~ 20 applications using data since inception

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
DATA FLOW
Cloud

Web
Application

Granular
Service

Aggregator
Service

NoSQL Product Data

Replication

Extraction

Datacenter
Legacy Product Data

NoSQL Product Data
May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
BEST PRACTICES
• Use a distributed service framework
—Netflix - Hystrix
—LinkedIn – Rest.li

• Understand velocity of change
—Front end is high velocity
• Lightweight
• Disposable

—Back end is low velocity
• Heavyweight
• Scalable
May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
BEST PRACTICES
• Staged Deployments
—Started with Home Page
—Ramped up traffic from 10 – 100% over weeks
—Added Product Detail Pages in phases

• Have a backup plan
—Legacy system left intact
—Occasional rollback to fix defects

• Automate Everything
—Consistently deploy 100s of cloud VMs
—Easily create test environments
May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
PROBLEMS ENCOUNTERED
• Data replication is hard at scale

• Scaling takes time
—Getting from 95% to 99% of calls to our expected SLAs
took months

• Legacy data issues
—Old data formats were difficult to use in redesigned UI

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
WHAT YOU SEE
Old PDP ~ 4 - 20 seconds

New PDP ~ 2.5 seconds

May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.
May 1, 2013
@Copyright 2013 – Best Buy, Inc. All rights reserved.

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Digital construction information management
Digital construction information managementDigital construction information management
Digital construction information management
 
Business Composability
Business ComposabilityBusiness Composability
Business Composability
 
Mendix learning by Sunil Kumar
Mendix learning by Sunil KumarMendix learning by Sunil Kumar
Mendix learning by Sunil Kumar
 
BIM for Project Managers
BIM for Project ManagersBIM for Project Managers
BIM for Project Managers
 
Bim implementation
  Bim implementation   Bim implementation
Bim implementation
 
Project Charter
Project CharterProject Charter
Project Charter
 
A real life case study of using Agile and PRINCE2 together - AgilePM
A real life case study of using Agile and PRINCE2 together - AgilePMA real life case study of using Agile and PRINCE2 together - AgilePM
A real life case study of using Agile and PRINCE2 together - AgilePM
 
BIM for Clients – The Why, What and How
BIM for Clients – The Why, What and HowBIM for Clients – The Why, What and How
BIM for Clients – The Why, What and How
 
BIM and VDC for Megaproject Construction Projects
BIM and VDC for Megaproject Construction ProjectsBIM and VDC for Megaproject Construction Projects
BIM and VDC for Megaproject Construction Projects
 
Application of BIM
Application of BIMApplication of BIM
Application of BIM
 
PMBOK® Guide Sixth Edition | Project Management Certification | PMP® Certific...
PMBOK® Guide Sixth Edition | Project Management Certification | PMP® Certific...PMBOK® Guide Sixth Edition | Project Management Certification | PMP® Certific...
PMBOK® Guide Sixth Edition | Project Management Certification | PMP® Certific...
 
Reference Architecture
Reference ArchitectureReference Architecture
Reference Architecture
 
Resume of a Digital Transformation Leader
Resume of a Digital Transformation LeaderResume of a Digital Transformation Leader
Resume of a Digital Transformation Leader
 
Togaf – architecture development method (adm)
Togaf – architecture development method (adm)Togaf – architecture development method (adm)
Togaf – architecture development method (adm)
 
Mendix Platform
Mendix PlatformMendix Platform
Mendix Platform
 
pega cssa sample Resume
 pega cssa sample Resume pega cssa sample Resume
pega cssa sample Resume
 
Agile software development
Agile software developmentAgile software development
Agile software development
 
Crutial steps in requirement gathering
Crutial steps in requirement gatheringCrutial steps in requirement gathering
Crutial steps in requirement gathering
 
Construction Project Process Flow
Construction Project Process FlowConstruction Project Process Flow
Construction Project Process Flow
 
Agile Methodology PPT
Agile Methodology PPTAgile Methodology PPT
Agile Methodology PPT
 

Destaque

Riak seattle-meetup-august
Riak seattle-meetup-augustRiak seattle-meetup-august
Riak seattle-meetup-august
pharkmillups
 
Be an agile architect
Be an agile architectBe an agile architect
Be an agile architect
joelcrabb
 
Riak Use Cases : Dissecting The Solutions To Hard Problems
Riak Use Cases : Dissecting The Solutions To Hard ProblemsRiak Use Cases : Dissecting The Solutions To Hard Problems
Riak Use Cases : Dissecting The Solutions To Hard Problems
Andy Gross
 

Destaque (20)

Cassandra and Riak at BestBuy.com
Cassandra and Riak at BestBuy.comCassandra and Riak at BestBuy.com
Cassandra and Riak at BestBuy.com
 
How does Riak compare to Cassandra? [Cassandra London User Group July 2011]
How does Riak compare to Cassandra? [Cassandra London User Group July 2011]How does Riak compare to Cassandra? [Cassandra London User Group July 2011]
How does Riak compare to Cassandra? [Cassandra London User Group July 2011]
 
Best Buy Web 2.0
Best Buy Web 2.0Best Buy Web 2.0
Best Buy Web 2.0
 
Pattern of Innovation
Pattern of InnovationPattern of Innovation
Pattern of Innovation
 
Riak add presentation
Riak add presentationRiak add presentation
Riak add presentation
 
Riak seattle-meetup-august
Riak seattle-meetup-augustRiak seattle-meetup-august
Riak seattle-meetup-august
 
Basho and Riak at GOTO Stockholm: "Don't Use My Database."
Basho and Riak at GOTO Stockholm:  "Don't Use My Database."Basho and Riak at GOTO Stockholm:  "Don't Use My Database."
Basho and Riak at GOTO Stockholm: "Don't Use My Database."
 
Be an agile architect
Be an agile architectBe an agile architect
Be an agile architect
 
A cloud computing primer for non-technical executives
A cloud computing primer for non-technical executivesA cloud computing primer for non-technical executives
A cloud computing primer for non-technical executives
 
Redis : Play buzz uses Redis
Redis : Play buzz uses RedisRedis : Play buzz uses Redis
Redis : Play buzz uses Redis
 
Scaling with Riak at Showyou
Scaling with Riak at ShowyouScaling with Riak at Showyou
Scaling with Riak at Showyou
 
Modelling Data as Graphs (Neo4j)
Modelling Data as Graphs (Neo4j)Modelling Data as Graphs (Neo4j)
Modelling Data as Graphs (Neo4j)
 
Riak Use Cases : Dissecting The Solutions To Hard Problems
Riak Use Cases : Dissecting The Solutions To Hard ProblemsRiak Use Cases : Dissecting The Solutions To Hard Problems
Riak Use Cases : Dissecting The Solutions To Hard Problems
 
An intro to Neo4j and some use cases (JFokus 2011)
An intro to Neo4j and some use cases (JFokus 2011)An intro to Neo4j and some use cases (JFokus 2011)
An intro to Neo4j and some use cases (JFokus 2011)
 
Recommendations with Neo4j (FOSDEM 2015)
Recommendations with Neo4j (FOSDEM 2015)Recommendations with Neo4j (FOSDEM 2015)
Recommendations with Neo4j (FOSDEM 2015)
 
Redis use cases
Redis use casesRedis use cases
Redis use cases
 
Advanced Neo4j Use Cases with the GraphAware Framework
Advanced Neo4j Use Cases with the GraphAware FrameworkAdvanced Neo4j Use Cases with the GraphAware Framework
Advanced Neo4j Use Cases with the GraphAware Framework
 
Modelling Data in Neo4j (plus a few tips)
Modelling Data in Neo4j (plus a few tips)Modelling Data in Neo4j (plus a few tips)
Modelling Data in Neo4j (plus a few tips)
 
Introduction to Redis Data Structures: Sorted Sets
Introduction to Redis Data Structures: Sorted SetsIntroduction to Redis Data Structures: Sorted Sets
Introduction to Redis Data Structures: Sorted Sets
 
Redis and its many use cases
Redis and its many use casesRedis and its many use cases
Redis and its many use cases
 

Semelhante a The BestBuy.com Cloud Architecture

2 one spot redshift bigdatacamp 1.02
2 one spot redshift bigdatacamp 1.022 one spot redshift bigdatacamp 1.02
2 one spot redshift bigdatacamp 1.02
Valerie Akinson Brown
 
2 one spot redshift bigdatacamp 1.02
2 one spot redshift bigdatacamp 1.022 one spot redshift bigdatacamp 1.02
2 one spot redshift bigdatacamp 1.02
BigDataCamp
 
Case study - Nuskin: Statefull Applications in a Stateless World
Case study - Nuskin: Statefull Applications in a Stateless WorldCase study - Nuskin: Statefull Applications in a Stateless World
Case study - Nuskin: Statefull Applications in a Stateless World
Day Software
 

Semelhante a The BestBuy.com Cloud Architecture (20)

Object Storage: How Can it Work for You
Object Storage: How Can it Work for YouObject Storage: How Can it Work for You
Object Storage: How Can it Work for You
 
Building a data driven search application with LucidWorks SiLK
Building a data driven search application with LucidWorks SiLKBuilding a data driven search application with LucidWorks SiLK
Building a data driven search application with LucidWorks SiLK
 
Build and Manage Hadoop & Oracle NoSQL DB Solutions- Impetus Webinar
Build and Manage Hadoop & Oracle NoSQL DB Solutions- Impetus WebinarBuild and Manage Hadoop & Oracle NoSQL DB Solutions- Impetus Webinar
Build and Manage Hadoop & Oracle NoSQL DB Solutions- Impetus Webinar
 
The Modern Database for Enterprise Applications
The Modern Database for Enterprise ApplicationsThe Modern Database for Enterprise Applications
The Modern Database for Enterprise Applications
 
Cloudian Webinar - 7 Key Reasons why Object Storage lowers Storage TCO
Cloudian Webinar - 7 Key Reasons why Object Storage lowers Storage TCOCloudian Webinar - 7 Key Reasons why Object Storage lowers Storage TCO
Cloudian Webinar - 7 Key Reasons why Object Storage lowers Storage TCO
 
2 one spot redshift bigdatacamp 1.02
2 one spot redshift bigdatacamp 1.022 one spot redshift bigdatacamp 1.02
2 one spot redshift bigdatacamp 1.02
 
2 one spot redshift bigdatacamp 1.02
2 one spot redshift bigdatacamp 1.022 one spot redshift bigdatacamp 1.02
2 one spot redshift bigdatacamp 1.02
 
2 one spot redshift bigdatacamp 1.02
2 one spot redshift bigdatacamp 1.022 one spot redshift bigdatacamp 1.02
2 one spot redshift bigdatacamp 1.02
 
The Shifting Landscape of Data Integration
The Shifting Landscape of Data IntegrationThe Shifting Landscape of Data Integration
The Shifting Landscape of Data Integration
 
Weathering the Data Storm – How SnapLogic and AWS Deliver Analytics in the Cl...
Weathering the Data Storm – How SnapLogic and AWS Deliver Analytics in the Cl...Weathering the Data Storm – How SnapLogic and AWS Deliver Analytics in the Cl...
Weathering the Data Storm – How SnapLogic and AWS Deliver Analytics in the Cl...
 
Google Cloud Platform
Google Cloud PlatformGoogle Cloud Platform
Google Cloud Platform
 
Deliver Best-in-Class HPC Cloud Solutions Without Losing Your Mind
Deliver Best-in-Class HPC Cloud Solutions Without Losing Your MindDeliver Best-in-Class HPC Cloud Solutions Without Losing Your Mind
Deliver Best-in-Class HPC Cloud Solutions Without Losing Your Mind
 
Technology Trends in 2013-2014
Technology Trends in 2013-2014Technology Trends in 2013-2014
Technology Trends in 2013-2014
 
Couchbase 3.0.2 d1
Couchbase 3.0.2  d1Couchbase 3.0.2  d1
Couchbase 3.0.2 d1
 
MPMA 2013 - Leveraging the Cloud for Museum Collections
MPMA 2013  - Leveraging the Cloud for Museum CollectionsMPMA 2013  - Leveraging the Cloud for Museum Collections
MPMA 2013 - Leveraging the Cloud for Museum Collections
 
Cassandra and Riak at BestBuy.com
Cassandra and Riak at BestBuy.comCassandra and Riak at BestBuy.com
Cassandra and Riak at BestBuy.com
 
Get up to speed cloud computing and apps yeovil 9.06.15
Get up to speed   cloud computing and apps yeovil 9.06.15Get up to speed   cloud computing and apps yeovil 9.06.15
Get up to speed cloud computing and apps yeovil 9.06.15
 
Getting Managers to Ride the Cloud
Getting Managers to Ride the CloudGetting Managers to Ride the Cloud
Getting Managers to Ride the Cloud
 
How to Increase Hosting Company Profits and Capture Market Share
How to Increase Hosting Company Profits and Capture Market ShareHow to Increase Hosting Company Profits and Capture Market Share
How to Increase Hosting Company Profits and Capture Market Share
 
Case study - Nuskin: Statefull Applications in a Stateless World
Case study - Nuskin: Statefull Applications in a Stateless WorldCase study - Nuskin: Statefull Applications in a Stateless World
Case study - Nuskin: Statefull Applications in a Stateless World
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Último (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 

The BestBuy.com Cloud Architecture

  • 2. WHO WE ARE • Best Buy is the world’s largest multi-channel consumer electronics retailer with stores in the United States, Canada, China, Europe and Mexico. • 11th largest online retailer • More than 1.6 billion visitors to our stores and BestBuy.com each year • Reward Zone largest loyalty program in the U.S. – more than 40 million active members • Provide customers with outstanding choice, unbiased advice and unmatched support for the tech needs May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 3. A UNIQUE CUSTOMER PROMISE • THE LATEST DEVICES AND SERVICES, ALL IN ONE PLACE • IMPARTIAL & KNOWLEDGEABLE ADVICE • COMPETITIVE PRICES • THE ABILITY TO SHOP WHEN AND WHERE YOU WANT • SUPPORT FOR THE LIFE OF YOUR PRODUCTS May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 4. JOEL CRABB • Chief Architect, BestBuy.com • Building BestBuy.com’s Ecommerce Platform • B.S. EE – Washington University in St. Louis • M.S. NE – University of Wisconsin – Madison • MBA – University of Minnesota – Carlson School May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 5. ARCHITECTURE OVERVIEW • What’s included —Non-functional goals —Component system views —Real examples —Measurements and Volumes • What’s not included —Specific implementation details —Products and company names —Security information May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 6. TERMINOLOGY – HOME PAGE May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 7. TERMINOLOGY – PRODUCT DETAIL PAGE May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 8. WHAT WE INHERITED • Monolithic 10 year old architecture • Minor UI changes took months • 10,000 line JSPs was normal • Long standing defects • Chaotic build and deployment • Unsatisfied business customers May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 9. CLOUD EXPERIMENTS - 2010 • Created a browse-only site to cover outages —Always on cloud resident application —Elastically scaled and available in around 10 minutes • Smaller web properties in cloud (myrewardzone.bestbuy.com) • Test environments in cloud May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 10. CLOUD RE-ARCHITECTURE • In 2011 we began planning a new Ecommerce Platform • Our traffic profile features an approximately 7X peak around Thanksgiving • Majority of traffic is browse and search • Re-architect browse tier to cloud for elasticity, scalability and reliability • Served ~25% of traffic in 2012 May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 11. OVERARCHING CONCEPTS • Split Traffic —Browse is > 90% of traffic —Commerce is most important traffic • Cache everywhere • Increase use of Content Delivery Network • System Isolation May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 12. STAKEHOLDER REQUIREMENTS • Scalability • Flexibility • Reliability May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 13. SCALABILITY GOALS • Near-Infinite • 7X traffic spikes • Bursts • Bursts > 50,000 rps • #3 in eCommerce traffic during holiday May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 14. FLEXIBILITY GOALS Low cost of change Fast concepts to site Daily releases Multiple versions One day of work vs. 2 months
  • 15. RELIABILITY GOALS • 100% availability • Zero defects • Achieved 100% cloud uptime during Holiday • ~ 2s response times May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 16. CLOUD DOMAIN • Browse and Search traffic • Non-transactional • Non-persistent • Non-sensitive data May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 17. CLOUD ARCHITECTURE CONCEPTS • Clouds fail, plan for it —Multiple availability zones —Multiple regions —Multiple vendors • Datacenter connections fail, plan for it —Serve pages completely from cloud —Browse-only fallback mode May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 18. CLOUD ARCHITECTURE CONCEPTS CDN: Global Traffic Manager Browse Cloud Browse Cloud Vendor 1 Vendor 2 Best Buy Datacenter May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 19. CLOUD ARCHITECTURE Persistent Cache Cloud Load Balancer Web App Web App Service Aggregator Product Data Product Data Datacenter Legacy Services and Product Data May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 20. FRONT END APPLICATION • HTML • Javascript • CSS • Templating framework • JSON Data Contract with Service Layer • No Java/JSP in front end • No MVC framework May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 21. FRONT END FLEXIBILIT Y Decoupling from back end allows freedom to iterate and deploy independent of back end. Swapped in Hottest Deals carousel in December 2012 in one day.
  • 22. FRONT END ARCHITECTURE CDN: Global Traffic Manager Browse Traffic Web Application JSON Data Contract Commerce Traffic Service Aggregator Legacy Commerce Engine May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 23. FRONT END: CDN USAGE • CDN = Content Delivery Network • Base page caching • Edge Side Includes (ESI) • Image caching • Traffic routing to multiple clouds and DC • Overall ~ 80% of requests served by CDN May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 24. SERVICES TIER • Aggregation services —Specific to each page —Gathers data from 30-50 services —Asynchronous —Smart caching • Granular services —Specific related data —Reusable across views May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 25. SERVICES AGGREGATOR - PDP • Target of 1000ms for 99% of requests 99% 99% 95% Avg 95% AVG May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 26. DATA TIER • NoSQL Product Catalog —Schema flexibility —Simple REST API —Replication – Datacenter to Cloud —Pulled from legacy product catalog —Data available to all of Best Buy —Reliable and Scalable —~ 20 applications using data since inception May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 27. DATA FLOW Cloud Web Application Granular Service Aggregator Service NoSQL Product Data Replication Extraction Datacenter Legacy Product Data NoSQL Product Data May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 28. BEST PRACTICES • Use a distributed service framework —Netflix - Hystrix —LinkedIn – Rest.li • Understand velocity of change —Front end is high velocity • Lightweight • Disposable —Back end is low velocity • Heavyweight • Scalable May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 29. BEST PRACTICES • Staged Deployments —Started with Home Page —Ramped up traffic from 10 – 100% over weeks —Added Product Detail Pages in phases • Have a backup plan —Legacy system left intact —Occasional rollback to fix defects • Automate Everything —Consistently deploy 100s of cloud VMs —Easily create test environments May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 30. PROBLEMS ENCOUNTERED • Data replication is hard at scale • Scaling takes time —Getting from 95% to 99% of calls to our expected SLAs took months • Legacy data issues —Old data formats were difficult to use in redesigned UI May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 31. WHAT YOU SEE Old PDP ~ 4 - 20 seconds New PDP ~ 2.5 seconds May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.
  • 32. May 1, 2013 @Copyright 2013 – Best Buy, Inc. All rights reserved.