SlideShare ist ein Scribd-Unternehmen logo
1 von 60
Platform Architecture for
OmniChannel Retail
O’Reilly Software Architecture Conference
London, October 16, 2017
Background
VP, Architecture and
Chief Architect – Target
Former Chief Architect & Head of
Digital Engineering - Best Buy
Plan for Today
• Context of the omnichannel retail environment
• Legacy architecture overview
• Platform architecture
• Platform examples
Ask questions any time.
OmniChannel Retail
Target is Omnichannel
• 1,806 stores in the United States
• 38 distribution centers in the U.S
• 323,000 team members worldwide
• Global locations in India
• Target.com is the fourth most-visited
retail website in the U.S. with more than
26 million unique visitors each month
on average
Omnichannel Retail
Commerce
• Physical
• Online
• Mobile
• Partner
• Voice
• Text
• Social
Customer Interaction
• Store Associate
• Call Center
• Mobile App
• Online Chat
• Email
• Text
• Social
• Augmented Reality
Customer Fulfillment
• Shopping bags
• Ship to home
• Ship to store
• In-Store pickup
• Car park pickup
• Same day delivery
• Partner direct ship
• Digital goods
Omnichannel Retail Evolving Rapidly
Every step of the retail value chain is being disrupted
• Import and Logistics (Direct to Consumer, Crowdsourced Delivery)
• Selection & Curation (Online Search and Recommendations)
• Trips to Stores (Same Day Delivery, Personal Shoppers)
• Online Mega-Retailers (Everything Store)
• Online Micro-Retailers (Single Category Specialists)
• Checkout process (Self-checkout, Automated checkout)
Legacy Architecture
70% of capabilities
tied to mainframe
3000+ Applications
Stores
Digital
Supply Chain
Marketing
Merchandising
Product Development
Corporate
7000+ RDBMS
Operationally siloed
Legacy Footprint
External Cloud
Infrastructure
Owned Datacenter
Leased Datacenter
External Cloud
Store
. . .
Store
1800 Stores
Ware
house
Ware
house
. . .
32 Warehouses
Owned Datacenter
Digital SiloStore Silo Supply Chain Silo Corporate Silo
Each box contains infrastructure onsite
Office
. . .
Office
~40 Offices
Worldwide
Official Data Sources
Direct DB
Connections
Store SiloDigital Silo Marketing Silo Supply Chain Silo Corporate Silo
UDS
HR Finance
Batch ETLs
UDS
Legacy Architecture
UDS = Unofficial Data Sources
POS CRM WMS
Logist
ics
Pricing
UDSUDSUDSUDSUDSUDSUDSUDS
In-
Store
.COM Mobile
X
Mainframe
Dependency
Graph
Each node is a
table, each
name is an
application
that writes to
that table
Platform Architecture
What is a Platform?
A set of technologies that are the fundamental building
blocks of custom applications
1. Primitive components
2. A defined surface
3. Extension points
A Platform Has:
What is a Retail Platform?
A set of primitive APIs and Services that
represent the data, processes and business
logic required to complete customer
transactions
Retail Platform Primitives - Examples
• Item API
• Price API
• Inventory API
• Location API
• Tax API
• Customer API
• Worker API
• Checkout API
• Cart API
• Restrictions API
• Returns API
• Address Verification API
• Item Movement API
• Shift Management API
Data Process and Logic
Primitive componentsA Platform Has:
Retail Defined Surface
The complete set of retail platform primitives
that define the core components of a retailer
A defined surfaceA Platform Has:
Retail Platform Extension Points
All retail platform primitives can be
extended by users of the platform
Extension pointsA Platform Has:
Worker
Price
API
Retail Platform Architecture
Custo
mer
Locati
on
Tax OrderPrice ItemPromo Vendor
Data that cannot be derived from other data or is generated
during common business processes of the company, divided
into the logical domain entities of the business
Promo
API
Tax
API
Custo
mer
API
Location
API
Order
API
Item
API
Worker
API
Vendor
API
Core Data
Primitive component
Item-Location-Price API
Retail Platform Architecture
Pre-joined and cached core data, used to pre-calculate
commonly used data patterns and protect core data services
from excessive load
Customer-Orders API Item-Offer API
Item-Location-Price
Cache
Customer-Orders
Cache
Item-Offer
Cache
Core Data Aggregations
Primitive component
Checkout API
Retail Platform Architecture
The generic components of a business process, presented as
an API, that can be used by all channels that execute the
business process
Cart API Item Setup API Offer Setup API
Payment API Fulfillment API Returns API
Fundamental Business Process
Primitive component
Restrictions API
Retail Platform Architecture
The proprietary logic of the business, presented as an
API, that is used by all channels that require that
business logic
Cart Price API Worker Pay API Address Verification API
Fundamental Business Logic
Primitive component
Business Logic
Retail Platform Architecture
Business Process Data Aggregation
Worker
Price
API
Custo
mer
Locati
on
Tax OrderPrice ItemPromo Vendor
Promo
API
Tax
API
Custo
mer
API
Location
API
Order
API
Item
API
Worker
API
Vendor
API
Platform
Logic Data
Platform
Process Data
Platform
Cache
Fundamental Platform Components
Primitive components
Business Logic
Retail Platform Architecture
Price
API
Promo
API
Tax
API
Custo
mer
API
Location
API
Order
API
Item
API
Worker
API
Vendor
API
Restrictions API
Cart Price API
Worker Pay API
Addr Verify API
Checkout API Cart API
Item Setup API
Offer Setup API
Payment API
Fulfillment API
Returns API
Business Process Data Aggregations
Item-Location-Price API
Customer-Orders API
Item-Offer API
Core Data
Retail Platform Surface
A defined surface
What is a Tenant?
• Tenant drives an interaction with an actor
• Tenants are coarse grained around a channel (digital, store, supply
chain, corporate)
• Isolation from other tenants
• Can only call services within the tenant, or provided by the platform
A user of the platform that builds applications using and
extending the platform primitives
Business Logic
Extension
Retail Platform Architecture
Business Process
Extension
Service
Aggregator
Forward
Cache
Tenant
Process Data
Tenant
Logic Data
View Controller
User Interface
Tenant Specific
APIs
Tenant
Data
View Controller
User Interface
View Controller
User Interface
Single Tenant Components
Extension points
Retail Platform Architecture
Tenant
Tenant and Platform
Tenant Tenant
Business Logic APIs Business Process APIs Data Aggregation APIs
Core Data APIs – READ ONLY
Worker
Custo
mer
Locati
on
Tax OrderPrice ItemPromo Vendor
Tenants
Platform
Eventual Consistency
• The Core Data layer contains the true real-time operational data –
source of truth
• Core Data is exposed to the Platform as READ ONLY
• All other layers are caches
• Tenants operate almost exclusively off caches
• Tenant applications must be designed for eventual consistency
Events
• All data changes are events
• Tenants do not write to Core Data
• Tenants emit events
• Core Data listeners process events
Retail Platform Architecture Data Change Event
Item-Price API
Tenants
Platform
Merchandising Tenant
Item-Price Cache
Price Management API
Item-Price
Cache
Price
API
Price
Price
Event
Price Event
Listener
Price
Update
Real Price
Event
Item-Price
Event Listener
Item-Price
Event
Tenant Item-Price
Event Listener
Price Management UI
Retail Platform Architecture Tenant Verification
Tenants
Platform
Price
API
Price
Price
Event
Price Event
Listener
Price
Update
Merchandising Tenant
Item-Price Cache
Price Management APITenant Real Price
Event Listener
Price Management UI
Real Price
Event
Retail Platform Architecture
Tenant
Complete Platform
Tenant Tenant
Business Logic APIs Business Process APIs Data Aggregation APIs
Core Data APIs – READ ONLY
Worker
Custo
mer
Locati
on
Tax OrderPrice ItemPromo Vendor
Tenants
Platform
DataChangeEvents
TenantEvents
Analytics Extension
Retail Platform Architecture Data Analytics
Tenants
Platform
Merchandising Tenant
Item-Price Cache
Price Management
Price
API
Price
Price
Event
Price Event
Listener
Price
Update
Price Event
Listener
Price Data Set
Analytics Platform
Real Price
Event
Retail Platform Architecture
Finance Tenant
Stream Processing
Real Time Price
Change Listener
Tenants
Platform
Merchandising Tenant
Item-Price Cache
Price Management
Price
Event
Price Change
Event Listener
Price Data Set
Analytics Platform
Price
Streaming
Query
Price Change
Event
X
Process or Logic
Extension
Retail Platform Architecture Process Extension
Business Process APIs
Tenants
Platform
Digital Tenant
Item-Price Cache
Target.com
Digital Checkout API
Extension
Inventory Cache
Checkout API
Store Tenant
Item-Price Cache
Point of Sale
Store Checkout API
Extension
Inventory Cache
1. List of items
2. Price and promos
3. Fulfillment options
4. Payment type
Retail Platform Architecture Process Extension
Business Process APIs
Tenants
Platform
Checkout API
Store Tenant
Item-Price Cache
Point of Sale
Store Checkout API
Extension
Inventory Cache
1. List of items
2. Price and promos
3. Fulfillment options
4. Payment type
1. N/A
2. Store only promo
3. N/A
4. Chip and Pin
Retail Platform Architecture Process Extension
Business Process APIs
Tenants
Platform
Checkout API
Digital Tenant
Item-Price Cache
Target.com
Digital Checkout API
Extension
Inventory Cache
1. List of items
2. Price and promos
3. Fulfillment options
4. Payment type
1. Retrieve prior cart
2. Digital coupon
3. Address or Pickup?
4. Paypal, Bitcoin
Platform Operating
Principles
Generic Platform Architecture
Tenant
Tenant Services
Tenant
View Controllers
Tenants
Platform
DataChangeEvents
TenantEvents
No Tenant to Tenant Calls
Retail Platform Architecture All Transactions are Events
Tenants
Platform
Merchandising Tenant
Item-Price Cache
Price Management
Price
API
Price
Price
Event
Price Event
Listener
Price
Update
OK
Retail Platform Architecture Events are Open to All
Tenants
Platform
Merchandising Tenant
Item-Price Cache
Price Management
Price
API
Price
Price
Event
Price Event
Listener
Price
Update
Price
Event
Price Event
Listener
Price Data Set
Analytics Platform
OK
Retail Platform Architecture Eventually Consistent
Tenants
Platform
Merchandising Tenant
Item-Price Cache
Price Management
Price
API
Price
Price
Event
Price Event
Listener
Price
Update
Price
Event
Tenant Price Event
Listener
1
1
Platform Operating Principles
• No Tenant to Tenant calls
• All transactions are Events
• Events are (almost) completely open to all
• All caching layers are eventually consistent
Scalability Principles
• Protect Core Data services
• Platform Aggregations and Tenant caches
• Throttle events to Core Data layer
• Asynchronous writes
• Serve majority of traffic from tenant layer
• Distribute data to edge
• All caching layers are eventually consistent
Handling Failure
Platform Micro-Failures
• Individual platform service failure
• Tenant to Platform network failure
Tenant decides how to handle failure
Retail Platform Micro-failure - Read
Tenants
Platform
Merchandising Tenant
Item-Price Cache
Price Management
Price
API
Price
503
Price Aggregator
Use last cached value
Indicate in UI price is old
Platform Macro-Failures
• Platform down
• Network failures
• DDOS
• Exceeded capacity
• Excessive latency
Tenant decides how to handle failure
Retail Platform Macro-failure – Platform Network
Business Process APIs
Platform
Digital Tenant
Item-Price Cache
Target.com
Digital Checkout API
Extension
Inventory Cache
Checkout API
1. Checkout down
2. Browse & Search OK
3. Store Locator OK
Digital Browse &
Search
503
XStore Locator
OK OK
Cloud
Data Center
Location Cache
Architecture Governance
Architecture Governance Considerations
• Every system has a context: Platform or Tenant
• Every system has a defined scope: Data, Process, Logic, Aggregation, UI
• Tenants are decoupled from other tenants & the platform
• Context decides amount of enterprise governance
A DSL for Architecture
• Establish an architecture
and engineering language
Retail Platform Architecture
Tenant
Tenant Governance
Tenant Tenant
Tenants
Isolated impact
Open to new technologies
Build and deploy quickly
Tenants make many technology decisions
Retail Platform Architecture Platform Governance
Business Logic APIs Business Process APIs Data Aggregation APIs
Core Data APIs – READ ONLY
Worker
Custo
mer
Locati
on
Tax OrderPrice ItemPromo Vendor
Platform
DataChangeEvents
TenantEvents
Wide impact
Strong technology standards
Durable API contracts
Enterprise decision process
Architecture Considerations
• Adopt new technologies in Tenants
• Innovate and experiment in Tenants
• Learn and evaluate for graduation to Platform
Technology Renewal
Use Conway’s Law
Any organization that designs a system (defined broadly) will
produce a design whose structure is a copy of the organization’s
communication structure.
~ M. Conway
http://www.melconway.com/Home/Conways_Law.html
This is exactly what we want!
O’Reilly Software Architecture Conference
• https://www.safaribooksonline.com/library/view/oreilly-software-
architecture/9781491985274/
• But it’s not out there yet, still waiting approval from PR.
Questions

