SlideShare a Scribd company logo
e-Commerce web app Architecture and
Scalability
So, what’s in an E-Commerce Store?
Slide 2
Catalogs
State
Discounts
Inventory
Fulfillment
Social Integration
Payment
Note: This image is for illustrative purposes only. MindTree does not recommend or associate itself with either this site, or the products displayed here. Any copyrights belong to their respective owners
Analytics
Cross-sell
Content
Search
Seasonality
00000
Ads
Personalization
Cust. Service
Conceptual View
Slide 3
Application View
Slide 4
IntegrationMiddleware
The Key to Scalability…
Slide 5
•Ability of a system to handle or be enlarged to handle growing amounts of work
gracefully
… is to understand what it is
•Identify bottlenecks, and mitigate
•Identify load sources, and minimize
… is to keep principles simple
•“How scalable do you want it?” (Do you have the NFRs?)
… is to understand what’s expected
•If my look-to-book ratio is 90:10, can I scale differently?
•Do I always need to depend on the scalability of my partners?
•Do all of my subsystems need to scale equally?
•If my load is seasonal, should I be safe and overprovision?
… is to exploit system characteristics
IntegrationMiddleware
So what’s Different?
Slide 6
Lots of integration –
and dependencies
Combo of content
and Data
Complicated rules
spanning entities
Rich and useful data
to be analyzed and
mined
The breadwinner!
Many different
channels – and loadLots of these guys
(hopefully!)
Some typical usage
patterns
Lots of potential plus
lots of load
Mapping to Scalability Considerations
Multiple channels
User behavior
Social Content
Slide 7
Content + Data
Rules and analytics
Integration – and dependencies
Scalability Strategies: Multiple Channels
• Scale out
• Minimize state for better load balancing, and to reduce memory footprint
• Use CDNs to farm out traffic to other sites, or consider A/A DC’s
• Exploit client capability, and minimize traffic
• Leverage device profile to serve appropriate content
• Scale out
• Minimize state for better load balancing, and to reduce memory footprint
• Use CDNs to farm out traffic to other sites, or consider A/A DC’s
• Exploit client capability, and minimize traffic
• Leverage device profile to serve appropriate content
Frontends
• Use lightweight protocols
• Split between presentation services and interface services and choose
granularity
• Use lightweight protocols
• Split between presentation services and interface services and choose
granularity
Services
Slide 8
Scalability Strategies: Content, Social Traffic
• Content and data scale differently – so scale them independently
• Mash up content, UGC, and catalog data in a portal
• Leverage CMS’ caching as far as possible
• Consider publishing static HTML
• Organize CMS structures appropriately
• Use CDNs or servers appropriate to the purpose
• Content and data scale differently – so scale them independently
• Mash up content, UGC, and catalog data in a portal
• Leverage CMS’ caching as far as possible
• Consider publishing static HTML
• Organize CMS structures appropriately
• Use CDNs or servers appropriate to the purpose
Content
• Separate onto other servers
• Leverage existing social network platforms
• Separate onto other servers
• Leverage existing social network platforms
UGC
Slide 9
Scalability Strategies: User Behavior
Slide 10
•Separate reads and writes; scale out read nodes using replication / master-slave, …
•Split functionality between database instances
•Use sharding (carefully) to partition and scale out writes
•Choose optimistic reads (carefully) to minimize locks
•Separate reads and writes; scale out read nodes using replication / master-slave, …
•Split functionality between database instances
•Use sharding (carefully) to partition and scale out writes
•Choose optimistic reads (carefully) to minimize locks
Data
•A fair bit of data changes slowly – cache aggressively: catalogs, content, …
•Try and cache inventory levels as well, based on thresholds
•A fair bit of data changes slowly – cache aggressively: catalogs, content, …
•Try and cache inventory levels as well, based on thresholds
Minimize I/O
•Create private clouds or leverage public / hybrid clouds•Create private clouds or leverage public / hybrid clouds
Elasticity
Scalability Strategies: Rules and Analytics
Slide 11
• Classify into cross-sell rules, transaction processing rules
• Cross-sell rules more heavily used, use more data
• Pre-compute results - not everything needs to be real-time
• Reduce target datasets - not everything is against the universe
• Classify into cross-sell rules, transaction processing rules
• Cross-sell rules more heavily used, use more data
• Pre-compute results - not everything needs to be real-time
• Reduce target datasets - not everything is against the universe
Rules
• Separate analytics from transactional systems
• Run them off of their own instance
• Separate analytics from transactional systems
• Run them off of their own instance
Analytics
Scalability Strategies: Integration
Slide 12
• Use synchronous calls only when needed (for example, payments)
• Use queuing for durability and throttling
• Have a fallback mechanism:
• Last day’s inventory in case the inventory system isn’t coping
• Backend payment if payment gateway isn’t coping
• Consider batch mode integration vs. real-time always
• Use synchronous calls only when needed (for example, payments)
• Use queuing for durability and throttling
• Have a fallback mechanism:
• Last day’s inventory in case the inventory system isn’t coping
• Backend payment if payment gateway isn’t coping
• Consider batch mode integration vs. real-time always
Dependencies
Strategies for Commerce Engines
Use products (commercial | open source) for commerce, content,
search, etc.
Choose taxonomy and design carefully
Catalogs, virtual catalogs, materialized catalogs, catalog sets, page
snapshots, …
Content taxonomy
Cache appropriately
Content caching at browser, CDN, CMS, commerce engine, …
Commerce caching for catalogs, ad rules, pricing and inventory, …
Scale appropriately
Consider data volumes (catalog sizes, user base, …) for sharding or
partitioning
Follow vendor best practices for scaling
Slide 13
General Scalability Strategies
 Use statelessness to scale better
 Choose shared-nothing models to scale best
 Choose shared-(something) or externalized state models with due considerations
 Reduce HTTP requests and payload
 Use techniques like file versioning, sprites, inline images, compression, …
 Be asynchronous where possible
 When calling backend systems, for example
 Choose faster (or lesser) I/O to minimize latency
 Cache aggressively
 Use faster I/O where possible
 Keep data small and archive aggressively to scale I/O and DBs
 Keep data close helps use network better and to reduce latency
 Write good code!
