trevor campbell - creating a global infrastructure to support china - sugcon
TRANSCRIPT
Organized by the Community, for the Community.
CREATING A GLOBAL INFRASTRUCTURE TO SUPPORT CHINA
TREVOR CAMPBELLTECHNICAL SOLUTION ARCHITECT
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 2SUGCON NORTH AMERICA 2015
TREVOR CAMPBELLTECHNICAL SOLUTION ARCHITECTVERNDALE• 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. 3SUGCON NORTH AMERICA 2015
THE GREAT FIREWALL OF CHINA (GFW)
Organized by the Community, for the Community. 4
WHAT IS THE GFW?
SUGCON NORTH AMERICA 2015
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 2015 5SUGCON NORTH AMERICA 2015
GREAT FIREWALL OF CHINA:“Protecting you” from fun since 2003
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 6SUGCON NORTH AMERICA 2015
Organized by the Community, for the Community. 7
HOW TO SCALE THE GFW
SUGCON NORTH AMERICA 2015
• 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. 8
HOW ABOUT SITECORE
SUGCON NORTH AMERICA 2015
1. Content Distribution2. Analytics3. Front-end Integrations4. Back-end Integrations5. Search6. Content Delivery Networks
Organized by the Community, for the Community. 9SUGCON NORTH AMERICA 2015
CONTENT DISTRIBUTION
Organized by the Community, for the Community. 10
CONTENT PUBLISHING
SUGCON NORTH AMERICA 2015
Master Core Web
Sitecore PublishingSitecore 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. 11
CONTENT REPLICATION
SUGCON NORTH AMERICA 2015
Master Core Web Web
Database ReplicationOne 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. 12SUGCON NORTH AMERICA 2015
ANALYTICS
Organized by the Community, for the Community. 13
EXPERIENCE DATABASE (XDB)
SUGCON NORTH AMERICA 2015
Analytics DataRead 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. 14
ANALYTICS – OPTION #1
SUGCON NORTH AMERICA 2015
Analytics DataRead 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. 15SUGCON NORTH AMERICA 2015
ANALYTICS – OPTION #2
SUGCON NORTH AMERICA 2015 15
Analytics DataRead 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. 16SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 16
ANALYTICS – OPTION #3
SUGCON NORTH AMERICA 2015 16
Analytics DataRead 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. 17SUGCON NORTH AMERICA 2015
FRONT-END INTEGRATIONS
Organized by the Community, for the Community. 18
FRONT-END INTEGRATIONS
SUGCON NORTH AMERICA 2015
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. 19SUGCON NORTH AMERICA 2015
BACK-END INTEGRATIONS
Organized by the Community, for the Community. 20
BACK-END INTEGRATIONS
SUGCON NORTH AMERICA 2015
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. 21SUGCON NORTH AMERICA 2015
SEARCH
Organized by the Community, for the Community. 22
LOCAL INDEX
SUGCON NORTH AMERICA 2015
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. 23
REMOTE INDEX
SUGCON NORTH AMERICA 2015
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. 24SUGCON NORTH AMERICA 2015
CONTENT DELIVERY NETWORKS
Organized by the Community, for the Community. 25
CONTENT DELIVERY NETWORKS
SUGCON NORTH AMERICA 2015
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. 26
IN CONCLUSION
SUGCON NORTH AMERICA 2015
1. Content Distribution2. Analytics3. Front-end Integrations4. Back-end Integrations5. Search6. Content Delivery Networks
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 27SUGCON NORTH AMERICA 2015
THANK YOU TO OUR SPONSORS!
27
Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015
THANK YOU!
https://www.linkedin.com/in/trevorcampbell
@tcampbell7897
TREVOR CAMPBELLTECHNICAL SOLUTION ARCHITECT