Weitere ähnliche Inhalte

Was ist angesagt?

Digital Transformation And Solution Architecture
Digital Transformation And Solution ArchitectureDigital Transformation And Solution Architecture
Digital Transformation And Solution ArchitectureAlan McSweeney
 
Perform a Cloud Readiness Assessment for Your Own Company
Perform a Cloud Readiness Assessment for Your Own CompanyPerform a Cloud Readiness Assessment for Your Own Company
Perform a Cloud Readiness Assessment for Your Own CompanyAmazon Web Services
 
Digitizing Business Services
Digitizing Business ServicesDigitizing Business Services
Digitizing Business Servicesaccenture
 
Digital Transformation Strategy & Framework | By ex-McKinsey
Digital Transformation Strategy & Framework | By ex-McKinseyDigital Transformation Strategy & Framework | By ex-McKinsey
Digital Transformation Strategy & Framework | By ex-McKinseyAurelien Domont, MBA
 
[Accenture] Digital Business 2017
[Accenture] Digital Business 2017[Accenture] Digital Business 2017
[Accenture] Digital Business 2017Duy, Vo Hoang
 
Establishing 24x7 global application support operations
Establishing 24x7 global application support operationsEstablishing 24x7 global application support operations
Establishing 24x7 global application support operationsJason Noble
 
