SlideShare a Scribd company logo
1 of 16
Sitecore JSS
What about scale?
Jonathan Bobo – Sitecore Strategy MVP 2019
Proximity Paris
November 2019
PROXIMITY | 2
Core headless principles
• Decoupling, the core principle of Headless applications
• 2 main application components
• Backend
• Frontend (ReactJS)
• 2 main infrastructure options
• All hosted within Sitecore infrastructure
• Frontend hosted on dedicated nodeJS servers
SITECORE JSS AT SCALE
Backend ReactJS
PROXIMITY | 3
Sitecore JSS Infrastructure models
SITECORE JSS AT SCALE
Sitecore infrastructure
Backend
Frontend
Sitecore
infrastructure
Backend
Frontend
infrastructure
ReactJS
Full Sitecore setup Headless server setup
PROXIMITY | 4
Sitecore JSS with Headless Server Side
• Decoupling at infrastructure level
• Frontend and Backend hosted separately
• Frontend and backend scaled separately
• Increased control of infrastructure cost at scale
• Requires additional server setup on top of Sitecore
(nodeJS)
• Sitecore JSS integrated mode can be used for content
authoring
SITECORE JSS AT SCALE
Source: https://jss.sitecore.com/docs/techniques/devops
PROXIMITY | 5
Frontend hosting with dedicated web server
• Frontend delivery with headless architecture
• HTML code and JS components are rendered via a web
server
• The web server serves CSS and JS libraries via a CDN
• Content is directly served by the CMS via APIs
• Content assets are served by the CMS via a CDN
• Backend logic is served via microservices APIs
SITECORE JSS AT SCALE
CMS Content
APIs
Services APIs
Frontend web
server
Content
Frontend
components
Frontend
code
Logic
Visitors
browsers
CMS infrastructure
Microservices infrastructure
Frontend infrastructure
HTML/JS
CDN
Images/CSS/JS
CSS/JS
Images
CDN infrastructure
Development infrastructure
PROXIMITY | 6
Example of frontend delivery
SITECORE JSS AT SCALE
CMS
Microservices APIs
Web server
Content
ReactJS components
Frontend
code
Logic
Visitors browsers
HTML/JS
CDN
Images/CSS/JS
CSS/JS
Images
PROXIMITY | 7
What happens at scale?
• With high load of traffic or increasing number of contents
• Frontend web server may respond slower under high traffic - Risk
• CDNs usually respond quite well with high traffic load - Safe
• CDNs usually respond quite well even with very high number of assets - Safe
• CMS content APIs may respond slower due to increasing database size (# contents) - Risk
• CMS content APIs may respond slower under high traffic load - Risk
• Microservices APIs may respond slower under high traffic load – Risk
SITECORE JSS AT SCALE
CMS Content
APIs
Services APIs
Frontend web
server
Content
Frontend
components
Frontend
code
Logic
Visitors
browsers
CMS infrastructure
Microservices infrastructure
Frontend infrastructure
HTML/JS
CDN
Images/CSS/JS
CSS/JS
Images
CDN infrastructure
Development infrastructure
PROXIMITY | 8
Adding static site generation to the mix
• Optimizing for performances with static HTML
• Content is pulled from the CMS upfront (not live)
• CMS APIs are mainly used at build time VS run time
• The resource usage on the frontend server is drastically
reduced
• Most of the frontend rendering is done via CDN
• Pivotal role for the CDN in the delivery process
• All the traffic is still channeled through the frontend
servers
SITECORE JSS AT SCALE
CMS Content
APIs
Services APIs
Frontend web
server
Content
Frontend
components
Frontend
code
Logic
Visitors
browsers
CMS infrastructure
Microservices infrastructure
Frontend infrastructure
HTTP Requests to origin
CDN
HTML
Images/CSS/JS
Static HTML/CSS/JS
Images
CDN infrastructure
Development infrastructure
PROXIMITY | 9
Static site – What happens at scale?
SITECORE JSS AT SCALE
CMS Content
APIs
Services APIs
Frontend web
server
Content
Frontend
components
Frontend
code
Logic
Visitors
browsers
CMS infrastructure
Microservices infrastructure
Frontend infrastructure
HTTP Requests to origin
CDN
HTML
Images/CSS/JS
Static HTML/CSS/JS
Images
CDN infrastructure• With high load of traffic or increasing number of contents
• Frontend web server may respond slower under high traffic - Risk
• CDNs usually respond quite well with high traffic load - Safe
• CDNs usually respond quite well even with very high number of assets - Safe
• CMS content APIs may respond slower due to increasing database size (# contents) but contents are fetched
upfront - Safe
• CMS content APIs are not impacted by traffic load - Safe
• Microservices APIs may respond slower under high traffic load – Risk
• Frontend web server
• Most of the delivery is done by the CDN
• The web server is still the origin for all visits, it manages dynamic routing, redirections, http headers…
Development infrastructure
PROXIMITY | 10
Static sites – Not adapted to all use cases
• Dynamic and live content platforms
• Content publishing not live with static sites
• All pages are pre-rendered upfront
• Content pushed to live within specific windows
SITECORE JSS AT SCALE
PROXIMITY | 11
Static sites – Not adapted to all use cases
• Personalized content platforms
• Personalized experience triggered on client side mainly
• Most part of the page should be the same for all visitors
SITECORE JSS AT SCALE
PROXIMITY | 12
One step further: Frontend rendering fully
delegated to Next generation CDNs
SITECORE JSS AT SCALE
CMS Content
APIs
Services APIs
Pre -
Rendering
Content
Frontend
components
Frontend
code
Logic
Visitors
browsers
CMS infrastructure
Microservices infrastructure
Development infrastructure
CDN Hosting
AllHTTP
requests
Static site
Images
CDN infrastructure• Static Web Hosting with a CDN
• CDN becomes the traffic origin
• Routing and Redirection handled at CDN level
• All the frontend is delivered on the edge
• Build & static site generation is handled upfront
• The static version of the site is pulled via CI/CD tools
PROXIMITY | 13
Next generation CDN Hosting – What happens
at scale?
SITECORE JSS AT SCALE
CMS Content
APIs
Services APIs
Pre -
Rendering
Content
Frontend
components
Frontend
code
Logic
Visitors
browsers
CMS infrastructure
Microservices infrastructure
Development infrastructure
CDN Hosting
AllHTTP
requests
Static site
Images
CDN infrastructure• With high load of traffic or increasing number of contents
• Frontend is fully rendered by a CDN - Safe
• CDNs usually respond quite well with high traffic load - Safe
• CDNs usually respond quite well even with very high number of assets - Safe
• CMS content APIs may respond slower due to increasing database size (# contents) but contents are fetched
upfront - Safe
• CMS content APIs are not impacted by traffic load - Safe
• Microservices APIs may respond slower under high traffic load – Risk
• CDN Hosting
• All requests (except microservice API calls) go directly to the CDN
• All redirections, routing and other runtime processing is done at CDN level
PROXIMITY | 14
Example of frontend delivery with CDN Hosting
SITECORE JSS AT SCALE
CMS
Microservices APIs
Pre-rendering
Content + frontend
ReactJS components
Logic
Visitors browsers
CDN Hosting
AllHTTPrequests
Static site
Images
PROXIMITY | 15
Frontend infrastructure options
Standard web server
hosting
Static site on web
server
Static site via CDN
Infrastructure ownership Website owner Website owner Tech Vendor
Content publishing Live Reduced publishing
windows
Reduced publishing
windows
Website delivery
components
Frontend web server,
CDN, CMS,
Microservices
Frontend web server
(low usage), CDN,
Microservices
CDN, Microservices
Infrastructure impacted
upon scale
Frontend web server,
CDN, CMS,
Microservices
Frontend web server,
CDN, Microservices
CDN, Microservices
SITECORE JSS AT SCALE
Thank you Jonathan Bobo
Sitecore Strategy MVP 2019
CTO at Proximity Paris & Hangar Worldwide
jonathan.bobo@proximitybbdo.fr

More Related Content

What's hot

WSO2Con USA 2017: Scalable Real-time Complex Event Processing at Uber
WSO2Con USA 2017: Scalable Real-time Complex Event Processing at UberWSO2Con USA 2017: Scalable Real-time Complex Event Processing at Uber
WSO2Con USA 2017: Scalable Real-time Complex Event Processing at UberWSO2
 
ServerlessPresentation
ServerlessPresentationServerlessPresentation
ServerlessPresentationRohit Kumar
 
Zitec+ +new business+-+3iun2010
Zitec+ +new business+-+3iun2010Zitec+ +new business+-+3iun2010
Zitec+ +new business+-+3iun2010Agora Group
 
Cloud Bursting with A10 Lightning ADS
Cloud Bursting with A10 Lightning ADSCloud Bursting with A10 Lightning ADS
Cloud Bursting with A10 Lightning ADSAkshay Mathur
 
Restful web services rule financial
Restful web services   rule financialRestful web services   rule financial
Restful web services rule financialRule_Financial
 
MongoDB and MongoMK Source Event
MongoDB and MongoMK Source EventMongoDB and MongoMK Source Event
MongoDB and MongoMK Source EventYuval Ararat
 
Melbourne User Group OAK and MongoDB
Melbourne User Group OAK and MongoDBMelbourne User Group OAK and MongoDB
Melbourne User Group OAK and MongoDBYuval Ararat
 
ChemAxon's Compliance Checker - Cheminfo Stories 2020 Day 5
ChemAxon's Compliance Checker - Cheminfo Stories 2020 Day 5ChemAxon's Compliance Checker - Cheminfo Stories 2020 Day 5
ChemAxon's Compliance Checker - Cheminfo Stories 2020 Day 5ChemAxon
 
Whitebase : Assault Carrier for Micro-Services
Whitebase : Assault Carrier for Micro-ServicesWhitebase : Assault Carrier for Micro-Services
Whitebase : Assault Carrier for Micro-ServicesJaewoo Ahn
 
Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...
Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...
Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...Tony Erwin
 
Brian Campo, DoD JCS, Content.gov Presentation
Brian Campo, DoD JCS, Content.gov PresentationBrian Campo, DoD JCS, Content.gov Presentation
Brian Campo, DoD JCS, Content.gov PresentationAlfresco Software
 
Swift UI in CloudStack
Swift UI in CloudStackSwift UI in CloudStack
Swift UI in CloudStackWill Stevens
 
Don't Get Schooled: Performance and Security Tips from a Leading Education Sa...
Don't Get Schooled: Performance and Security Tips from a Leading Education Sa...Don't Get Schooled: Performance and Security Tips from a Leading Education Sa...
Don't Get Schooled: Performance and Security Tips from a Leading Education Sa...Meghan Weinreich
 
Step-by-Step Parse Migration
Step-by-Step Parse MigrationStep-by-Step Parse Migration
Step-by-Step Parse MigrationMongoDB
 
Really Simple Web Content Management
Really Simple Web Content ManagementReally Simple Web Content Management
Really Simple Web Content ManagementAlfresco Software
 
Cloud Development with Camel and Amazon Web Services
Cloud Development with Camel and Amazon Web ServicesCloud Development with Camel and Amazon Web Services
Cloud Development with Camel and Amazon Web ServicesRobin Howlett
 
Building a PaaS with Docker and AWS
Building a PaaS with Docker and AWSBuilding a PaaS with Docker and AWS
Building a PaaS with Docker and AWSvesirin
 
WSO2 Use Case - API Facade Pattern
WSO2 Use Case - API  Facade PatternWSO2 Use Case - API  Facade Pattern
WSO2 Use Case - API Facade PatternWSO2
 

What's hot (20)

MicroServices sur AWS
MicroServices sur AWSMicroServices sur AWS
MicroServices sur AWS
 
WSO2Con USA 2017: Scalable Real-time Complex Event Processing at Uber
WSO2Con USA 2017: Scalable Real-time Complex Event Processing at UberWSO2Con USA 2017: Scalable Real-time Complex Event Processing at Uber
WSO2Con USA 2017: Scalable Real-time Complex Event Processing at Uber
 
ServerlessPresentation
ServerlessPresentationServerlessPresentation
ServerlessPresentation
 
Zitec+ +new business+-+3iun2010
Zitec+ +new business+-+3iun2010Zitec+ +new business+-+3iun2010
Zitec+ +new business+-+3iun2010
 
Cloud Bursting with A10 Lightning ADS
Cloud Bursting with A10 Lightning ADSCloud Bursting with A10 Lightning ADS
Cloud Bursting with A10 Lightning ADS
 
Restful web services rule financial
Restful web services   rule financialRestful web services   rule financial
Restful web services rule financial
 
MongoDB and MongoMK Source Event
MongoDB and MongoMK Source EventMongoDB and MongoMK Source Event
MongoDB and MongoMK Source Event
 
Melbourne User Group OAK and MongoDB
Melbourne User Group OAK and MongoDBMelbourne User Group OAK and MongoDB
Melbourne User Group OAK and MongoDB
 
ChemAxon's Compliance Checker - Cheminfo Stories 2020 Day 5
ChemAxon's Compliance Checker - Cheminfo Stories 2020 Day 5ChemAxon's Compliance Checker - Cheminfo Stories 2020 Day 5
ChemAxon's Compliance Checker - Cheminfo Stories 2020 Day 5
 
Whitebase : Assault Carrier for Micro-Services
Whitebase : Assault Carrier for Micro-ServicesWhitebase : Assault Carrier for Micro-Services
Whitebase : Assault Carrier for Micro-Services
 
Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...
Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...
Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...
 
Brian Campo, DoD JCS, Content.gov Presentation
Brian Campo, DoD JCS, Content.gov PresentationBrian Campo, DoD JCS, Content.gov Presentation
Brian Campo, DoD JCS, Content.gov Presentation
 
Swift UI in CloudStack
Swift UI in CloudStackSwift UI in CloudStack
Swift UI in CloudStack
 
Don't Get Schooled: Performance and Security Tips from a Leading Education Sa...
Don't Get Schooled: Performance and Security Tips from a Leading Education Sa...Don't Get Schooled: Performance and Security Tips from a Leading Education Sa...
Don't Get Schooled: Performance and Security Tips from a Leading Education Sa...
 
Step-by-Step Parse Migration
Step-by-Step Parse MigrationStep-by-Step Parse Migration
Step-by-Step Parse Migration
 
Really Simple Web Content Management
Really Simple Web Content ManagementReally Simple Web Content Management
Really Simple Web Content Management
 
Cloud Development with Camel and Amazon Web Services
Cloud Development with Camel and Amazon Web ServicesCloud Development with Camel and Amazon Web Services
Cloud Development with Camel and Amazon Web Services
 
Building a PaaS with Docker and AWS
Building a PaaS with Docker and AWSBuilding a PaaS with Docker and AWS
Building a PaaS with Docker and AWS
 
WSO2 Use Case - API Facade Pattern
WSO2 Use Case - API  Facade PatternWSO2 Use Case - API  Facade Pattern
WSO2 Use Case - API Facade Pattern
 
Micro services
Micro servicesMicro services
Micro services
 

Similar to Sitecore JSS at scale

Evolution of the IBM Cloud Console: From Monolith to Microservices and Beyond
Evolution of the IBM Cloud Console: From Monolith to Microservices and BeyondEvolution of the IBM Cloud Console: From Monolith to Microservices and Beyond
Evolution of the IBM Cloud Console: From Monolith to Microservices and BeyondTony Erwin
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
CDN implmentation consideration
CDN implmentation considerationCDN implmentation consideration
CDN implmentation considerationAvi Shalisman
 
Content Delivery Network - CDN
Content Delivery Network - CDNContent Delivery Network - CDN
Content Delivery Network - CDNMojtaba HOUSHMAND
 
A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...
A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...
A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...Ram G Athreya
 
Building a website without a webserver on Azure
Building a website without a webserver on AzureBuilding a website without a webserver on Azure
Building a website without a webserver on AzureTodd Whitehead
 
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
Edge 2016 Session 1886  Building your own docker container cloud on ibm power...Edge 2016 Session 1886  Building your own docker container cloud on ibm power...
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...Yong Feng
 
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech TalksDeep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech TalksAmazon Web Services
 
Delivering Mobile Apps That Perform
Delivering Mobile Apps That PerformDelivering Mobile Apps That Perform
Delivering Mobile Apps That PerformRuben Goncalves
 
Performance and Scalability Art of Isomorphic React Applications
Performance and Scalability Art of Isomorphic React ApplicationsPerformance and Scalability Art of Isomorphic React Applications
Performance and Scalability Art of Isomorphic React ApplicationsDenis Izmaylov
 
High performance web sites with multilevel caching
High performance web sites with multilevel cachingHigh performance web sites with multilevel caching
High performance web sites with multilevel cachingDotnet Open Group
 
Rami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with DockerRami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with DockerWeb à Québec
 
How to use python to build a scalable Web Application
How to use python to build a scalable Web ApplicationHow to use python to build a scalable Web Application
How to use python to build a scalable Web ApplicationAmir Hadad
 
Serverless: Market Overview and Investment Opportunities
Serverless: Market Overview and Investment OpportunitiesServerless: Market Overview and Investment Opportunities
Serverless: Market Overview and Investment OpportunitiesUnderscore VC
 
PAC 2019 virtual Mark Tomlinson
PAC 2019 virtual Mark TomlinsonPAC 2019 virtual Mark Tomlinson
PAC 2019 virtual Mark TomlinsonNeotys
 
Cloud-native Data: Every Microservice Needs a Cache
Cloud-native Data: Every Microservice Needs a CacheCloud-native Data: Every Microservice Needs a Cache
Cloud-native Data: Every Microservice Needs a Cachecornelia davis
 
Sm west 2010-microsoft-workshop
Sm west 2010-microsoft-workshopSm west 2010-microsoft-workshop
Sm west 2010-microsoft-workshopPrashant Ohal
 

Similar to Sitecore JSS at scale (20)

Building SPA’s (Single Page App) with Backbone.js
Building SPA’s (Single Page App) with Backbone.jsBuilding SPA’s (Single Page App) with Backbone.js
Building SPA’s (Single Page App) with Backbone.js
 
Evolution of the IBM Cloud Console: From Monolith to Microservices and Beyond
Evolution of the IBM Cloud Console: From Monolith to Microservices and BeyondEvolution of the IBM Cloud Console: From Monolith to Microservices and Beyond
Evolution of the IBM Cloud Console: From Monolith to Microservices and Beyond
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
CDN implmentation consideration
CDN implmentation considerationCDN implmentation consideration
CDN implmentation consideration
 
Content Delivery Network - CDN
Content Delivery Network - CDNContent Delivery Network - CDN
Content Delivery Network - CDN
 
A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...
A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...
A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...
 
Building a website without a webserver on Azure
Building a website without a webserver on AzureBuilding a website without a webserver on Azure
Building a website without a webserver on Azure
 
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
Edge 2016 Session 1886  Building your own docker container cloud on ibm power...Edge 2016 Session 1886  Building your own docker container cloud on ibm power...
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
 
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech TalksDeep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
 
Microservices
MicroservicesMicroservices
Microservices
 
Remix
RemixRemix
Remix
 
Delivering Mobile Apps That Perform
Delivering Mobile Apps That PerformDelivering Mobile Apps That Perform
Delivering Mobile Apps That Perform
 
Performance and Scalability Art of Isomorphic React Applications
Performance and Scalability Art of Isomorphic React ApplicationsPerformance and Scalability Art of Isomorphic React Applications
Performance and Scalability Art of Isomorphic React Applications
 
High performance web sites with multilevel caching
High performance web sites with multilevel cachingHigh performance web sites with multilevel caching
High performance web sites with multilevel caching
 
Rami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with DockerRami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with Docker
 
How to use python to build a scalable Web Application
How to use python to build a scalable Web ApplicationHow to use python to build a scalable Web Application
How to use python to build a scalable Web Application
 
Serverless: Market Overview and Investment Opportunities
Serverless: Market Overview and Investment OpportunitiesServerless: Market Overview and Investment Opportunities
Serverless: Market Overview and Investment Opportunities
 
PAC 2019 virtual Mark Tomlinson
PAC 2019 virtual Mark TomlinsonPAC 2019 virtual Mark Tomlinson
PAC 2019 virtual Mark Tomlinson
 
Cloud-native Data: Every Microservice Needs a Cache
Cloud-native Data: Every Microservice Needs a CacheCloud-native Data: Every Microservice Needs a Cache
Cloud-native Data: Every Microservice Needs a Cache
 
Sm west 2010-microsoft-workshop
Sm west 2010-microsoft-workshopSm west 2010-microsoft-workshop
Sm west 2010-microsoft-workshop
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 

Recently uploaded (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 

Sitecore JSS at scale

  • 1. Sitecore JSS What about scale? Jonathan Bobo – Sitecore Strategy MVP 2019 Proximity Paris November 2019
  • 2. PROXIMITY | 2 Core headless principles • Decoupling, the core principle of Headless applications • 2 main application components • Backend • Frontend (ReactJS) • 2 main infrastructure options • All hosted within Sitecore infrastructure • Frontend hosted on dedicated nodeJS servers SITECORE JSS AT SCALE Backend ReactJS
  • 3. PROXIMITY | 3 Sitecore JSS Infrastructure models SITECORE JSS AT SCALE Sitecore infrastructure Backend Frontend Sitecore infrastructure Backend Frontend infrastructure ReactJS Full Sitecore setup Headless server setup
  • 4. PROXIMITY | 4 Sitecore JSS with Headless Server Side • Decoupling at infrastructure level • Frontend and Backend hosted separately • Frontend and backend scaled separately • Increased control of infrastructure cost at scale • Requires additional server setup on top of Sitecore (nodeJS) • Sitecore JSS integrated mode can be used for content authoring SITECORE JSS AT SCALE Source: https://jss.sitecore.com/docs/techniques/devops
  • 5. PROXIMITY | 5 Frontend hosting with dedicated web server • Frontend delivery with headless architecture • HTML code and JS components are rendered via a web server • The web server serves CSS and JS libraries via a CDN • Content is directly served by the CMS via APIs • Content assets are served by the CMS via a CDN • Backend logic is served via microservices APIs SITECORE JSS AT SCALE CMS Content APIs Services APIs Frontend web server Content Frontend components Frontend code Logic Visitors browsers CMS infrastructure Microservices infrastructure Frontend infrastructure HTML/JS CDN Images/CSS/JS CSS/JS Images CDN infrastructure Development infrastructure
  • 6. PROXIMITY | 6 Example of frontend delivery SITECORE JSS AT SCALE CMS Microservices APIs Web server Content ReactJS components Frontend code Logic Visitors browsers HTML/JS CDN Images/CSS/JS CSS/JS Images
  • 7. PROXIMITY | 7 What happens at scale? • With high load of traffic or increasing number of contents • Frontend web server may respond slower under high traffic - Risk • CDNs usually respond quite well with high traffic load - Safe • CDNs usually respond quite well even with very high number of assets - Safe • CMS content APIs may respond slower due to increasing database size (# contents) - Risk • CMS content APIs may respond slower under high traffic load - Risk • Microservices APIs may respond slower under high traffic load – Risk SITECORE JSS AT SCALE CMS Content APIs Services APIs Frontend web server Content Frontend components Frontend code Logic Visitors browsers CMS infrastructure Microservices infrastructure Frontend infrastructure HTML/JS CDN Images/CSS/JS CSS/JS Images CDN infrastructure Development infrastructure
  • 8. PROXIMITY | 8 Adding static site generation to the mix • Optimizing for performances with static HTML • Content is pulled from the CMS upfront (not live) • CMS APIs are mainly used at build time VS run time • The resource usage on the frontend server is drastically reduced • Most of the frontend rendering is done via CDN • Pivotal role for the CDN in the delivery process • All the traffic is still channeled through the frontend servers SITECORE JSS AT SCALE CMS Content APIs Services APIs Frontend web server Content Frontend components Frontend code Logic Visitors browsers CMS infrastructure Microservices infrastructure Frontend infrastructure HTTP Requests to origin CDN HTML Images/CSS/JS Static HTML/CSS/JS Images CDN infrastructure Development infrastructure
  • 9. PROXIMITY | 9 Static site – What happens at scale? SITECORE JSS AT SCALE CMS Content APIs Services APIs Frontend web server Content Frontend components Frontend code Logic Visitors browsers CMS infrastructure Microservices infrastructure Frontend infrastructure HTTP Requests to origin CDN HTML Images/CSS/JS Static HTML/CSS/JS Images CDN infrastructure• With high load of traffic or increasing number of contents • Frontend web server may respond slower under high traffic - Risk • CDNs usually respond quite well with high traffic load - Safe • CDNs usually respond quite well even with very high number of assets - Safe • CMS content APIs may respond slower due to increasing database size (# contents) but contents are fetched upfront - Safe • CMS content APIs are not impacted by traffic load - Safe • Microservices APIs may respond slower under high traffic load – Risk • Frontend web server • Most of the delivery is done by the CDN • The web server is still the origin for all visits, it manages dynamic routing, redirections, http headers… Development infrastructure
  • 10. PROXIMITY | 10 Static sites – Not adapted to all use cases • Dynamic and live content platforms • Content publishing not live with static sites • All pages are pre-rendered upfront • Content pushed to live within specific windows SITECORE JSS AT SCALE
  • 11. PROXIMITY | 11 Static sites – Not adapted to all use cases • Personalized content platforms • Personalized experience triggered on client side mainly • Most part of the page should be the same for all visitors SITECORE JSS AT SCALE
  • 12. PROXIMITY | 12 One step further: Frontend rendering fully delegated to Next generation CDNs SITECORE JSS AT SCALE CMS Content APIs Services APIs Pre - Rendering Content Frontend components Frontend code Logic Visitors browsers CMS infrastructure Microservices infrastructure Development infrastructure CDN Hosting AllHTTP requests Static site Images CDN infrastructure• Static Web Hosting with a CDN • CDN becomes the traffic origin • Routing and Redirection handled at CDN level • All the frontend is delivered on the edge • Build & static site generation is handled upfront • The static version of the site is pulled via CI/CD tools
  • 13. PROXIMITY | 13 Next generation CDN Hosting – What happens at scale? SITECORE JSS AT SCALE CMS Content APIs Services APIs Pre - Rendering Content Frontend components Frontend code Logic Visitors browsers CMS infrastructure Microservices infrastructure Development infrastructure CDN Hosting AllHTTP requests Static site Images CDN infrastructure• With high load of traffic or increasing number of contents • Frontend is fully rendered by a CDN - Safe • CDNs usually respond quite well with high traffic load - Safe • CDNs usually respond quite well even with very high number of assets - Safe • CMS content APIs may respond slower due to increasing database size (# contents) but contents are fetched upfront - Safe • CMS content APIs are not impacted by traffic load - Safe • Microservices APIs may respond slower under high traffic load – Risk • CDN Hosting • All requests (except microservice API calls) go directly to the CDN • All redirections, routing and other runtime processing is done at CDN level
  • 14. PROXIMITY | 14 Example of frontend delivery with CDN Hosting SITECORE JSS AT SCALE CMS Microservices APIs Pre-rendering Content + frontend ReactJS components Logic Visitors browsers CDN Hosting AllHTTPrequests Static site Images
  • 15. PROXIMITY | 15 Frontend infrastructure options Standard web server hosting Static site on web server Static site via CDN Infrastructure ownership Website owner Website owner Tech Vendor Content publishing Live Reduced publishing windows Reduced publishing windows Website delivery components Frontend web server, CDN, CMS, Microservices Frontend web server (low usage), CDN, Microservices CDN, Microservices Infrastructure impacted upon scale Frontend web server, CDN, CMS, Microservices Frontend web server, CDN, Microservices CDN, Microservices SITECORE JSS AT SCALE
  • 16. Thank you Jonathan Bobo Sitecore Strategy MVP 2019 CTO at Proximity Paris & Hangar Worldwide jonathan.bobo@proximitybbdo.fr