Machine Learning Authors: Pat Romanski, Yeshim Deniz, Jason Bloomberg, Liz McMillan, William Schmarzo

Related Topics: Microservices Expo, Java IoT, Containers Expo Blog, Agile Computing, @DXWorldExpo, SDN Journal

Microservices Expo: Article

Welcome to the Show of CDN Monitoring: Act 3

Things Going Wrong

In my previous two posts Act 1 - The What and Why and Act2 - The How and How Not I covered the main benefits of CDNs and what type of tools are needed to monitor them. Now, I want to go into some detail of why you need to consider monitoring them in the first place. Let's face it: if things work well enough, why worry about monitoring them? Of course it is great to be able to see all the details, but do I really need all that information? Aren't the CDNs doing a good enough job?

The answer to that last one: Yes, CDNs are doing a very good job ... most of the time.

How can you know the CDN delivers what it promised?
At the end you will have made your decision to go for a CDN based on criteria like "if we invest X in this solution the improvement needs to be at least Y". Typically the X and the expected improvements are fairly easy to define - but when it comes to determining the actual Y delivered, traditional testing or monitoring approaches are used - and as I explained in Act2 - The How and How Not they fail to deliver the right answers.

Back in my theatre days (see Act 1 - The What and Why) we took the risk and chose our marketing flyer distribution agency purely based on budget and gut feeling. Soon our flyers could be found in relevant tourist and culture locations across Berlin and even all the way in Hamburg. They even gave us the option to replace the material with new versions on short notice (e.g., updating the flyers with a note that the first two shows were sold out already). And believe me, we certainly didn't have the bandwidth to pull such a stunt on our own just a few days before the opening night.

Our theatre "CDN" journey ended there - but think of bigger players like Disneyland or "Phantom of the Opera" that spend a fortune on making sure I see their flyers in all the hotels I visit - they sure seem to follow me wherever I travel.

We were not "professional" enough to actually validate that our investment was a good one - or to even systematically check whether they did everything they told us. Again: we were quite busy running the show. But overall we were quite happy.

And now think of your CDN investment.

What does the CDN promise?
Instead of just copying what different vendors publish on their websites or repeating the core benefits explained in ACT1 let me list some basic key technical aspects most people think of:

  • Get the content closer to the end user
  • Cache the content and lower the traffic on my data center
  • Balance the load to deliver a good performance even in peak times
  • Always be available

What could possibly go wrong?
Looking at this simplified view everything sounds fine and with such basic items the risk of failures should be relatively low.

However we very often do see issues undetected by traditional testing/monitoring approaches caused by CDN customer misconfigurations, CDN outages or other irregularities.

And again thinking back - all of these issues exist in the real brochure world as well.

While not complete the list includes:

  • Wrong routes sending the request halfway across the globe instead of to the closest PoP.
    Once I saw a whole stack of Phantom of the Opera flyers in a nice little hotel in Germany - alas advertising the great show in Singapore.
  • Content not cached or compressed the way it should
    Brochures being folded in the wrong format and thus not fitting into the stands is something quite damaging. And sending out the wrong caching headers or screwing up the nice content compression is also not something you would get a lot of applause for.
  • All requests hitting same PoP instead of spreading load
    One time all of our brochures were only placed in one of the hotel lobbies instead of all the lobbies we had paid for in our package. Luckily, a friend pointed it out for us.
  • DNS mishaps
    Misprinting the contact information on where to find the show or how to book tickets resembles a case in which a customer found out that in some of the key markets the DNS entries were wrong resulting in the site not being available in a number of countries.

Example 1: CDN requests misrouted across the globe
Surprisingly, we can see in our data something that happens quite often and across a number of CDN vendors. Instead of routing the request to the closest PoP and thus optimizing latency due to RTT, the request often is routed to some server far away from the actual user. If it were for a single request the impact might be negligible but when most of your resources are served with a latency of say 500ms it quickly adds up and results in a very high total response time.

In these particular examples synthetic tests have been executed using the Compuware APMaaS Last Mile agents from a large number of different locations within Australia, Germany or Italy.

Results show that in many cases PoPs in USA were hit from machines located in Australia and while some of these did offer a very low connection latency, quite a number of them did cause a dramatic slowdown in the overall end-user performance. The table shows the average connect time from the last mile agents to the PoP as a measure of the latency.

