SlideShare a Scribd company logo
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

More Related Content

What's hot

Building and Successfully Selling ISV Solutions with AWS Partner-Summit-Singa...
Building and Successfully Selling ISV Solutions with AWS Partner-Summit-Singa...Building and Successfully Selling ISV Solutions with AWS Partner-Summit-Singa...
Building and Successfully Selling ISV Solutions with AWS Partner-Summit-Singa...
Amazon Web Services
 
Save Time and Resources - Fully Automate Intercompany Process End to End
Save Time and Resources - Fully Automate Intercompany Process End to EndSave Time and Resources - Fully Automate Intercompany Process End to End
Save Time and Resources - Fully Automate Intercompany Process End to End
Vineeth Mylapur
 
Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018
Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018
Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018
Amazon Web Services
 
How to Set Up a Cloud Cost Optimization Process for your Enterprise
How to Set Up a Cloud Cost Optimization Process for your EnterpriseHow to Set Up a Cloud Cost Optimization Process for your Enterprise
How to Set Up a Cloud Cost Optimization Process for your Enterprise
RightScale
 
ARCHIMATE Physical layer "My Little PanCake Factory"
ARCHIMATE Physical layer "My Little PanCake Factory"ARCHIMATE Physical layer "My Little PanCake Factory"
ARCHIMATE Physical layer "My Little PanCake Factory"
COMPETENSIS
 
SAP Ariba Overview Roca
SAP Ariba Overview RocaSAP Ariba Overview Roca
SAP Ariba Overview Roca
Juan Andres Peiro
 
NetSuite - An Overview
NetSuite - An OverviewNetSuite - An Overview
NetSuite - An Overview
Net at Work
 
Software Systems & Application Rationalization
Software Systems & Application RationalizationSoftware Systems & Application Rationalization
Software Systems & Application RationalizationAmbareesh Kulkarni
 
Webinar: Implementation of 10 Integration Patterns on iPaaS Platform
Webinar: Implementation of 10 Integration Patterns on iPaaS PlatformWebinar: Implementation of 10 Integration Patterns on iPaaS Platform
Webinar: Implementation of 10 Integration Patterns on iPaaS Platform
APPSeCONNECT
 
The People Model and Cloud Transformation | AWS Public Sector Summit 2016
The People Model and Cloud Transformation | AWS Public Sector Summit 2016The People Model and Cloud Transformation | AWS Public Sector Summit 2016
The People Model and Cloud Transformation | AWS Public Sector Summit 2016
Amazon Web Services
 
EA foundations (Views, Repository, Artifacts and Metamodel)
EA foundations (Views, Repository, Artifacts and Metamodel)EA foundations (Views, Repository, Artifacts and Metamodel)
EA foundations (Views, Repository, Artifacts and Metamodel)
Mohamed Zakarya Abdelgawad
 
Applying Domain-Driven Design to APIs and Microservices - Austin API Meetup
Applying Domain-Driven Design to APIs and Microservices  - Austin API MeetupApplying Domain-Driven Design to APIs and Microservices  - Austin API Meetup
Applying Domain-Driven Design to APIs and Microservices - Austin API Meetup
LaunchAny
 
Business Analysis - Essentials
Business Analysis - EssentialsBusiness Analysis - Essentials
Business Analysis - EssentialsBarbara Bermes
 
Application Portfolio Rationalization
Application Portfolio RationalizationApplication Portfolio Rationalization
Application Portfolio Rationalization
Bob Rhubart
 
Connected Retail Reference Architecture
Connected Retail Reference ArchitectureConnected Retail Reference Architecture
Connected Retail Reference Architecture
WSO2
 
apidays LIVE Australia 2021 - Composing a Headless and Composable Commerce Ar...
apidays LIVE Australia 2021 - Composing a Headless and Composable Commerce Ar...apidays LIVE Australia 2021 - Composing a Headless and Composable Commerce Ar...
apidays LIVE Australia 2021 - Composing a Headless and Composable Commerce Ar...
apidays
 
Domain-Driven Design
Domain-Driven DesignDomain-Driven Design
Domain-Driven Design
Andriy Buday
 
Lecture about "Enterprise Architecture @ ING" given at Solvay Brussels School...
Lecture about "Enterprise Architecture @ ING" given at Solvay Brussels School...Lecture about "Enterprise Architecture @ ING" given at Solvay Brussels School...
Lecture about "Enterprise Architecture @ ING" given at Solvay Brussels School...
Alain Heremans
 
Composale DXP with MACH architecture.pptx
Composale DXP with MACH architecture.pptxComposale DXP with MACH architecture.pptx
Composale DXP with MACH architecture.pptx
Pieter Brinkman
 

What's hot (20)

Building and Successfully Selling ISV Solutions with AWS Partner-Summit-Singa...
Building and Successfully Selling ISV Solutions with AWS Partner-Summit-Singa...Building and Successfully Selling ISV Solutions with AWS Partner-Summit-Singa...
Building and Successfully Selling ISV Solutions with AWS Partner-Summit-Singa...
 
Save Time and Resources - Fully Automate Intercompany Process End to End
Save Time and Resources - Fully Automate Intercompany Process End to EndSave Time and Resources - Fully Automate Intercompany Process End to End
Save Time and Resources - Fully Automate Intercompany Process End to End
 
Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018
Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018
Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018
 