Slide 14
In Summary
Know what you are looking to achieve
NFRs, business outlook
Exploit usage characteristics
Read/write ratios, acceptable lags, functional separation
Design for scale
Statelessness, service granularity, protocols
Reduce load
Pre-compute data, cache aggressively, offload
Identify subsystem scalability needs
Scale what’s needed, not everything
Leverage others!
Product capabilities, CDNs, cloud providers, social networking platforms
Slide 15

More Related Content

What's hot

Web analytics presentation
Web analytics presentationWeb analytics presentation
Web analytics presentation
Jim Jansen
 
ppt of web designing and development
ppt of web designing and developmentppt of web designing and development
ppt of web designing and development
47ishu
 
Big Data in e-Commerce
Big Data in e-CommerceBig Data in e-Commerce
Big Data in e-Commerce
Divante
 
Project report
Project reportProject report
Project report
Vipul Anand
 
Digital Economy
Digital EconomyDigital Economy
Digital Economy
PIREH
 
Advantages of metadata
Advantages of metadataAdvantages of metadata
Advantages of metadata
Azeem Sultan
 
Types Of Web Hosting Explained
Types Of Web Hosting ExplainedTypes Of Web Hosting Explained
Types Of Web Hosting Explained
RutuparnaM
 
Domain and hosting
Domain and hostingDomain and hosting
Domain and hosting
Muhammad Hazmin Wardi
 
VTU 7TH SEM CSE DATA WAREHOUSING AND DATA MINING SOLVED PAPERS OF DEC2013 JUN...
VTU 7TH SEM CSE DATA WAREHOUSING AND DATA MINING SOLVED PAPERS OF DEC2013 JUN...VTU 7TH SEM CSE DATA WAREHOUSING AND DATA MINING SOLVED PAPERS OF DEC2013 JUN...
VTU 7TH SEM CSE DATA WAREHOUSING AND DATA MINING SOLVED PAPERS OF DEC2013 JUN...
vtunotesbysree
 
Web mining
Web miningWeb mining
Web mining
SarthakSahoo8
 
Website analysis sample report
Website analysis sample reportWebsite analysis sample report
Website analysis sample reportSukumar Jena
 
Magento 2
Magento 2Magento 2
Magento 2
Screen Pages
 
Go4Grocery - Startup Pitch
Go4Grocery - Startup PitchGo4Grocery - Startup Pitch
Go4Grocery - Startup Pitch
Fahad Ramzan
 
Web Analytics in 10 slides
Web  Analytics in 10 slidesWeb  Analytics in 10 slides
Web Analytics in 10 slides
Aishwarya Saseendran
 
Introduction to Google Analytics
Introduction to Google AnalyticsIntroduction to Google Analytics
Introduction to Google Analytics
Arjun Parekh
 
Technologies for startup
Technologies for startupTechnologies for startup
Technologies for startup
Dzung Nguyen
 
Introduction to Web Scraping using Python and Beautiful Soup
Introduction to Web Scraping using Python and Beautiful SoupIntroduction to Web Scraping using Python and Beautiful Soup
Introduction to Web Scraping using Python and Beautiful Soup
Tushar Mittal
 