1. Avg connection time of 20 most hit CDN PoPs running synthetic last mile tests in Australia

Another example shows that it's not only Australia having such issues. The following map shows results from a test conducted in Germany over 24h. Green dots represent the locations of end-user machines used for the synthetic Last Mile test and the red dots show the locations of the hit CDN PoPs.

2. Request from within Germany are routed to CDN PoPs across the globe

Yet another case found with one of our Italian customers showed that the response times of end users connected with Telecom Italia as their local ISP were 33% above the average of all others. Looking at the network components the biggest difference was the average connection time to the CDN PoPs being used. The end-user machines using Telecom Italia had an average connection time of 298ms while all others connected within 181ms. Drilling into the details we found that most of the CDN PoPs hit by these end-user machines were actually located in the US, which of course explains the drop in performance.

Comparison average CDN PoP connection time Telecom Italia vs other ISPs

CDN PoPs hit from Italy - minimum 100 total connections

Lesson learned: Make sure you know where the content is delivered from and correlate end user performance to increased latency due to mis-routing.

To dive into examples 2-5, click here to read more:

Example 2: Cache hit ratio too low

Example 3: Oversubscription of a CDN PoP

Example 4: DNS misconfiguration

Example 5: Real User Monitoring detects CDN performance peak

Don't live with the risk of not knowing what is going on with your application. Click here to be sure your CDN Monitoring is being handled correctly!

More Stories By Kristian Skoeld

Kristian Skoeld is a Performance Analyst at Compuware APM Center of Excellence. He coaches and supports teams across Europe as a Performance Analyst and Product Specialist in Web Performance Management. He is an expert in optimizing IT processes, develop web strategies and putting them into action, and a subject matter expert on Web Performance and Web Monitoring within the Compuware APM business unit.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

