Implementing China specific instance of Sitecore (Part 2 of 3)
In Part 1 we covered the importance of understanding the nuances of China’s internet environment, and the requirements for ensuring a proper set up of your website on Sitecore. In Part 2, we will talk discuss your server infrastructure plan.
Part 2. Server infrastructure plan
Planning a proper server infrastructure plan for Sitecore requires a good understanding of your website’s eventual usage so as to ensure you can identify the right Sitecore product to adequately cater for the server load. In this article, we will focus on Sitecore XP 9.3 as an example.
In most cases, we start the project on a smaller scale and upgrade it slowly according to the growth in the website traffic. But due to the size of China’s internet population which stands at around 1 billion users (Source: http://www.cnnic.net.cn/), it is better to start planning on the largest scale possible.
To this end, server scaling is one of the most important tasks in your server infrastructure plan. In Sitecore we should start by considering:
Server scaling options
You can vertically and horizontally scale the Sitecore Experience Platform to meet your requirements.
. Vertical scaling
To scale vertically (or scale up) means to add resources to a single node in a system, typically involving the addition of CPUs or memory to a single computer.
Vertical scaling is suitable for the needs of most organizations, particularly small to medium-sized organizations where the data requirements are not too high.
Horizontal scaling
To scale horizontally (or scale out) means to add more nodes to a system, such as adding a new computer to a distributed software application.
In Sitecore, horizontal scaling means you deploy multiple servers for specific components, such as content delivery, processing, content management, or collection, to increase the capacity of your solution.
Vertical scaling is suitable for the needs of most organizations, particularly small to medium-sized organizations where the data requirements are not too high.
For example, as demand increases, you can deploy multiple clusters of content delivery servers to deliver web content to contacts as quickly and efficiently as possible. On multiple content delivery clusters, you can use load-balancing software to optimize performance across clusters and to maintain high availability. You could also implement multiple content delivery clusters to provide multiple geographically-distributed collection points.
Implementing a fully scalable xDB architecture brings many benefits, such as improved performance and high availability. This approach is particularly suitable for the largest, enterprise organizations that need to handle a lot of website traffic and want reliability and high availability. These types of organizations often have large data storage requirements so may need to consider horizontal scaling as part of their future strategy for expansion.
For example, to scale horizontally you can deploy:
Scaling vertically:
You can vertically scale the Sitecore Experience Platform by:
. Scaling horizontally:
You can horizontally scale the Sitecore Experience Platform by dedicating multiple web applications to the same role within a topology. For example, you can deploy two instances of the Content Delivery role behind a load balancer:
Scalability options – xDB
In the Sitecore Experience Database, to achieve better performance and to cope with greater demand and large amounts of website traffic, you have several scalability options.
You can configure Sitecore xDB environments to:
. Standalone environment
A standalone or minimal installation is an all-in-one configuration where you install all Sitecore xDB components on the same computer.
For example, a minimal installation could include the following components:
You should not use a standalone installation as a production environment as this setup is most suitable for development or testing and is the least scalable approach.
Sitecore xDB - fully scalable architecture (horizontal scaling)
This diagram shows how you could start to implement horizontal scaling (scaling out) by configuring multiple content delivery clusters. It shows how you can add more nodes to your xDB architecture as demand on your website increases while at the same time maintaining high performance.
Benefits of a fully scalable xDB architecture
The xDB is particularly suitable for medium and large-scale enterprises. The main benefits of deploying a fully scalable Sitecore Experience Database architecture, include:
Source:
https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/scaling-options.html https://doc.sitecore.com/developers/81/sitecore-experience-platform/en/scalability-options.htmlIn the third and final edition of Implementing a China Specific Instance of Sitecore, we will discuss risk mitigation activities.
Note: This article is written by Jimmy Yeung, Technical Director at Bray Leino Splash China.