Digital transformation strategy
Digital transformation strategyDigital transformation strategy
Digital transformation strategytenali.digital
 
Digital Transformation Strategy Template and Training
Digital Transformation Strategy Template and TrainingDigital Transformation Strategy Template and Training
Digital Transformation Strategy Template and TrainingAurelien Domont, MBA
 
Ling Shou Tong: Alibaba’s Next Innovative Disruptor?
Ling Shou Tong: Alibaba’s Next Innovative Disruptor?Ling Shou Tong: Alibaba’s Next Innovative Disruptor?
Ling Shou Tong: Alibaba’s Next Innovative Disruptor?accenture
 
Digital banking on AWS
Digital banking on AWSDigital banking on AWS
Digital banking on AWSPham Anh Vu
 
Accenture Demand Driven MRP Roadmap
Accenture Demand Driven MRP RoadmapAccenture Demand Driven MRP Roadmap
Accenture Demand Driven MRP Roadmapmichelevismara
 
Developing an Aviation Reference Architecture
Developing an Aviation Reference ArchitectureDeveloping an Aviation Reference Architecture
Developing an Aviation Reference ArchitectureCapgemini
 
Microsoft Dynamics 365
Microsoft Dynamics 365Microsoft Dynamics 365
Microsoft Dynamics 365IOZ AG
 
Automating Procurement Plus
Automating Procurement PlusAutomating Procurement Plus
Automating Procurement Plusaccenture
 
Why EA's must drive cloud strategy
Why EA's must drive cloud strategyWhy EA's must drive cloud strategy
Why EA's must drive cloud strategyMike Walker
 

Was ist angesagt? (20)

Digital Transformation And Solution Architecture
Digital Transformation And Solution ArchitectureDigital Transformation And Solution Architecture
Digital Transformation And Solution Architecture
 
Perform a Cloud Readiness Assessment for Your Own Company
Perform a Cloud Readiness Assessment for Your Own CompanyPerform a Cloud Readiness Assessment for Your Own Company
Perform a Cloud Readiness Assessment for Your Own Company
 
Cloud Strategy First
 Cloud Strategy First Cloud Strategy First
Cloud Strategy First
 
Digitizing Business Services
Digitizing Business ServicesDigitizing Business Services
Digitizing Business Services
 
Digital Transformation Strategy & Framework | By ex-McKinsey
Digital Transformation Strategy & Framework | By ex-McKinseyDigital Transformation Strategy & Framework | By ex-McKinsey
Digital Transformation Strategy & Framework | By ex-McKinsey
 
[Accenture] Digital Business 2017
[Accenture] Digital Business 2017[Accenture] Digital Business 2017
[Accenture] Digital Business 2017
 