03 Building an E-commerce Presence: Web Sites, Mobile Sites, and Apps slides
03 Building an E-commerce Presence: Web Sites, Mobile Sites, and Apps slides03 Building an E-commerce Presence: Web Sites, Mobile Sites, and Apps slides
03 Building an E-commerce Presence: Web Sites, Mobile Sites, and Apps slidesmonchai sopitka
 

What's hot (20)

Web analytics presentation
Web analytics presentationWeb analytics presentation
Web analytics presentation
 
ppt of web designing and development
ppt of web designing and developmentppt of web designing and development
ppt of web designing and development
 
Data integration
Data integrationData integration
Data integration
 
Big Data in e-Commerce
Big Data in e-CommerceBig Data in e-Commerce
Big Data in e-Commerce
 
Project report
Project reportProject report
Project report
 
Digital Economy
Digital EconomyDigital Economy
Digital Economy
 
Advantages of metadata
Advantages of metadataAdvantages of metadata
Advantages of metadata
 
Types Of Web Hosting Explained
Types Of Web Hosting ExplainedTypes Of Web Hosting Explained
Types Of Web Hosting Explained
 
Domain and hosting
Domain and hostingDomain and hosting
Domain and hosting
 
VTU 7TH SEM CSE DATA WAREHOUSING AND DATA MINING SOLVED PAPERS OF DEC2013 JUN...
VTU 7TH SEM CSE DATA WAREHOUSING AND DATA MINING SOLVED PAPERS OF DEC2013 JUN...VTU 7TH SEM CSE DATA WAREHOUSING AND DATA MINING SOLVED PAPERS OF DEC2013 JUN...
VTU 7TH SEM CSE DATA WAREHOUSING AND DATA MINING SOLVED PAPERS OF DEC2013 JUN...
 
Web mining
Web miningWeb mining
Web mining
 
Website analysis sample report
Website analysis sample reportWebsite analysis sample report
Website analysis sample report
 
Magento 2
Magento 2Magento 2
Magento 2
 
WEB HOSTING
WEB HOSTINGWEB HOSTING
WEB HOSTING
 
Go4Grocery - Startup Pitch
Go4Grocery - Startup PitchGo4Grocery - Startup Pitch
Go4Grocery - Startup Pitch
 
Web Analytics in 10 slides
Web  Analytics in 10 slidesWeb  Analytics in 10 slides
Web Analytics in 10 slides
 
Introduction to Google Analytics
Introduction to Google AnalyticsIntroduction to Google Analytics
Introduction to Google Analytics
 
Technologies for startup
Technologies for startupTechnologies for startup
Technologies for startup
 
Introduction to Web Scraping using Python and Beautiful Soup
Introduction to Web Scraping using Python and Beautiful SoupIntroduction to Web Scraping using Python and Beautiful Soup
Introduction to Web Scraping using Python and Beautiful Soup
 
03 Building an E-commerce Presence: Web Sites, Mobile Sites, and Apps slides
03 Building an E-commerce Presence: Web Sites, Mobile Sites, and Apps slides03 Building an E-commerce Presence: Web Sites, Mobile Sites, and Apps slides
03 Building an E-commerce Presence: Web Sites, Mobile Sites, and Apps slides
 

Viewers also liked

Architecture for B2B models in Ecommerce
Architecture for B2B models in EcommerceArchitecture for B2B models in Ecommerce
Architecture for B2B models in Ecommerce
Nirbhik Jangid
 
B2B and e-commerce Architecture
B2B and e-commerce ArchitectureB2B and e-commerce Architecture
B2B and e-commerce Architecture
Sonia Grover
 
Architecture of a Modern Web App
Architecture of a Modern Web AppArchitecture of a Modern Web App
Architecture of a Modern Web Appscothis
 
Introduction to Web Architecture
Introduction to Web ArchitectureIntroduction to Web Architecture
Introduction to Web ArchitectureChamnap Chhorn
 
Design and Instantiation of Reference Architecture for Pluggable Service Plat...
Design and Instantiation of Reference Architecture for Pluggable Service Plat...Design and Instantiation of Reference Architecture for Pluggable Service Plat...
Design and Instantiation of Reference Architecture for Pluggable Service Plat...
Mohammad Anggasta Paramartha
 
B2B eCommerce Ecosystem
B2B eCommerce EcosystemB2B eCommerce Ecosystem
B2B eCommerce Ecosystem
AlphaZeta Interactive
 
7 Stages of Scaling Web Applications
7 Stages of Scaling Web Applications7 Stages of Scaling Web Applications
7 Stages of Scaling Web Applications
David Mitzenmacher
 
