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

28
Organized by the Community, for the Community. CREATING A GLOBAL INFRASTRUCTURE TO SUPPORT CHINA TREVOR CAMPBELL TECHNICAL SOLUTION ARCHITECT

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

Page 1: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

Organized by the Community, for the Community.

CREATING A GLOBAL INFRASTRUCTURE TO SUPPORT CHINA

TREVOR CAMPBELLTECHNICAL SOLUTION ARCHITECT

Page 2: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

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

Page 3: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

Organized by the Community, for the Community. 3SUGCON NORTH AMERICA 2015

THE GREAT FIREWALL OF CHINA (GFW)

Page 4: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

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:#@$)()!*$%

Page 5: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

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

Page 6: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 6SUGCON NORTH AMERICA 2015

Page 7: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

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…)

Page 8: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

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

Page 9: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

Organized by the Community, for the Community. 9SUGCON NORTH AMERICA 2015

CONTENT DISTRIBUTION

Page 10: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

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.

Page 11: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

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

Page 12: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

Organized by the Community, for the Community. 12SUGCON NORTH AMERICA 2015

ANALYTICS

Page 13: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

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.

Page 14: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

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.

Page 15: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

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.

Page 16: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

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.

Page 17: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

Organized by the Community, for the Community. 17SUGCON NORTH AMERICA 2015

FRONT-END INTEGRATIONS

Page 18: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

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.

Page 19: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

Organized by the Community, for the Community. 19SUGCON NORTH AMERICA 2015

BACK-END INTEGRATIONS

Page 20: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

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

Page 21: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

Organized by the Community, for the Community. 21SUGCON NORTH AMERICA 2015

SEARCH

Page 22: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

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

Page 23: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

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

Page 24: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

Organized by the Community, for the Community. 24SUGCON NORTH AMERICA 2015

CONTENT DELIVERY NETWORKS

Page 25: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

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.

Page 26: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

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

Page 27: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 27SUGCON NORTH AMERICA 2015

THANK YOU TO OUR SPONSORS!

27

Page 28: Trevor Campbell - Creating a Global Infrastructure to Support China - SUGCON

Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015

THANK YOU!

https://www.linkedin.com/in/trevorcampbell

@tcampbell7897

TREVOR CAMPBELLTECHNICAL SOLUTION ARCHITECT