Headless Architecture
Headless ArchitectureHeadless Architecture
Headless Architecture
 
AWS Migration Planning Roadmap
AWS Migration Planning RoadmapAWS Migration Planning Roadmap
AWS Migration Planning Roadmap
 
Establishing 24x7 global application support operations
Establishing 24x7 global application support operationsEstablishing 24x7 global application support operations
Establishing 24x7 global application support operations
 
Digital Business - Accenture
Digital Business - AccentureDigital Business - Accenture
Digital Business - Accenture
 
Digital transformation strategy
Digital transformation strategyDigital transformation strategy
Digital transformation strategy
 
Digital Transformation Strategy Template and Training
Digital Transformation Strategy Template and TrainingDigital Transformation Strategy Template and Training
Digital Transformation Strategy Template and Training
 
Overview of Low-code
Overview of Low-code Overview of Low-code
Overview of Low-code
 
Ling Shou Tong: Alibaba’s Next Innovative Disruptor?
Ling Shou Tong: Alibaba’s Next Innovative Disruptor?Ling Shou Tong: Alibaba’s Next Innovative Disruptor?
Ling Shou Tong: Alibaba’s Next Innovative Disruptor?
 
Digital banking on AWS
Digital banking on AWSDigital banking on AWS
Digital banking on AWS
 
Accenture Demand Driven MRP Roadmap
Accenture Demand Driven MRP RoadmapAccenture Demand Driven MRP Roadmap
Accenture Demand Driven MRP Roadmap
 
Developing an Aviation Reference Architecture
Developing an Aviation Reference ArchitectureDeveloping an Aviation Reference Architecture
Developing an Aviation Reference Architecture
 
Microsoft Dynamics 365
Microsoft Dynamics 365Microsoft Dynamics 365
Microsoft Dynamics 365
 
Automating Procurement Plus
Automating Procurement PlusAutomating Procurement Plus
Automating Procurement Plus
 
Why EA's must drive cloud strategy
Why EA's must drive cloud strategyWhy EA's must drive cloud strategy
Why EA's must drive cloud strategy
 

Ähnlich wie Retail architecture target

apidays LIVE London 2021 - Productization of APIs by Jay Dembani, Avalara
apidays LIVE London 2021 - Productization of APIs by Jay Dembani, Avalaraapidays LIVE London 2021 - Productization of APIs by Jay Dembani, Avalara
apidays LIVE London 2021 - Productization of APIs by Jay Dembani, Avalaraapidays
 
API Product Management and Strategy
API Product Management and StrategyAPI Product Management and Strategy
API Product Management and Strategyadritab
 
Evolve 2014 experience driven commerce
Evolve 2014 experience driven commerceEvolve 2014 experience driven commerce
Evolve 2014 experience driven commerceElastic Path
 
I Love APIs Europe 2015: Technical Sessions
I Love APIs Europe 2015: Technical SessionsI Love APIs Europe 2015: Technical Sessions
I Love APIs Europe 2015: Technical SessionsApigee | Google Cloud
 
apidays LIVE Paris 2021 - Digital API Ecosystems, Marketplaces and Platforms ...
apidays LIVE Paris 2021 - Digital API Ecosystems, Marketplaces and Platforms ...apidays LIVE Paris 2021 - Digital API Ecosystems, Marketplaces and Platforms ...
apidays LIVE Paris 2021 - Digital API Ecosystems, Marketplaces and Platforms ...apidays
 
API Management Solution Powerpoint Presentation Slides
API Management Solution Powerpoint Presentation SlidesAPI Management Solution Powerpoint Presentation Slides
API Management Solution Powerpoint Presentation SlidesSlideTeam
 
Creating a Successful API Program to Drive Digital Transformation
Creating a Successful API Program to Drive Digital TransformationCreating a Successful API Program to Drive Digital Transformation
Creating a Successful API Program to Drive Digital TransformationPerficient, Inc.
 
What is API Product Management by PayPal Director of Product
What is API Product Management by PayPal Director of ProductWhat is API Product Management by PayPal Director of Product
What is API Product Management by PayPal Director of ProductProduct School
 
Webinar- API Strategy - Are we doing it right?
Webinar- API Strategy - Are we doing it right?Webinar- API Strategy - Are we doing it right?
Webinar- API Strategy - Are we doing it right?Kellton Tech Solutions Ltd
 
API Management in Digital Transformation
API Management in Digital TransformationAPI Management in Digital Transformation
API Management in Digital TransformationAditya Thatte
 
code talks Commerce: The API Economy as an E-Commerce Operating System
code talks Commerce: The API Economy as an E-Commerce Operating Systemcode talks Commerce: The API Economy as an E-Commerce Operating System
code talks Commerce: The API Economy as an E-Commerce Operating SystemAdelina Todeva
 
API Management Building Blocks and Business value
API Management   Building Blocks and Business valueAPI Management   Building Blocks and Business value
API Management Building Blocks and Business valueWSO2
 
apidays LIVE Hong Kong 2021 - Planning Your Steps to Data Economy Using APIOp...
apidays LIVE Hong Kong 2021 - Planning Your Steps to Data Economy Using APIOp...apidays LIVE Hong Kong 2021 - Planning Your Steps to Data Economy Using APIOp...
apidays LIVE Hong Kong 2021 - Planning Your Steps to Data Economy Using APIOp...apidays
 
Business Challenges Solved by APIs: What Every Executive Should Know
Business Challenges Solved by APIs: What Every Executive Should KnowBusiness Challenges Solved by APIs: What Every Executive Should Know
Business Challenges Solved by APIs: What Every Executive Should KnowElastic Path
 
apidays LIVE Paris - Practical API strategy with APIOps Cycles by Marjukka Ni...
apidays LIVE Paris - Practical API strategy with APIOps Cycles by Marjukka Ni...apidays LIVE Paris - Practical API strategy with APIOps Cycles by Marjukka Ni...
apidays LIVE Paris - Practical API strategy with APIOps Cycles by Marjukka Ni...apidays
 