B2B and Ecommerce (Relation, Market, Growth & Future)
B2B and Ecommerce (Relation, Market, Growth & Future)B2B and Ecommerce (Relation, Market, Growth & Future)
B2B and Ecommerce (Relation, Market, Growth & Future)
Nirbhik Jangid
 
Building a Scalable Architecture for web apps
Building a Scalable Architecture for web appsBuilding a Scalable Architecture for web apps
Building a Scalable Architecture for web apps
Directi Group
 
E commerce ( system analysis ) chapter 4
E commerce ( system analysis ) chapter 4E commerce ( system analysis ) chapter 4
E commerce ( system analysis ) chapter 4
Qamar Farooq
 
eCommerce Platforms - an introduction
eCommerce Platforms - an introductioneCommerce Platforms - an introduction
eCommerce Platforms - an introduction
Ben Adams
 
facebook architecture for 600M users
facebook architecture for 600M usersfacebook architecture for 600M users
facebook architecture for 600M users
Jongyoon Choi
 
E-Commerce Basics
E-Commerce BasicsE-Commerce Basics
E-Commerce Basics
Al Muzahid
 
Retail Industry Enterprise Architecture Review
Retail Industry Enterprise Architecture ReviewRetail Industry Enterprise Architecture Review
Retail Industry Enterprise Architecture Review
Lakshmana Kattula
 
B2B Ecommerce: Design Principles and Best Practices to Boost Sales
B2B Ecommerce: Design Principles and Best Practices to Boost SalesB2B Ecommerce: Design Principles and Best Practices to Boost Sales
B2B Ecommerce: Design Principles and Best Practices to Boost Sales
Alex Schmelkin
 
E-Commerce PPT
E-Commerce PPTE-Commerce PPT
E-Commerce PPT
Anshuman Mahapatra
 
Considerations when selecting a SaaS eCommerce vendor
Considerations when selecting a SaaS eCommerce vendorConsiderations when selecting a SaaS eCommerce vendor
Considerations when selecting a SaaS eCommerce vendor
Ben Adams
 
Creating a Global E-Commerce Website With E-Business Suite and Fusion Middleware
Creating a Global E-Commerce Website With E-Business Suite and Fusion MiddlewareCreating a Global E-Commerce Website With E-Business Suite and Fusion Middleware
Creating a Global E-Commerce Website With E-Business Suite and Fusion Middleware
Brian Huff
 
Big Data Technology Stack : Nutshell
Big Data Technology Stack : NutshellBig Data Technology Stack : Nutshell
Big Data Technology Stack : Nutshell
Khalid Imran
 

Viewers also liked (20)

Architecture for B2B models in Ecommerce
Architecture for B2B models in EcommerceArchitecture for B2B models in Ecommerce
Architecture for B2B models in Ecommerce
 
B2B and e-commerce Architecture
B2B and e-commerce ArchitectureB2B and e-commerce Architecture
B2B and e-commerce Architecture
 
Architecture of a Modern Web App
Architecture of a Modern Web AppArchitecture of a Modern Web App
Architecture of a Modern Web App
 
Introduction to Web Architecture
Introduction to Web ArchitectureIntroduction to Web Architecture
Introduction to Web Architecture
 
Design and Instantiation of Reference Architecture for Pluggable Service Plat...
Design and Instantiation of Reference Architecture for Pluggable Service Plat...Design and Instantiation of Reference Architecture for Pluggable Service Plat...
Design and Instantiation of Reference Architecture for Pluggable Service Plat...
 
B2B eCommerce Ecosystem
B2B eCommerce EcosystemB2B eCommerce Ecosystem
B2B eCommerce Ecosystem
 
7 Stages of Scaling Web Applications
7 Stages of Scaling Web Applications7 Stages of Scaling Web Applications
7 Stages of Scaling Web Applications
 
B2B and Ecommerce (Relation, Market, Growth & Future)
B2B and Ecommerce (Relation, Market, Growth & Future)B2B and Ecommerce (Relation, Market, Growth & Future)
B2B and Ecommerce (Relation, Market, Growth & Future)
 
Building a Scalable Architecture for web apps
Building a Scalable Architecture for web appsBuilding a Scalable Architecture for web apps
Building a Scalable Architecture for web apps
 
E commerce ( system analysis ) chapter 4
E commerce ( system analysis ) chapter 4E commerce ( system analysis ) chapter 4
E commerce ( system analysis ) chapter 4
 
eCommerce Platforms - an introduction
eCommerce Platforms - an introductioneCommerce Platforms - an introduction
eCommerce Platforms - an introduction
 
facebook architecture for 600M users
facebook architecture for 600M usersfacebook architecture for 600M users
facebook architecture for 600M users
 
E-Commerce Basics
E-Commerce BasicsE-Commerce Basics
E-Commerce Basics
 