How to Set Up a Cloud Cost Optimization Process for your Enterprise
How to Set Up a Cloud Cost Optimization Process for your EnterpriseHow to Set Up a Cloud Cost Optimization Process for your Enterprise
How to Set Up a Cloud Cost Optimization Process for your Enterprise
 
ARCHIMATE Physical layer "My Little PanCake Factory"
ARCHIMATE Physical layer "My Little PanCake Factory"ARCHIMATE Physical layer "My Little PanCake Factory"
ARCHIMATE Physical layer "My Little PanCake Factory"
 
Ariba
AribaAriba
Ariba
 
SAP Ariba Overview Roca
SAP Ariba Overview RocaSAP Ariba Overview Roca
SAP Ariba Overview Roca
 
NetSuite - An Overview
NetSuite - An OverviewNetSuite - An Overview
NetSuite - An Overview
 
Software Systems & Application Rationalization
Software Systems & Application RationalizationSoftware Systems & Application Rationalization
Software Systems & Application Rationalization
 
Webinar: Implementation of 10 Integration Patterns on iPaaS Platform
Webinar: Implementation of 10 Integration Patterns on iPaaS PlatformWebinar: Implementation of 10 Integration Patterns on iPaaS Platform
Webinar: Implementation of 10 Integration Patterns on iPaaS Platform
 
The People Model and Cloud Transformation | AWS Public Sector Summit 2016
The People Model and Cloud Transformation | AWS Public Sector Summit 2016The People Model and Cloud Transformation | AWS Public Sector Summit 2016
The People Model and Cloud Transformation | AWS Public Sector Summit 2016
 
EA foundations (Views, Repository, Artifacts and Metamodel)
EA foundations (Views, Repository, Artifacts and Metamodel)EA foundations (Views, Repository, Artifacts and Metamodel)
EA foundations (Views, Repository, Artifacts and Metamodel)
 
Applying Domain-Driven Design to APIs and Microservices - Austin API Meetup
Applying Domain-Driven Design to APIs and Microservices  - Austin API MeetupApplying Domain-Driven Design to APIs and Microservices  - Austin API Meetup
Applying Domain-Driven Design to APIs and Microservices - Austin API Meetup
 
Business Analysis - Essentials
Business Analysis - EssentialsBusiness Analysis - Essentials
Business Analysis - Essentials
 
Application Portfolio Rationalization
Application Portfolio RationalizationApplication Portfolio Rationalization
Application Portfolio Rationalization
 
Connected Retail Reference Architecture
Connected Retail Reference ArchitectureConnected Retail Reference Architecture
Connected Retail Reference Architecture
 
apidays LIVE Australia 2021 - Composing a Headless and Composable Commerce Ar...
apidays LIVE Australia 2021 - Composing a Headless and Composable Commerce Ar...apidays LIVE Australia 2021 - Composing a Headless and Composable Commerce Ar...
apidays LIVE Australia 2021 - Composing a Headless and Composable Commerce Ar...
 
Domain-Driven Design
Domain-Driven DesignDomain-Driven Design
Domain-Driven Design
 
Lecture about "Enterprise Architecture @ ING" given at Solvay Brussels School...
Lecture about "Enterprise Architecture @ ING" given at Solvay Brussels School...Lecture about "Enterprise Architecture @ ING" given at Solvay Brussels School...
Lecture about "Enterprise Architecture @ ING" given at Solvay Brussels School...
 
Composale DXP with MACH architecture.pptx
Composale DXP with MACH architecture.pptxComposale DXP with MACH architecture.pptx
Composale DXP with MACH architecture.pptx
 

Similar to Retail architecture target

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...
Evolve The Adobe Digital Marketing Community
 
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
apidays
 
API Product Management and Strategy
API Product Management and StrategyAPI Product Management and Strategy
API Product Management and Strategy
adritab
 
Evolve 2014 experience driven commerce
Evolve 2014 experience driven commerceEvolve 2014 experience driven commerce
Evolve 2014 experience driven commerce
Elastic 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 Sessions
Apigee | 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 Slides
SlideTeam
 
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
Perficient, 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 Product
Product 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
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2
 
API Management in Digital Transformation
API Management in Digital TransformationAPI Management in Digital Transformation
API Management in Digital Transformation
Aditya 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 System
Adelina 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 Know
Elastic 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 transformation
Anoop 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
 

Similar to 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?
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
 
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...
 

More from joelcrabb

Blockchain target-share
Blockchain target-shareBlockchain target-share
Blockchain target-share
joelcrabb
 
The BestBuy.com Cloud Architecture
The BestBuy.com Cloud ArchitectureThe BestBuy.com Cloud Architecture
The BestBuy.com Cloud Architecture
joelcrabb
 
Cassandra and Riak at BestBuy.com
Cassandra and Riak at BestBuy.comCassandra and Riak at BestBuy.com
Cassandra and Riak at BestBuy.com
joelcrabb
 
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 Innovation
joelcrabb
 
Introduction to Hadoop
Introduction to HadoopIntroduction to Hadoop
Introduction to Hadoop
joelcrabb
 

More from 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
 

Recently uploaded

Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 

Recently uploaded (20)

Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 

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.

Editor's Notes

  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