Digital transformation
Digital transformationDigital transformation
Digital transformationAnoop Goyal
 
Evolución de una arquitectura monolítica hacia decoupled commerce en un retai...
Evolución de una arquitectura monolítica hacia decoupled commerce en un retai...Evolución de una arquitectura monolítica hacia decoupled commerce en un retai...
Evolución de una arquitectura monolítica hacia decoupled commerce en un retai...Marcos Pueyrredon
 
Application Programming Interfaces Overview Powerpoint Presentation Slides
Application Programming Interfaces Overview Powerpoint Presentation SlidesApplication Programming Interfaces Overview Powerpoint Presentation Slides
Application Programming Interfaces Overview Powerpoint Presentation SlidesSlideTeam
 

Ähnlich wie Retail architecture target (20)

EVOLVE'14 | Keynote | Sal Visca | How APIs are Revolutionizing Commerce in th...
EVOLVE'14 | Keynote | Sal Visca | How APIs are Revolutionizing Commerce in th...EVOLVE'14 | Keynote | Sal Visca | How APIs are Revolutionizing Commerce in th...
EVOLVE'14 | Keynote | Sal Visca | How APIs are Revolutionizing Commerce in th...
 
Smartone v1.0
Smartone v1.0Smartone v1.0
Smartone v1.0
 
apidays LIVE London 2021 - Productization of APIs by Jay Dembani, Avalara
apidays LIVE London 2021 - Productization of APIs by Jay Dembani, Avalaraapidays LIVE London 2021 - Productization of APIs by Jay Dembani, Avalara
apidays LIVE London 2021 - Productization of APIs by Jay Dembani, Avalara
 
API Product Management and Strategy
API Product Management and StrategyAPI Product Management and Strategy
API Product Management and Strategy
 
Evolve 2014 experience driven commerce
Evolve 2014 experience driven commerceEvolve 2014 experience driven commerce
Evolve 2014 experience driven commerce
 
I Love APIs Europe 2015: Technical Sessions
I Love APIs Europe 2015: Technical SessionsI Love APIs Europe 2015: Technical Sessions
I Love APIs Europe 2015: Technical Sessions
 
apidays LIVE Paris 2021 - Digital API Ecosystems, Marketplaces and Platforms ...
apidays LIVE Paris 2021 - Digital API Ecosystems, Marketplaces and Platforms ...apidays LIVE Paris 2021 - Digital API Ecosystems, Marketplaces and Platforms ...
apidays LIVE Paris 2021 - Digital API Ecosystems, Marketplaces and Platforms ...
 
API Management Solution Powerpoint Presentation Slides
API Management Solution Powerpoint Presentation SlidesAPI Management Solution Powerpoint Presentation Slides
API Management Solution Powerpoint Presentation Slides
 
Creating a Successful API Program to Drive Digital Transformation
Creating a Successful API Program to Drive Digital TransformationCreating a Successful API Program to Drive Digital Transformation
Creating a Successful API Program to Drive Digital Transformation
 
What is API Product Management by PayPal Director of Product
What is API Product Management by PayPal Director of ProductWhat is API Product Management by PayPal Director of Product
What is API Product Management by PayPal Director of Product
 
Webinar- API Strategy - Are we doing it right?
Webinar- API Strategy - Are we doing it right?Webinar- API Strategy - Are we doing it right?
Webinar- API Strategy - Are we doing it right?
 
API Management in Digital Transformation
API Management in Digital TransformationAPI Management in Digital Transformation
API Management in Digital Transformation
 
code talks Commerce: The API Economy as an E-Commerce Operating System
code talks Commerce: The API Economy as an E-Commerce Operating Systemcode talks Commerce: The API Economy as an E-Commerce Operating System
code talks Commerce: The API Economy as an E-Commerce Operating System
 
API Management Building Blocks and Business value
API Management   Building Blocks and Business valueAPI Management   Building Blocks and Business value
API Management Building Blocks and Business value
 
apidays LIVE Hong Kong 2021 - Planning Your Steps to Data Economy Using APIOp...
apidays LIVE Hong Kong 2021 - Planning Your Steps to Data Economy Using APIOp...apidays LIVE Hong Kong 2021 - Planning Your Steps to Data Economy Using APIOp...
apidays LIVE Hong Kong 2021 - Planning Your Steps to Data Economy Using APIOp...
 
Business Challenges Solved by APIs: What Every Executive Should Know
Business Challenges Solved by APIs: What Every Executive Should KnowBusiness Challenges Solved by APIs: What Every Executive Should Know
Business Challenges Solved by APIs: What Every Executive Should Know
 
apidays LIVE Paris - Practical API strategy with APIOps Cycles by Marjukka Ni...
apidays LIVE Paris - Practical API strategy with APIOps Cycles by Marjukka Ni...apidays LIVE Paris - Practical API strategy with APIOps Cycles by Marjukka Ni...
apidays LIVE Paris - Practical API strategy with APIOps Cycles by Marjukka Ni...
 
Digital transformation
Digital transformationDigital transformation
Digital transformation
 
Evolución de una arquitectura monolítica hacia decoupled commerce en un retai...
Evolución de una arquitectura monolítica hacia decoupled commerce en un retai...Evolución de una arquitectura monolítica hacia decoupled commerce en un retai...
Evolución de una arquitectura monolítica hacia decoupled commerce en un retai...
 
Application Programming Interfaces Overview Powerpoint Presentation Slides
Application Programming Interfaces Overview Powerpoint Presentation SlidesApplication Programming Interfaces Overview Powerpoint Presentation Slides
Application Programming Interfaces Overview Powerpoint Presentation Slides
 