Retail Industry Enterprise Architecture Review
Retail Industry Enterprise Architecture ReviewRetail Industry Enterprise Architecture Review
Retail Industry Enterprise Architecture Review
 
B2B Ecommerce: Design Principles and Best Practices to Boost Sales
B2B Ecommerce: Design Principles and Best Practices to Boost SalesB2B Ecommerce: Design Principles and Best Practices to Boost Sales
B2B Ecommerce: Design Principles and Best Practices to Boost Sales
 
E-Commerce PPT
E-Commerce PPTE-Commerce PPT
E-Commerce PPT
 
E commerce
E commerceE commerce
E commerce
 
Considerations when selecting a SaaS eCommerce vendor
Considerations when selecting a SaaS eCommerce vendorConsiderations when selecting a SaaS eCommerce vendor
Considerations when selecting a SaaS eCommerce vendor
 
Creating a Global E-Commerce Website With E-Business Suite and Fusion Middleware
Creating a Global E-Commerce Website With E-Business Suite and Fusion MiddlewareCreating a Global E-Commerce Website With E-Business Suite and Fusion Middleware
Creating a Global E-Commerce Website With E-Business Suite and Fusion Middleware
 
Big Data Technology Stack : Nutshell
Big Data Technology Stack : NutshellBig Data Technology Stack : Nutshell
Big Data Technology Stack : Nutshell
 

Similar to e-Commerce web app Architecture and Scalability

Business Intelligence Data Warehouse System
Business Intelligence Data Warehouse SystemBusiness Intelligence Data Warehouse System
Business Intelligence Data Warehouse System
Kiran kumar
 
Talent Base: Best practises in a WCM project
Talent Base: Best practises in a WCM projectTalent Base: Best practises in a WCM project
Talent Base: Best practises in a WCM project
Loihde Advisory
 
Data warehousev2.1
Data warehousev2.1Data warehousev2.1
Data warehousev2.1
Tuan Luong
 
AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...
AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...
AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...
Amazon Web Services
 
Unit 3 part ii Data mining
Unit 3 part ii Data miningUnit 3 part ii Data mining
Unit 3 part ii Data mining
Dhilsath Fathima
 
GraphConnect Europe 2016 - Faster Lap Times with Neo4j - Srinivas Suravarapu
GraphConnect Europe 2016 - Faster Lap Times with Neo4j - Srinivas SuravarapuGraphConnect Europe 2016 - Faster Lap Times with Neo4j - Srinivas Suravarapu
GraphConnect Europe 2016 - Faster Lap Times with Neo4j - Srinivas Suravarapu
Neo4j
 
The Shifting Landscape of Data Integration
The Shifting Landscape of Data IntegrationThe Shifting Landscape of Data Integration
The Shifting Landscape of Data Integration
DATAVERSITY
 
Automating Business Insights on AWS,
Automating Business Insights on AWS, Automating Business Insights on AWS,
Automating Business Insights on AWS,
Amazon Web Services
 
Barga Galvanize Sept 2015
Barga Galvanize Sept 2015Barga Galvanize Sept 2015
Barga Galvanize Sept 2015
Roger Barga
 
The final frontier
The final frontierThe final frontier
The final frontierTerry Bunio
 
Introduction to data mining and data warehousing
Introduction to data mining and data warehousingIntroduction to data mining and data warehousing
Introduction to data mining and data warehousing
Er. Nawaraj Bhandari
 
Best practices with development of enterprise-scale SharePoint solutions - Pa...
Best practices with development of enterprise-scale SharePoint solutions - Pa...Best practices with development of enterprise-scale SharePoint solutions - Pa...
Best practices with development of enterprise-scale SharePoint solutions - Pa...
SPC Adriatics
 
Intro to Data Loss Prevention in SharePoint 2016
Intro to Data Loss Prevention in SharePoint 2016Intro to Data Loss Prevention in SharePoint 2016
Intro to Data Loss Prevention in SharePoint 2016
Craig Jahnke
 
Data Lakes - The Key to a Scalable Data Architecture
Data Lakes - The Key to a Scalable Data ArchitectureData Lakes - The Key to a Scalable Data Architecture
Data Lakes - The Key to a Scalable Data Architecture
Zaloni
 
presentationofism-complete-1-100227093028-phpapp01.pptx
presentationofism-complete-1-100227093028-phpapp01.pptxpresentationofism-complete-1-100227093028-phpapp01.pptx
presentationofism-complete-1-100227093028-phpapp01.pptx
vipush1
 
Episode 4: Personalization Best Practices
Episode 4: Personalization Best PracticesEpisode 4: Personalization Best Practices
Episode 4: Personalization Best Practices
Acquia
 
