Preparing Your Website for a High Traffic Event

Many websites, especially e-commerce websites, witness high traffic spikes such as Black Fridays, Christmas shopping and other events. In this article, we will mention few tips and recommendations, gained from our experience in optimizing web applications, to help websites survive and thrive during high traffic spikes.

  • Use Tiered-Architecture: Ensure your environment is built with at least three tiers. The first tier is the load-balancer (preferably a hardware load-balancer), the second tier is the web/app servers (preferably separated into two sub-tiers: the web pages as interface and web services as the business layer, and the third tier as the database servers. This recommended architecture provides the most flexibility and allows the website to easily scale to meet traffic demands.
  •  Use Cloud Solutions: Using cloud solutions will give you the option of auto-scaling according to your traffic. Cloud solutions like Azure have the capability to create new instances of your website servers based on high resource usage that you can configure. Needless to say, that scaling on cloud solutions is one-click away.
  •  Test: Testing your application for functionality and performance is critical to a successful high traffic event. Make sure to stress test the website, adjust the configuration, test again and continue to test and adjust until you’re satisfied with the results.
  • Optimize: Consider further optimizing the environment by serving static files from CDN (Content Delivery Network) and introducing caching layers (in the business layer) to improve performance, reduce reading from the database and load speeds.
Profile photo of IDS

Ali Hamdar

Ali's experience lies in providing ready-made software products, customized software solutions, websites, and mobile applications for enterprises, brands and companies. He has specific interest in designing and publishing news portals, e-commerce and e-government projects. Ali has worked for several government institutions, NGOs and holding companies to implement the right software and tools to automate their workflows and business processes. Moreover, Ali is experienced in implementing project management best practices and agile methodologies using SCRUM framework.