Mehr von joelcrabb

Blockchain target-share
Blockchain target-shareBlockchain target-share
Blockchain target-sharejoelcrabb
 
The BestBuy.com Cloud Architecture
The BestBuy.com Cloud ArchitectureThe BestBuy.com Cloud Architecture
The BestBuy.com Cloud Architecturejoelcrabb
 
Cassandra and Riak at BestBuy.com
Cassandra and Riak at BestBuy.comCassandra and Riak at BestBuy.com
Cassandra and Riak at BestBuy.comjoelcrabb
 
Be an agile architect
Be an agile architectBe an agile architect
Be an agile architectjoelcrabb
 
Pattern of Innovation
Pattern of InnovationPattern of Innovation
Pattern of Innovationjoelcrabb
 
Introduction to Hadoop
Introduction to HadoopIntroduction to Hadoop
Introduction to Hadoopjoelcrabb
 

Mehr von joelcrabb (6)

Blockchain target-share
Blockchain target-shareBlockchain target-share
Blockchain target-share
 
The BestBuy.com Cloud Architecture
The BestBuy.com Cloud ArchitectureThe BestBuy.com Cloud Architecture
The BestBuy.com Cloud Architecture
 
Cassandra and Riak at BestBuy.com
Cassandra and Riak at BestBuy.comCassandra and Riak at BestBuy.com
Cassandra and Riak at BestBuy.com
 
Be an agile architect
Be an agile architectBe an agile architect
Be an agile architect
 
Pattern of Innovation
Pattern of InnovationPattern of Innovation
Pattern of Innovation
 
Introduction to Hadoop
Introduction to HadoopIntroduction to Hadoop
Introduction to Hadoop
 

