SlideShare a Scribd company logo
Organized by the Community, for the Community.
CREATING A GLOBAL
INFRASTRUCTURETO
SUPPORT CHINA
TREVOR CAMPBELL
TECHNICAL SOLUTIONARCHITECT
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 2
TREVOR CAMPBELL
TECHNICAL SOLUTION ARCHITECT
VERNDALE
• 10+ years Sitecore Experience
• Sitecore Technology MVP
• Certified CMS/DMS/ECM/APS
Developer
• 28 Days of Sitecore Rocks
• Has not scaled Mount Everest
https://www.linkedin.com/in/trevorcampbell
@tcampbell7897
INTRODUCTION
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 3
THE GREAT FIREWALL OF
CHINA (GFW)
Organized by the Community, for the Community.
WHAT ISTHE GFW?
SUGCON NORTH AMERICA 2015 4
SFW Definition:
Legislation and projects
initiated by the Chinese
government that
attempt to regulate the
internet in mainland
China.
NSFW Definition:
#@$)()!*$%
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 5
GREAT FIREWALL OF CHINA:
“Protecting you” from fun since 2003
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 6
Organized by the Community, for the Community.
HOWTO SCALETHE GFW
SUGCON NORTH AMERICA 2015 7
• Have an Infrastructure located in
mainland China.
• Use a dedicated .cn domain name.
• Utilize a DNS provider with a
presence in China.
• Take inventory of third-party
requests.
• Avoid user-generated content…
(…yes, that means kitten memes too…)
Organized by the Community, for the Community.
HOW ABOUT SITECORE
SUGCON NORTH AMERICA 2015 8
1. Content Distribution
2. Analytics
3. Front-end Integrations
4. Back-end Integrations
5. Search
6. Content Delivery Networks
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 9
CONTENT DISTRIBUTION
Organized by the Community, for the Community.
CONTENT PUBLISHING
SUGCON NORTH AMERICA 2015 10
Master Core Web
Sitecore Publishing
Sitecore publishing
process moving items.
Sitecore publishing process moving items from Master database to Web
database.
Content Databases Content Databases
Connectivity with mainland China makes this model infeasible.
Organized by the Community, for the Community.
CONTENT REPLICATION
SUGCON NORTH AMERICA 2015 11
Master Core Web Web
Database
Replication
One way replication
via site-to-site VPN.
Microsoft SQL Server one way replication is utilized to move published web
content from North America to an instance in mainland China.
Content Databases Content Databases
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 12
ANALYTICS
Organized by the Community, for the Community.
EXPERIENCE DATABASE (XDB)
SUGCON NORTH AMERICA 2015 13
Analytics Data
Read and Write to
Experience Database
(xDB).
Analytics Tracking
Live
Tracking
History
Experience Database (xDB) Content Delivery
The Sitecore Experience Database is a data repository that collects all
customer interactions, connecting them to create a comprehensive, unified
view of the individual customer.
Organized by the Community, for the Community.
ANALYTICS – OPTION #1
SUGCON NORTH AMERICA 2015 14
Analytics Data
Read and Write to
Experience Database
(xDB).
Analytics Tracking
Live
Tracking
History
Experience Database (xDB) Content Delivery
Pros
• Ease of setup and maintenance.
• Lowest cost for infrastructure and
licensing.
Cons
• Session initialization will be slower.
• Not ideal for high volumes of traffic.
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 15
ANALYTICS – OPTION #2
SUGCON NORTH AMERICA 2015 15
Analytics Data
Read and Write to
Experience Database
(xDB).
Analytics Tracking
Live
Tracking
History
Experience Database (xDB) Content Delivery
Pros
• Highest availability and
performance.
• Global analytics view.
Cons
• Highest cost for infrastructure and
licenses.
• Increased maintenance.
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 16SUGCON NORTH AMERICA 2015 16
ANALYTICS – OPTION #3
SUGCON NORTH AMERICA 2015 16
Analytics Data
Read and Write to
Third-Party provider.
Third-Party Analytics Content Delivery
Pros
• Solutions native to mainland China.
• Availability and Performance.
Cons
• Fragmented analytics across regions.
• Manual reporting rollup for global
view.
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 17
FRONT-END INTEGRATIONS
Organized by the Community, for the Community.
FRONT-END INTEGRATIONS
SUGCON NORTH AMERICA 2015 18
Front-end integrations need to be tailored to specific integrations that are available in
mainland China. Sitecore should be architected to support swapping out front-end
integrations for alternate regions.
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 19
BACK-END INTEGRATIONS
Organized by the Community, for the Community.
BACK-END INTEGRATIONS
SUGCON NORTH AMERICA 2015 20
Back-end integrations in most
cases can remain in the same
model as North America.
An additional option to add data
reliability is to queue and batch
process data to a back-end
integration. Queue
Content Databases
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 21
SEARCH
Organized by the Community, for the Community.
LOCAL INDEX
SUGCON NORTH AMERICA 2015 22
Lucene will maintain a local index on the content delivery server. Validation should be
performed to check that indexes are being updated remotely.
Content Delivery
Organized by the Community, for the Community.
REMOTE INDEX
SUGCON NORTH AMERICA 2015 23
If utilizing a search server such as SOLR or Coveo, it’s recommended to locate an
instance within mainland China for optimal performance.
Content Delivery
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 24
CONTENT DELIVERY
NETWORKS
Organized by the Community, for the Community.
CONTENT DELIVERY NETWORKS
SUGCON NORTH AMERICA 2015 25
There are several options for Content Delivery Networks available inside mainland
China. Windows Azure CDN and Akamai CDN have endpoints located in mainland
China. Binary asset caching can be leveraged in order to increase performance in China.
Organized by the Community, for the Community.
IN CONCLUSION
SUGCON NORTH AMERICA 2015 26
1. Content Distribution
2. Analytics
3. Front-end Integrations
4. Back-end Integrations
5. Search
6. Content Delivery Networks
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 27
THANKYOUTO OUR SPONSORS!
27
SM
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015
THANKYOU!
https://www.linkedin.com/in/trevorcampbell
@tcampbell7897
TREVOR CAMPBELL
TECHNICAL SOLUTIONARCHITECT