Strata San Jose 2017 - Ben Sharma Presentation
Strata San Jose 2017 - Ben Sharma PresentationStrata San Jose 2017 - Ben Sharma Presentation
Strata San Jose 2017 - Ben Sharma Presentation
Zaloni
 
ERP technology Areas.pptx
ERP technology Areas.pptxERP technology Areas.pptx
ERP technology Areas.pptx
ssuserdd904d
 

Similar to e-Commerce web app Architecture and Scalability (20)

Business Intelligence Data Warehouse System
Business Intelligence Data Warehouse SystemBusiness Intelligence Data Warehouse System
Business Intelligence Data Warehouse System
 
Talent Base: Best practises in a WCM project
Talent Base: Best practises in a WCM projectTalent Base: Best practises in a WCM project
Talent Base: Best practises in a WCM project
 
Data warehousev2.1
Data warehousev2.1Data warehousev2.1
Data warehousev2.1
 
AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...
AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...
AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...
 
Unit 3 part ii Data mining
Unit 3 part ii Data miningUnit 3 part ii Data mining
Unit 3 part ii Data mining
 
GraphConnect Europe 2016 - Faster Lap Times with Neo4j - Srinivas Suravarapu
GraphConnect Europe 2016 - Faster Lap Times with Neo4j - Srinivas SuravarapuGraphConnect Europe 2016 - Faster Lap Times with Neo4j - Srinivas Suravarapu
GraphConnect Europe 2016 - Faster Lap Times with Neo4j - Srinivas Suravarapu
 
The Shifting Landscape of Data Integration
The Shifting Landscape of Data IntegrationThe Shifting Landscape of Data Integration
The Shifting Landscape of Data Integration
 
Automating Business Insights on AWS,
Automating Business Insights on AWS, Automating Business Insights on AWS,
Automating Business Insights on AWS,
 
Data mining wrhousing-lec
Data mining wrhousing-lecData mining wrhousing-lec
Data mining wrhousing-lec
 
Barga Galvanize Sept 2015
Barga Galvanize Sept 2015Barga Galvanize Sept 2015
Barga Galvanize Sept 2015
 
The final frontier
The final frontierThe final frontier
The final frontier
 
Introduction to data mining and data warehousing
Introduction to data mining and data warehousingIntroduction to data mining and data warehousing
Introduction to data mining and data warehousing
 
Best practices with development of enterprise-scale SharePoint solutions - Pa...
Best practices with development of enterprise-scale SharePoint solutions - Pa...Best practices with development of enterprise-scale SharePoint solutions - Pa...
Best practices with development of enterprise-scale SharePoint solutions - Pa...
 
Intro to Data Loss Prevention in SharePoint 2016
Intro to Data Loss Prevention in SharePoint 2016Intro to Data Loss Prevention in SharePoint 2016
Intro to Data Loss Prevention in SharePoint 2016
 
Data Lakes - The Key to a Scalable Data Architecture
Data Lakes - The Key to a Scalable Data ArchitectureData Lakes - The Key to a Scalable Data Architecture
Data Lakes - The Key to a Scalable Data Architecture
 
presentationofism-complete-1-100227093028-phpapp01.pptx
presentationofism-complete-1-100227093028-phpapp01.pptxpresentationofism-complete-1-100227093028-phpapp01.pptx
presentationofism-complete-1-100227093028-phpapp01.pptx
 
Episode 4: Personalization Best Practices
Episode 4: Personalization Best PracticesEpisode 4: Personalization Best Practices
Episode 4: Personalization Best Practices
 
Data warehousing
Data warehousingData warehousing
Data warehousing
 
Strata San Jose 2017 - Ben Sharma Presentation
Strata San Jose 2017 - Ben Sharma PresentationStrata San Jose 2017 - Ben Sharma Presentation
Strata San Jose 2017 - Ben Sharma Presentation
 
ERP technology Areas.pptx
ERP technology Areas.pptxERP technology Areas.pptx
ERP technology Areas.pptx
 

More from Aryashree Pritikrishna

Mangalacarana Prayers
Mangalacarana PrayersMangalacarana Prayers
Mangalacarana Prayers
Aryashree Pritikrishna
 
Parikshit Maharaj
Parikshit MaharajParikshit Maharaj
Parikshit Maharaj
Aryashree Pritikrishna
 
Narsimha Chaturdashi Special
Narsimha Chaturdashi SpecialNarsimha Chaturdashi Special
Narsimha Chaturdashi Special
Aryashree Pritikrishna
 
A life in service to God and humanity
A life in service to God and humanityA life in service to God and humanity
A life in service to God and humanity
Aryashree Pritikrishna
 
