How to Implement a Multi-CDN Strategy
Many enterprises are finding it increasingly difficult to deliver a consistently high-quality end user experience to a global online audience using a single Content Delivery Network (CDN). CDN providers have different strengths and weaknesses so it is unsurprising when a single provider does not adequately address the needs of a global online organization.
The good news is that businesses can use a multi-CDN, and by leveraging the right combination of providers, enterprises can simultaneously improve end user quality of experience while lowering costs. The means to achieve this goal is based on the ability to intelligently steer traffic to the right CDN at the right time.
In this article we discuss how you can implement a multi-CDN strategy to achieve business goals and improve user experience.
Reasons for a multi-CDN
A Content Delivery Network (CDN) is a group of geographically-distributed servers which help you deliver your content faster to users. However, CDNs can perform differently at different times or in different locations. They can experience outages and slowdowns. With a multi-CDN strategy your content is hosted with more than one CDN provider, enabling you to drive better application performance and in many cases, lower costs.
Multi-channel access methods for websites are not the only items a content owner must consider; demographics and the purpose of the site also come into play. The majority of shoppers state that they will leave a page if it takes more than three seconds to load, while Radware reports the median “time to interact” is 4.9 seconds.
Aberdeen research has quantified the impact: Each second in delay in load time means 11% fewer page loads and 7% fewer conversions, and the bigger your ecommerce or media property, the greater the damage. For the largest properties, this can mean millions of dollars in lost revenue. Radware finds “57% of consumers will abandon a page that takes longer than 3 seconds to load.”
The performance of a single CDN often varies by geography, performing well in some regions and not so well in others. This is a function of regional coverage and connectivity of the CDN points of presence (PoPs). Even the best-performing CDNs regularly experience spikes in latency that can last for hours. Global online organizations need their applications to perform well in all regions and at all times. A multi-CDN strategy, including adding regional CDNs where global CDNs’ performance is consistently slower, can deliver better performance than one CDN for all.
As audience expectations increase and as services achieve a global reach, relying on one CDN creates weaknesses:
- Outages (which do happen) will damage audience response.
- The service starts gaining popularity in a region that the CDN does not have great performance.
- The CDN becomes a critical part of the business, and the business would like to have some leverage to negotiate terms.
Multi-CDN, on the other hand, offers greater reliability and security.
In short, we can say that a multi-CDN strategy offers these benefits, when compared to using only a single CDN:
- Increased performance
- Removing the single point of failure
- Geolocation coverage
- Decreased costs & better ROI
According to Dyn, top industries using multi-CDNs are internet/computer software, media, retail, leisure, sports & recreation, and corporate services.
These industries deliver vast amounts of content to users across the globe and using a multi CDN can help improve the efficiency of that process. It is no surprise that Internet / Computer Software and Media companies are among the top two industries using single and multi CDNs. Companies that stream large media files to their users are able to take great advantage of the widespread global presence of a multi CDN setup. Additionally, software companies like to push their most recent updates to users via a CDN as they will be delivered faster.
Netflix for example uses 3 CDNs to deliver it’s media streaming services to users around the world. Youtube and many other well-known, large technology companies also implement the use of multiple CDNs.
Implementing a multi-CDN
Here are things you must do in the process of implementing a multi-CDN strategy.
#1 Own your origin
To have the ability on your site to allow multiple CDNs to cache your content, you must first understand your current delivery ecosystem. The business logic that may live on parts of the CDN has to be pulled back and implemented on the origin.
Here are four important things to look for with regard to this issue:
1.Establish your origin outside of the CDN itself
If your CDN does not allow its storage to be used as third-party origin storage, best practices would be to have multiple origins (at least a primary and a failover). Multiple geo-located origins may be good for larger sites or mobile apps with high data needs (online gaming for example).
2. Limit the number of features that you utilize with a specific CDN
Put the intelligence in your origin, where possible; that’s your value proposition. Attempt to use CDNs only for delivery. By pulling the business logic back into the origin and performing these tasks yourself, you have set the table for multiple CDN delivery.
3. Limit the use of CDN origin storage
This will have to be replicated across multiple CDNs if you use it. Rather, opt for using cloud storage in multiple locations or set up your storage to be near your own origin(s).
4. Make sure all your content uses best practices for caching
Also, ensure all your CDNs you choose respect caching headers correctly.
#2 Know your traffic
Is your traffic HTTP? HTTPS? Large file? Video? What is your traffic type and what mechanisms will make it perform better? The type of traffic you have largely determines your caching capabilities. There are other factors as well.
For instance, large file delivery is usually improved dramatically by increased throughput. So if that’s your use case, then optimize for that by selecting CDNs that have great throughput in the markets you care about. Likewise, if HTTPS small object is the majority of what you want optimized, it pays to understand that and federate your networks to that end.
Things to keep in mind:
- Focus on the important key performance indicators (KPIs) for your business – When considering business requirements, think granularly. Remember that in different countries, you will have different constraints and opportunities. You might even have different requirements, depending on the type of media or time of day.Next, investigate what your users are actually experiencing. The results may surprise you. You need to know the range of your performance for every audience, in every context.
- Measure the right thing – If you are using only server-side experience measurement today, we suggest looking at actual user performance results, as well. Server-side metrics can tell you about load and latency on the servers, but they offer little insight into the actual customer experience.In order to make the best decisions about content delivery partners and platforms, you need to be armed with true visibility into your customers’ experiences, around the globe. Only Real User Measurements (RUM) can take the guesswork out of how your site is performing in different locations across different networks.
Implementing a multi-CDN strategy can provide your business will major benefits, and leads to better end-user experience, and ultimately, sales. If you have any questions about how we can help you choose and implement a multi-CDN strategy, contact us today to help you out with your performance and security needs.