@CloudExpo Stories
@DevOpsSummit New York 2018, colocated with CloudEXPO | DXWorldEXPO New York 2018 will be held November 11-13, 2018, in New York City. From showcase success stories from early adopters and web-scale businesses, DevOps is expanding to organizations of all sizes, including the world's largest enterprises - and delivering real results.
Dion Hinchcliffe is an internationally recognized digital expert, bestselling book author, frequent keynote speaker, analyst, futurist, and transformation expert based in Washington, DC. He is currently Chief Strategy Officer at the industry-leading digital strategy and online community solutions firm, 7Summits.
DXWorldEXPO LLC announced today that Dez Blanchfield joined the faculty of CloudEXPO's "10-Year Anniversary Event" which will take place on November 11-13, 2018 in New York City. Dez is a strategic leader in business and digital transformation with 25 years of experience in the IT and telecommunications industries developing strategies and implementing business initiatives. He has a breadth of expertise spanning technologies such as cloud computing, big data and analytics, cognitive computing, m...
Digital Transformation and Disruption, Amazon Style - What You Can Learn. Chris Kocher is a co-founder of Grey Heron, a management and strategic marketing consulting firm. He has 25+ years in both strategic and hands-on operating experience helping executives and investors build revenues and shareholder value. He has consulted with over 130 companies on innovating with new business models, product strategies and monetization. Chris has held management positions at HP and Symantec in addition to ...
Cloud-enabled transformation has evolved from cost saving measure to business innovation strategy -- one that combines the cloud with cognitive capabilities to drive market disruption. Learn how you can achieve the insight and agility you need to gain a competitive advantage. Industry-acclaimed CTO and cloud expert, Shankar Kalyana presents. Only the most exceptional IBMers are appointed with the rare distinction of IBM Fellow, the highest technical honor in the company. Shankar has also receive...
DXWorldEXPO LLC announced today that Kevin Jackson joined the faculty of CloudEXPO's "10-Year Anniversary Event" which will take place on November 11-13, 2018 in New York City. Kevin L. Jackson is a globally recognized cloud computing expert and Founder/Author of the award winning "Cloud Musings" blog. Mr. Jackson has also been recognized as a "Top 100 Cybersecurity Influencer and Brand" by Onalytica (2015), a Huffington Post "Top 100 Cloud Computing Experts on Twitter" (2013) and a "Top 50 C...
There is a huge demand for responsive, real-time mobile and web experiences, but current architectural patterns do not easily accommodate applications that respond to events in real time. Common solutions using message queues or HTTP long-polling quickly lead to resiliency, scalability and development velocity challenges. In his session at 21st Cloud Expo, Ryland Degnan, a Senior Software Engineer on the Netflix Edge Platform team, will discuss how by leveraging a reactive stream-based protocol,...
Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities - ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups.
Daniel Jones is CTO of EngineerBetter, helping enterprises deliver value faster. Previously he was an IT consultant, indie video games developer, head of web development in the finance sector, and an award-winning martial artist. Continuous Delivery makes it possible to exploit findings of cognitive psychology and neuroscience to increase the productivity and happiness of our teams.
Poor data quality and analytics drive down business value. In fact, Gartner estimated that the average financial impact of poor data quality on organizations is $9.7 million per year. But bad data is much more than a cost center. By eroding trust in information, analytics and the business decisions based on these, it is a serious impediment to digital transformation.
The standardization of container runtimes and images has sparked the creation of an almost overwhelming number of new open source projects that build on and otherwise work with these specifications. Of course, there's Kubernetes, which orchestrates and manages collections of containers. It was one of the first and best-known examples of projects that make containers truly useful for production use. However, more recently, the container ecosystem has truly exploded. A service mesh like Istio addr...
Predicting the future has never been more challenging - not because of the lack of data but because of the flood of ungoverned and risk laden information. Microsoft states that 2.5 exabytes of data are created every day. Expectations and reliance on data are being pushed to the limits, as demands around hybrid options continue to grow.
Business professionals no longer wonder if they'll migrate to the cloud; it's now a matter of when. The cloud environment has proved to be a major force in transitioning to an agile business model that enables quick decisions and fast implementation that solidify customer relationships. And when the cloud is combined with the power of cognitive computing, it drives innovation and transformation that achieves astounding competitive advantage.
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As automation and artificial intelligence (AI) power solution development and delivery, many businesses need to build backend cloud capabilities. Well-poised organizations, marketing smart devices with AI and BlockChain capabilities prepare to refine compliance and regulatory capabilities in 2018. Volumes of health, financial, technical and privacy data, along with tightening compliance requirements by...
Evan Kirstel is an internationally recognized thought leader and social media influencer in IoT (#1 in 2017), Cloud, Data Security (2016), Health Tech (#9 in 2017), Digital Health (#6 in 2016), B2B Marketing (#5 in 2015), AI, Smart Home, Digital (2017), IIoT (#1 in 2017) and Telecom/Wireless/5G. His connections are a "Who's Who" in these technologies, He is in the top 10 most mentioned/re-tweeted by CMOs and CIOs (2016) and have been recently named 5th most influential B2B marketeer in the US. H...
The IoT Will Grow: In what might be the most obvious prediction of the decade, the IoT will continue to expand next year, with more and more devices coming online every single day. What isn’t so obvious about this prediction: where that growth will occur. The retail, healthcare, and industrial/supply chain industries will likely see the greatest growth. Forrester Research has predicted the IoT will become “the backbone” of customer value as it continues to grow. It is no surprise that retail is ...
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
The best way to leverage your Cloud Expo presence as a sponsor and exhibitor is to plan your news announcements around our events. The press covering Cloud Expo and @ThingsExpo will have access to these releases and will amplify your news announcements. More than two dozen Cloud companies either set deals at our shows or have announced their mergers and acquisitions at Cloud Expo. Product announcements during our show provide your company with the most reach through our targeted audiences.
DevOpsSummit New York 2018, colocated with CloudEXPO | DXWorldEXPO New York 2018 will be held November 11-13, 2018, in New York City. Digital Transformation (DX) is a major focus with the introduction of DXWorldEXPO within the program. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of bus...
With 10 simultaneous tracks, keynotes, general sessions and targeted breakout classes, @CloudEXPO and DXWorldEXPO are two of the most important technology events of the year. Since its launch over eight years ago, @CloudEXPO and DXWorldEXPO have presented a rock star faculty as well as showcased hundreds of sponsors and exhibitors! In this blog post, we provide 7 tips on how, as part of our world-class faculty, you can deliver one of the most popular sessions at our events. But before reading...