Updating drupal core in a git way
Updating drupal core in a git wayUpdating drupal core in a git way
Updating drupal core in a git way
Aryashree Pritikrishna
 
Reference Model for ISEB Certificates in Enterprise and Solution Architecture
Reference Model for ISEB  Certificates in Enterprise  and Solution ArchitectureReference Model for ISEB  Certificates in Enterprise  and Solution Architecture
Reference Model for ISEB Certificates in Enterprise and Solution Architecture
Aryashree Pritikrishna
 
Get started with angular js
Get started with angular jsGet started with angular js
Get started with angular js
Aryashree Pritikrishna
 
Drupal project management
Drupal project managementDrupal project management
Drupal project management
Aryashree Pritikrishna
 
Lets Make our Web Applications Secure
Lets Make our Web Applications SecureLets Make our Web Applications Secure
Lets Make our Web Applications Secure
Aryashree Pritikrishna
 
User Experience for Large-scale Web-Applications
User Experience for Large-scale Web-ApplicationsUser Experience for Large-scale Web-Applications
User Experience for Large-scale Web-Applications
Aryashree Pritikrishna
 
txtWeb : Imagine the Internet and more on SMS
txtWeb : Imagine the Internet and more on SMStxtWeb : Imagine the Internet and more on SMS
txtWeb : Imagine the Internet and more on SMS
Aryashree Pritikrishna
 

More from Aryashree Pritikrishna (11)

Mangalacarana Prayers
Mangalacarana PrayersMangalacarana Prayers
Mangalacarana Prayers
 
Parikshit Maharaj
Parikshit MaharajParikshit Maharaj
Parikshit Maharaj
 
Narsimha Chaturdashi Special
Narsimha Chaturdashi SpecialNarsimha Chaturdashi Special
Narsimha Chaturdashi Special
 
A life in service to God and humanity
A life in service to God and humanityA life in service to God and humanity
A life in service to God and humanity
 
Updating drupal core in a git way
Updating drupal core in a git wayUpdating drupal core in a git way
Updating drupal core in a git way
 
Reference Model for ISEB Certificates in Enterprise and Solution Architecture
Reference Model for ISEB  Certificates in Enterprise  and Solution ArchitectureReference Model for ISEB  Certificates in Enterprise  and Solution Architecture
Reference Model for ISEB Certificates in Enterprise and Solution Architecture
 
Get started with angular js
Get started with angular jsGet started with angular js
Get started with angular js
 
Drupal project management
Drupal project managementDrupal project management
Drupal project management
 
Lets Make our Web Applications Secure
Lets Make our Web Applications SecureLets Make our Web Applications Secure
Lets Make our Web Applications Secure
 
User Experience for Large-scale Web-Applications
User Experience for Large-scale Web-ApplicationsUser Experience for Large-scale Web-Applications
User Experience for Large-scale Web-Applications
 
txtWeb : Imagine the Internet and more on SMS
txtWeb : Imagine the Internet and more on SMStxtWeb : Imagine the Internet and more on SMS
txtWeb : Imagine the Internet and more on SMS
 

Recently uploaded

A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 

Recently uploaded (20)

A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 

