Spreadshirt Platform
An Architectural Overview
July 2015
Jens Hadlich Chief Architect
About Spreadshirt
2
Spread it with Spreadshirt
A global e-commerce platform for everyone to create, sell and buy ideas on clothing and accessories across many points of sale. • 12 languages, 11 currencies • 19 markets • 150+ shipping regions
• community of >70.000 active sellers • € 72M revenue (2014) • >3.3M items shipped (2014)
Spreadshirt Platform
3
Shops
Marketplace
Blogs
Special Integrations
Video & photo External Fulfillment
Webshop Integration
T-Shirt Designer
Spreadshirt Custom Solutions
(BSI)
Mobile Marketplace
Spreadshirt Platform
API
External Marketplaces
Social Media
4
Some Numbers
Some Numbers
5
June 2015
300 Million
Page Impressions
per month, globally
30 Thousand
DB Queries
per second
>1 Terabyte
DB Storage
live (w/o replicas, DWH etc.)
25 Terabyte
File Storage
Image / RAW data
6
Platform Architecture
Platform Architecture
7
Do you like furry animals?
Platform Architecture
8
Do you like furry animals?
“The” Opossum
Platform Architecture
9
The past
Shops
Opossum
User Area
CMS
Checkout
…
Website
Payments
Admin
Tracking
“One system to rule them all.”
Platform Architecture
10
“NOpossum”
Platform Architecture
11
Transition from Monolith to Microservices
Platform Architecture
12
Transition from PHP to Java
Platform Architecture
13
Shops
Opossum
User Area
CMS
Checkout
…
Website
Payments
Admin
Tracking
Platform Architecture
14
Shops
Opossum API
Data API
Image API
User Area
CMS
Checkout
…
Website
Search
Payments
Admin
Tracking
Platform Architecture
15
Shops
Message Bus
Opossum API
Data API
Image API
User Area
CMS
Checkout
…
Router
Website
Search
Payments
Admin
Tracking
Platform Architecture
16
Designer
Shops**
Marketplace
Message Bus
Opossum API
Data API
Image API
User Area
CMS
Checkout
…
Router
Website
Search
Shops*
Payments
Admin
* API-based ** “good old” Shop2
Tracking
Platform Architecture
17
Designer
Shops**
Marketplace
Message Bus
Opossum API
Data API
Image API
User Area
CMS
Checkout
…
Router
Website
Search
Shops*
Payments
Admin
Tracking
Marketplace Application
Tracking
Ranking
* API-based ** “good old” Shop2
Platform Architecture
18
Designer
Shops**
Marketplace
Message Bus
Opossum API
Data API
Image API
User Area
CMS
Checkout
…
Router
Google Merchant
EMP Service
Website
Search
Shops*
Payments
Admin
Tracking
Amazon
EMP Tools Marketplace Application
Tracking
Ranking
Checkout 2
* API-based ** “good old” Shop2
SpreadShop*
Platform Architecture
19
Designer
Shops**
Marketplace
Message Bus
Opossum API
Data API
Image API
User Area
CMS
Checkout
…
Router
Google Merchant
EMP Service
Website
Search
Shops*
Payments
Admin
Tracking
Amazon
EMP Tools
Production ERP Newsletter …
Marketplace Application
Tracking
Ranking
Checkout 2
* API-based ** “good old” Shop2
SpreadShop*
Technologies
20
Front End Back End Infrastructure
Platform Architecture & Technolgies
21
Designer
Shops**
Marketplace
Message Bus
Opossum API
Data API
Image API
User Area
CMS
Checkout
…
Router Production ERP Newsletter
Google Merchant
EMP Service
Website
Search
Shops*
Payments
Admin
Tracking
Amazon
EMP Tools
…
Marketplace Application
Tracking
Ranking
Checkout 2
* API-based ** “good old” Shop2
SpreadShop*
Platform Architecture
22
The reality …
Platform Architecture
23
… is a bit more complicated
The reality …
Platform Architecture
24
Designer
Shops**
Marketplace
Message Bus
Opossum API
Data API
Image API
User Area
CMS
Checkout
…
Router
Google Merchant
EMP Service
Website
Search
Shops*
Payments
Admin
Tracking
Amazon
EMP Tools
Production ERP Newsletter …
Marketplace Application
Tracking
Ranking
Checkout 2
SprdShop*
* API-based ** “good old” Shop2
SpreadShop*
CDN
2 Data Centers
25
2 Data Centers + Content Delivery Network (CDN)
26
> 1.000 Points of Presence
2 Data Centers + Content Delivery Network (CDN)
27
• Latency
• Bandwidth
• Performance
Thank You! [email protected]