Kürzlich hochgeladen

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
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.pdfsudhanshuwaghmare1
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Kürzlich hochgeladen (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Retail architecture target

  • 1. Platform Architecture for OmniChannel Retail O’Reilly Software Architecture Conference London, October 16, 2017
  • 2. Background VP, Architecture and Chief Architect – Target Former Chief Architect & Head of Digital Engineering - Best Buy
  • 3. Plan for Today • Context of the omnichannel retail environment • Legacy architecture overview • Platform architecture • Platform examples Ask questions any time.
  • 5. Target is Omnichannel • 1,806 stores in the United States • 38 distribution centers in the U.S • 323,000 team members worldwide • Global locations in India • Target.com is the fourth most-visited retail website in the U.S. with more than 26 million unique visitors each month on average
  • 6. Omnichannel Retail Commerce • Physical • Online • Mobile • Partner • Voice • Text • Social Customer Interaction • Store Associate • Call Center • Mobile App • Online Chat • Email • Text • Social • Augmented Reality Customer Fulfillment • Shopping bags • Ship to home • Ship to store • In-Store pickup • Car park pickup • Same day delivery • Partner direct ship • Digital goods
  • 7. Omnichannel Retail Evolving Rapidly Every step of the retail value chain is being disrupted • Import and Logistics (Direct to Consumer, Crowdsourced Delivery) • Selection & Curation (Online Search and Recommendations) • Trips to Stores (Same Day Delivery, Personal Shoppers) • Online Mega-Retailers (Everything Store) • Online Micro-Retailers (Single Category Specialists) • Checkout process (Self-checkout, Automated checkout)
  • 9. 70% of capabilities tied to mainframe 3000+ Applications Stores Digital Supply Chain Marketing Merchandising Product Development Corporate 7000+ RDBMS Operationally siloed Legacy Footprint
  • 10. External Cloud Infrastructure Owned Datacenter Leased Datacenter External Cloud Store . . . Store 1800 Stores Ware house Ware house . . . 32 Warehouses Owned Datacenter Digital SiloStore Silo Supply Chain Silo Corporate Silo Each box contains infrastructure onsite Office . . . Office ~40 Offices Worldwide
  • 11. Official Data Sources Direct DB Connections Store SiloDigital Silo Marketing Silo Supply Chain Silo Corporate Silo UDS HR Finance Batch ETLs UDS Legacy Architecture UDS = Unofficial Data Sources POS CRM WMS Logist ics Pricing UDSUDSUDSUDSUDSUDSUDSUDS In- Store .COM Mobile X
  • 12. Mainframe Dependency Graph Each node is a table, each name is an application that writes to that table
  • 14. What is a Platform? A set of technologies that are the fundamental building blocks of custom applications 1. Primitive components 2. A defined surface 3. Extension points A Platform Has:
  • 15. What is a Retail Platform? A set of primitive APIs and Services that represent the data, processes and business logic required to complete customer transactions
  • 16. Retail Platform Primitives - Examples • Item API • Price API • Inventory API • Location API • Tax API • Customer API • Worker API • Checkout API • Cart API • Restrictions API • Returns API • Address Verification API • Item Movement API • Shift Management API Data Process and Logic Primitive componentsA Platform Has:
  • 17. Retail Defined Surface The complete set of retail platform primitives that define the core components of a retailer A defined surfaceA Platform Has:
  • 18. Retail Platform Extension Points All retail platform primitives can be extended by users of the platform Extension pointsA Platform Has:
  • 19. Worker Price API Retail Platform Architecture Custo mer Locati on Tax OrderPrice ItemPromo Vendor Data that cannot be derived from other data or is generated during common business processes of the company, divided into the logical domain entities of the business Promo API Tax API Custo mer API Location API Order API Item API Worker API Vendor API Core Data Primitive component
  • 20. Item-Location-Price API Retail Platform Architecture Pre-joined and cached core data, used to pre-calculate commonly used data patterns and protect core data services from excessive load Customer-Orders API Item-Offer API Item-Location-Price Cache Customer-Orders Cache Item-Offer Cache Core Data Aggregations Primitive component
  • 21. Checkout API Retail Platform Architecture The generic components of a business process, presented as an API, that can be used by all channels that execute the business process Cart API Item Setup API Offer Setup API Payment API Fulfillment API Returns API Fundamental Business Process Primitive component
  • 22. Restrictions API Retail Platform Architecture The proprietary logic of the business, presented as an API, that is used by all channels that require that business logic Cart Price API Worker Pay API Address Verification API Fundamental Business Logic Primitive component
  • 23. Business Logic Retail Platform Architecture Business Process Data Aggregation Worker Price API Custo mer Locati on Tax OrderPrice ItemPromo Vendor Promo API Tax API Custo mer API Location API Order API Item API Worker API Vendor API Platform Logic Data Platform Process Data Platform Cache Fundamental Platform Components Primitive components
  • 24. Business Logic Retail Platform Architecture Price API Promo API Tax API Custo mer API Location API Order API Item API Worker API Vendor API Restrictions API Cart Price API Worker Pay API Addr Verify API Checkout API Cart API Item Setup API Offer Setup API Payment API Fulfillment API Returns API Business Process Data Aggregations Item-Location-Price API Customer-Orders API Item-Offer API Core Data Retail Platform Surface A defined surface
  • 25. What is a Tenant? • Tenant drives an interaction with an actor • Tenants are coarse grained around a channel (digital, store, supply chain, corporate) • Isolation from other tenants • Can only call services within the tenant, or provided by the platform A user of the platform that builds applications using and extending the platform primitives
  • 26. Business Logic Extension Retail Platform Architecture Business Process Extension Service Aggregator Forward Cache Tenant Process Data Tenant Logic Data View Controller User Interface Tenant Specific APIs Tenant Data View Controller User Interface View Controller User Interface Single Tenant Components Extension points
  • 27. Retail Platform Architecture Tenant Tenant and Platform Tenant Tenant Business Logic APIs Business Process APIs Data Aggregation APIs Core Data APIs – READ ONLY Worker Custo mer Locati on Tax OrderPrice ItemPromo Vendor Tenants Platform
  • 28. Eventual Consistency • The Core Data layer contains the true real-time operational data – source of truth • Core Data is exposed to the Platform as READ ONLY • All other layers are caches • Tenants operate almost exclusively off caches • Tenant applications must be designed for eventual consistency
  • 29. Events • All data changes are events • Tenants do not write to Core Data • Tenants emit events • Core Data listeners process events
  • 30. Retail Platform Architecture Data Change Event Item-Price API Tenants Platform Merchandising Tenant Item-Price Cache Price Management API Item-Price Cache Price API Price Price Event Price Event Listener Price Update Real Price Event Item-Price Event Listener Item-Price Event Tenant Item-Price Event Listener Price Management UI
  • 31. Retail Platform Architecture Tenant Verification Tenants Platform Price API Price Price Event Price Event Listener Price Update Merchandising Tenant Item-Price Cache Price Management APITenant Real Price Event Listener Price Management UI Real Price Event
  • 32. Retail Platform Architecture Tenant Complete Platform Tenant Tenant Business Logic APIs Business Process APIs Data Aggregation APIs Core Data APIs – READ ONLY Worker Custo mer Locati on Tax OrderPrice ItemPromo Vendor Tenants Platform DataChangeEvents TenantEvents
  • 34. Retail Platform Architecture Data Analytics Tenants Platform Merchandising Tenant Item-Price Cache Price Management Price API Price Price Event Price Event Listener Price Update Price Event Listener Price Data Set Analytics Platform Real Price Event
  • 35. Retail Platform Architecture Finance Tenant Stream Processing Real Time Price Change Listener Tenants Platform Merchandising Tenant Item-Price Cache Price Management Price Event Price Change Event Listener Price Data Set Analytics Platform Price Streaming Query Price Change Event X
  • 37. Retail Platform Architecture Process Extension Business Process APIs Tenants Platform Digital Tenant Item-Price Cache Target.com Digital Checkout API Extension Inventory Cache Checkout API Store Tenant Item-Price Cache Point of Sale Store Checkout API Extension Inventory Cache 1. List of items 2. Price and promos 3. Fulfillment options 4. Payment type
  • 38. Retail Platform Architecture Process Extension Business Process APIs Tenants Platform Checkout API Store Tenant Item-Price Cache Point of Sale Store Checkout API Extension Inventory Cache 1. List of items 2. Price and promos 3. Fulfillment options 4. Payment type 1. N/A 2. Store only promo 3. N/A 4. Chip and Pin
  • 39. Retail Platform Architecture Process Extension Business Process APIs Tenants Platform Checkout API Digital Tenant Item-Price Cache Target.com Digital Checkout API Extension Inventory Cache 1. List of items 2. Price and promos 3. Fulfillment options 4. Payment type 1. Retrieve prior cart 2. Digital coupon 3. Address or Pickup? 4. Paypal, Bitcoin
  • 41. Generic Platform Architecture Tenant Tenant Services Tenant View Controllers Tenants Platform DataChangeEvents TenantEvents No Tenant to Tenant Calls
  • 42. Retail Platform Architecture All Transactions are Events Tenants Platform Merchandising Tenant Item-Price Cache Price Management Price API Price Price Event Price Event Listener Price Update OK
  • 43. Retail Platform Architecture Events are Open to All Tenants Platform Merchandising Tenant Item-Price Cache Price Management Price API Price Price Event Price Event Listener Price Update Price Event Price Event Listener Price Data Set Analytics Platform OK
  • 44. Retail Platform Architecture Eventually Consistent Tenants Platform Merchandising Tenant Item-Price Cache Price Management Price API Price Price Event Price Event Listener Price Update Price Event Tenant Price Event Listener 1 1
  • 45. Platform Operating Principles • No Tenant to Tenant calls • All transactions are Events • Events are (almost) completely open to all • All caching layers are eventually consistent
  • 46. Scalability Principles • Protect Core Data services • Platform Aggregations and Tenant caches • Throttle events to Core Data layer • Asynchronous writes • Serve majority of traffic from tenant layer • Distribute data to edge • All caching layers are eventually consistent
  • 48. Platform Micro-Failures • Individual platform service failure • Tenant to Platform network failure Tenant decides how to handle failure
  • 49. Retail Platform Micro-failure - Read Tenants Platform Merchandising Tenant Item-Price Cache Price Management Price API Price 503 Price Aggregator Use last cached value Indicate in UI price is old
  • 50. Platform Macro-Failures • Platform down • Network failures • DDOS • Exceeded capacity • Excessive latency Tenant decides how to handle failure
  • 51. Retail Platform Macro-failure – Platform Network Business Process APIs Platform Digital Tenant Item-Price Cache Target.com Digital Checkout API Extension Inventory Cache Checkout API 1. Checkout down 2. Browse & Search OK 3. Store Locator OK Digital Browse & Search 503 XStore Locator OK OK Cloud Data Center Location Cache
  • 53. Architecture Governance Considerations • Every system has a context: Platform or Tenant • Every system has a defined scope: Data, Process, Logic, Aggregation, UI • Tenants are decoupled from other tenants & the platform • Context decides amount of enterprise governance
  • 54. A DSL for Architecture • Establish an architecture and engineering language
  • 55. Retail Platform Architecture Tenant Tenant Governance Tenant Tenant Tenants Isolated impact Open to new technologies Build and deploy quickly Tenants make many technology decisions
  • 56. Retail Platform Architecture Platform Governance Business Logic APIs Business Process APIs Data Aggregation APIs Core Data APIs – READ ONLY Worker Custo mer Locati on Tax OrderPrice ItemPromo Vendor Platform DataChangeEvents TenantEvents Wide impact Strong technology standards Durable API contracts Enterprise decision process
  • 57. Architecture Considerations • Adopt new technologies in Tenants • Innovate and experiment in Tenants • Learn and evaluate for graduation to Platform Technology Renewal
  • 58. Use Conway’s Law Any organization that designs a system (defined broadly) will produce a design whose structure is a copy of the organization’s communication structure. ~ M. Conway http://www.melconway.com/Home/Conways_Law.html This is exactly what we want!
  • 59. O’Reilly Software Architecture Conference • https://www.safaribooksonline.com/library/view/oreilly-software- architecture/9781491985274/ • But it’s not out there yet, still waiting approval from PR.

Hinweis der Redaktion

  1. Lead Enterprise Architecture at both of these retailers. Omnichannel retail language began around 2011.
  2. Target has 1,806 stores in the United States 38 distribution centers in the United States 323,000 team members worldwide 70 + billion in revenue online business at target.com global locations in India To date, Target.com is the fourth most-visited retail Website in the U.S. with more than 26 million unique visitors each month on average.
  3. As an omnichannel retailer you have to do all these things well, and make them look seamless and integrated. Must excel at everything
  4. Official Datasources are incomplete, because of the potential for writes not to make it back to the official datastore, teams actually have to source from the other UDS as well to get a complete picture.
  5. Not a complete list. You might question why we have Worker API and Shift Mangement API. To complete a customer transaction in a store, it’s necessary to have a worker present.
  6. The only location of the operational data of the company, all writes must pass through these systems before it is reality in the company.
  7. We put it all together and we get a defined surface. Extension points will come later.
  8. Not a CAP Theorem discussion. If a Tenant can’t write to fundamental data, than what do they do? Events next slide.
  9. Not a CAP Theorem discussion.
  10. Price change event starts in Merchandising tenant. Seems complicated but each component is small and isolated. All event from tenants are read by fundamental data listeners and decide whether to persist that event. Not until that event is persisted should the Platform reflect the change. Once a Fundamental data system produces event, the Platform quickly cascades that to all interested systems.
  11. Merchandising tenant wants to know when Price is written. I may want to notify the UI that the Price Event was taken. In that case I would a add a Tenant Price Event Listener to see when my generated event caused the fundamental data system to change.
  12. So we’ve described the operational system. Now let’s add in analytics and business intelligence
  13. Seems complicated but each component is small and isolated. All event from tenants are read by fundamental data listeners and decide whether to persist that event. Not until that event is persisted should the Platform reflect the change. Once a Fundamental data system produces event, the Platform quickly cascades that to all interested systems.
  14. Add a streaming event in another tenant.
  15. How does a Tenant make a Process or Logic extension
  16. A Checkout API consists of four things
  17. A Checkout API consists of four things
  18. Digital tenant may have separate coupons, fulfillment types or payment types
  19. No Tenant to Tenant calls No East West
  20. No writes to fundamental data, all transactions are events. Seems complicated but each component is small and isolated. All event from tenants are read by fundamental data listeners and decide whether to persist that event. Not until that event is persisted should the Platform reflect the change. Once a Fundamental data system produces event, the Platform quickly cascades that to all interested systems.
  21. Events are open to everyone, even external to the platform
  22. Eventually consistent
  23. Fundamental Data read fails, use last cached value Tenant decides to allow expired cache reads
  24. What if the entire platform is down due to network failure? Failure levels, Checkout is down but digital search and store locator is up. Omnichannel we can still help our guests find stores and inventory, but no checkout Business decision not to take orders while Platform API is down, we could cache locally and update the platform later
  25. Tenant’s have a lot of freedom to innovate and choose new technology But if they make bad choices in technology or development, it’s all on them There are a few enterprise standards, but tenants can choose much of their stack. EX: RDBMS, OS, expensive items Creates a cycle of technology renewal and innovation.
  26. Platform is governed for stability Reuse similar architectures and patterns across applications Evolves more slowly, expect APIs to last at least 1 year