e-Commerce web app Architecture and Scalability

  • 1. e-Commerce web app Architecture and Scalability
  • 2. So, what’s in an E-Commerce Store? Slide 2 Catalogs State Discounts Inventory Fulfillment Social Integration Payment Note: This image is for illustrative purposes only. MindTree does not recommend or associate itself with either this site, or the products displayed here. Any copyrights belong to their respective owners Analytics Cross-sell Content Search Seasonality 00000 Ads Personalization Cust. Service
  • 5. The Key to Scalability… Slide 5 •Ability of a system to handle or be enlarged to handle growing amounts of work gracefully … is to understand what it is •Identify bottlenecks, and mitigate •Identify load sources, and minimize … is to keep principles simple •“How scalable do you want it?” (Do you have the NFRs?) … is to understand what’s expected •If my look-to-book ratio is 90:10, can I scale differently? •Do I always need to depend on the scalability of my partners? •Do all of my subsystems need to scale equally? •If my load is seasonal, should I be safe and overprovision? … is to exploit system characteristics
  • 6. IntegrationMiddleware So what’s Different? Slide 6 Lots of integration – and dependencies Combo of content and Data Complicated rules spanning entities Rich and useful data to be analyzed and mined The breadwinner! Many different channels – and loadLots of these guys (hopefully!) Some typical usage patterns Lots of potential plus lots of load
  • 7. Mapping to Scalability Considerations Multiple channels User behavior Social Content Slide 7 Content + Data Rules and analytics Integration – and dependencies
  • 8. Scalability Strategies: Multiple Channels • Scale out • Minimize state for better load balancing, and to reduce memory footprint • Use CDNs to farm out traffic to other sites, or consider A/A DC’s • Exploit client capability, and minimize traffic • Leverage device profile to serve appropriate content • Scale out • Minimize state for better load balancing, and to reduce memory footprint • Use CDNs to farm out traffic to other sites, or consider A/A DC’s • Exploit client capability, and minimize traffic • Leverage device profile to serve appropriate content Frontends • Use lightweight protocols • Split between presentation services and interface services and choose granularity • Use lightweight protocols • Split between presentation services and interface services and choose granularity Services Slide 8
  • 9. Scalability Strategies: Content, Social Traffic • Content and data scale differently – so scale them independently • Mash up content, UGC, and catalog data in a portal • Leverage CMS’ caching as far as possible • Consider publishing static HTML • Organize CMS structures appropriately • Use CDNs or servers appropriate to the purpose • Content and data scale differently – so scale them independently • Mash up content, UGC, and catalog data in a portal • Leverage CMS’ caching as far as possible • Consider publishing static HTML • Organize CMS structures appropriately • Use CDNs or servers appropriate to the purpose Content • Separate onto other servers • Leverage existing social network platforms • Separate onto other servers • Leverage existing social network platforms UGC Slide 9
  • 10. Scalability Strategies: User Behavior Slide 10 •Separate reads and writes; scale out read nodes using replication / master-slave, … •Split functionality between database instances •Use sharding (carefully) to partition and scale out writes •Choose optimistic reads (carefully) to minimize locks •Separate reads and writes; scale out read nodes using replication / master-slave, … •Split functionality between database instances •Use sharding (carefully) to partition and scale out writes •Choose optimistic reads (carefully) to minimize locks Data •A fair bit of data changes slowly – cache aggressively: catalogs, content, … •Try and cache inventory levels as well, based on thresholds •A fair bit of data changes slowly – cache aggressively: catalogs, content, … •Try and cache inventory levels as well, based on thresholds Minimize I/O •Create private clouds or leverage public / hybrid clouds•Create private clouds or leverage public / hybrid clouds Elasticity
  • 11. Scalability Strategies: Rules and Analytics Slide 11 • Classify into cross-sell rules, transaction processing rules • Cross-sell rules more heavily used, use more data • Pre-compute results - not everything needs to be real-time • Reduce target datasets - not everything is against the universe • Classify into cross-sell rules, transaction processing rules • Cross-sell rules more heavily used, use more data • Pre-compute results - not everything needs to be real-time • Reduce target datasets - not everything is against the universe Rules • Separate analytics from transactional systems • Run them off of their own instance • Separate analytics from transactional systems • Run them off of their own instance Analytics
  • 12. Scalability Strategies: Integration Slide 12 • Use synchronous calls only when needed (for example, payments) • Use queuing for durability and throttling • Have a fallback mechanism: • Last day’s inventory in case the inventory system isn’t coping • Backend payment if payment gateway isn’t coping • Consider batch mode integration vs. real-time always • Use synchronous calls only when needed (for example, payments) • Use queuing for durability and throttling • Have a fallback mechanism: • Last day’s inventory in case the inventory system isn’t coping • Backend payment if payment gateway isn’t coping • Consider batch mode integration vs. real-time always Dependencies
  • 13. Strategies for Commerce Engines Use products (commercial | open source) for commerce, content, search, etc. Choose taxonomy and design carefully Catalogs, virtual catalogs, materialized catalogs, catalog sets, page snapshots, … Content taxonomy Cache appropriately Content caching at browser, CDN, CMS, commerce engine, … Commerce caching for catalogs, ad rules, pricing and inventory, … Scale appropriately Consider data volumes (catalog sizes, user base, …) for sharding or partitioning Follow vendor best practices for scaling Slide 13
  • 14. General Scalability Strategies  Use statelessness to scale better  Choose shared-nothing models to scale best  Choose shared-(something) or externalized state models with due considerations  Reduce HTTP requests and payload  Use techniques like file versioning, sprites, inline images, compression, …  Be asynchronous where possible  When calling backend systems, for example  Choose faster (or lesser) I/O to minimize latency  Cache aggressively  Use faster I/O where possible  Keep data small and archive aggressively to scale I/O and DBs  Keep data close helps use network better and to reduce latency  Write good code! Slide 14
  • 15. In Summary Know what you are looking to achieve NFRs, business outlook Exploit usage characteristics Read/write ratios, acceptable lags, functional separation Design for scale Statelessness, service granularity, protocols Reduce load Pre-compute data, cache aggressively, offload Identify subsystem scalability needs Scale what’s needed, not everything Leverage others! Product capabilities, CDNs, cloud providers, social networking platforms Slide 15