More Related Content

Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

  • 1. Organized by the Community, for the Community. CREATING A GLOBAL INFRASTRUCTURETO SUPPORT CHINA TREVOR CAMPBELL TECHNICAL SOLUTIONARCHITECT
  • 2. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 2 TREVOR CAMPBELL TECHNICAL SOLUTION ARCHITECT VERNDALE • 10+ years Sitecore Experience • Sitecore Technology MVP • Certified CMS/DMS/ECM/APS Developer • 28 Days of Sitecore Rocks • Has not scaled Mount Everest https://www.linkedin.com/in/trevorcampbell @tcampbell7897 INTRODUCTION
  • 3. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 3 THE GREAT FIREWALL OF CHINA (GFW)
  • 4. Organized by the Community, for the Community. WHAT ISTHE GFW? SUGCON NORTH AMERICA 2015 4 SFW Definition: Legislation and projects initiated by the Chinese government that attempt to regulate the internet in mainland China. NSFW Definition: #@$)()!*$%
  • 5. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 5 GREAT FIREWALL OF CHINA: “Protecting you” from fun since 2003
  • 6. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 6
  • 7. Organized by the Community, for the Community. HOWTO SCALETHE GFW SUGCON NORTH AMERICA 2015 7 • Have an Infrastructure located in mainland China. • Use a dedicated .cn domain name. • Utilize a DNS provider with a presence in China. • Take inventory of third-party requests. • Avoid user-generated content… (…yes, that means kitten memes too…)
  • 8. Organized by the Community, for the Community. HOW ABOUT SITECORE SUGCON NORTH AMERICA 2015 8 1. Content Distribution 2. Analytics 3. Front-end Integrations 4. Back-end Integrations 5. Search 6. Content Delivery Networks
  • 9. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 9 CONTENT DISTRIBUTION
  • 10. Organized by the Community, for the Community. CONTENT PUBLISHING SUGCON NORTH AMERICA 2015 10 Master Core Web Sitecore Publishing Sitecore publishing process moving items. Sitecore publishing process moving items from Master database to Web database. Content Databases Content Databases Connectivity with mainland China makes this model infeasible.
  • 11. Organized by the Community, for the Community. CONTENT REPLICATION SUGCON NORTH AMERICA 2015 11 Master Core Web Web Database Replication One way replication via site-to-site VPN. Microsoft SQL Server one way replication is utilized to move published web content from North America to an instance in mainland China. Content Databases Content Databases
  • 12. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 12 ANALYTICS
  • 13. Organized by the Community, for the Community. EXPERIENCE DATABASE (XDB) SUGCON NORTH AMERICA 2015 13 Analytics Data Read and Write to Experience Database (xDB). Analytics Tracking Live Tracking History Experience Database (xDB) Content Delivery The Sitecore Experience Database is a data repository that collects all customer interactions, connecting them to create a comprehensive, unified view of the individual customer.
  • 14. Organized by the Community, for the Community. ANALYTICS – OPTION #1 SUGCON NORTH AMERICA 2015 14 Analytics Data Read and Write to Experience Database (xDB). Analytics Tracking Live Tracking History Experience Database (xDB) Content Delivery Pros • Ease of setup and maintenance. • Lowest cost for infrastructure and licensing. Cons • Session initialization will be slower. • Not ideal for high volumes of traffic.
  • 15. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 15 ANALYTICS – OPTION #2 SUGCON NORTH AMERICA 2015 15 Analytics Data Read and Write to Experience Database (xDB). Analytics Tracking Live Tracking History Experience Database (xDB) Content Delivery Pros • Highest availability and performance. • Global analytics view. Cons • Highest cost for infrastructure and licenses. • Increased maintenance.
  • 16. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 16SUGCON NORTH AMERICA 2015 16 ANALYTICS – OPTION #3 SUGCON NORTH AMERICA 2015 16 Analytics Data Read and Write to Third-Party provider. Third-Party Analytics Content Delivery Pros • Solutions native to mainland China. • Availability and Performance. Cons • Fragmented analytics across regions. • Manual reporting rollup for global view.
  • 17. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 17 FRONT-END INTEGRATIONS
  • 18. Organized by the Community, for the Community. FRONT-END INTEGRATIONS SUGCON NORTH AMERICA 2015 18 Front-end integrations need to be tailored to specific integrations that are available in mainland China. Sitecore should be architected to support swapping out front-end integrations for alternate regions.
  • 19. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 19 BACK-END INTEGRATIONS
  • 20. Organized by the Community, for the Community. BACK-END INTEGRATIONS SUGCON NORTH AMERICA 2015 20 Back-end integrations in most cases can remain in the same model as North America. An additional option to add data reliability is to queue and batch process data to a back-end integration. Queue Content Databases
  • 21. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 21 SEARCH
  • 22. Organized by the Community, for the Community. LOCAL INDEX SUGCON NORTH AMERICA 2015 22 Lucene will maintain a local index on the content delivery server. Validation should be performed to check that indexes are being updated remotely. Content Delivery
  • 23. Organized by the Community, for the Community. REMOTE INDEX SUGCON NORTH AMERICA 2015 23 If utilizing a search server such as SOLR or Coveo, it’s recommended to locate an instance within mainland China for optimal performance. Content Delivery
  • 24. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 24 CONTENT DELIVERY NETWORKS
  • 25. Organized by the Community, for the Community. CONTENT DELIVERY NETWORKS SUGCON NORTH AMERICA 2015 25 There are several options for Content Delivery Networks available inside mainland China. Windows Azure CDN and Akamai CDN have endpoints located in mainland China. Binary asset caching can be leveraged in order to increase performance in China.
  • 26. Organized by the Community, for the Community. IN CONCLUSION SUGCON NORTH AMERICA 2015 26 1. Content Distribution 2. Analytics 3. Front-end Integrations 4. Back-end Integrations 5. Search 6. Content Delivery Networks
  • 27. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 27 THANKYOUTO OUR SPONSORS! 27 SM
  • 28. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 THANKYOU! https://www.linkedin.com/in/trevorcampbell @tcampbell7897 TREVOR CAMPBELL TECHNICAL SOLUTIONARCHITECT