TranslateProject/sources/talk/20190717 How edge computing is driving a new era of CDN.md
Martin♡Adele 38dd7895dd
Merge (#3)
* PART

* TSL

PART 2

* 完成翻译 (╯°Д°)╯ ┻━┻

* translated by hopefully2333

translated by hopefully2333

* 申领原文

* Update 20190715 What is POSIX- Richard Stallman explains.md

* 提交译文:20190710 Test 200- Linux And Unix Operating Systems Online For Free

* 提交译文:20190710 Test 200- Linux And Unix Operating Systems Online For Free

* TSL

初译

* TSL:20190708 10 ways to get started with Linux

* APL:20190714 Excellent- Ubuntu LTS Users Will Now Get the Latest Nvidia Driver Updates -No PPA Needed Anymore

* TSL&PRF:20190714 Excellent- Ubuntu LTS Users Will Now Get the Latest Nvidia Driver Updates -No PPA Needed Anymore.md

* PUB

@wxy https://linux.cn/article-11110-1.html

* 选题: 20190716 Security scanning your DevOps pipeline

sources/tech/20190716 Security scanning your DevOps pipeline.md

* 选题: 20190716 Save and load Python data with JSON

sources/tech/20190716 Save and load Python data with JSON.md

* 选题: 20190716 Become a lifelong learner and succeed at work

sources/tech/20190716 Become a lifelong learner and succeed at work.md

* Translated

* translated

* translating

* 提交翻译

* 提交翻译

* update

* heguangzhi  is  translating

* PRF

@vizv

* heguangzhi translated

* leemeans translating

leemeans translating 7 deadly sins of documentation

* PRF

@vizv

* PUB

@vizv https://linux.cn/article-11113-1.html

* PRF

@geekpi

* PUB

@geekpi https://linux.cn/article-11115-1.html

* PRF

@0x996 翻译的不错!恭喜你,完成了第一篇翻译!

* PRF

@WangYueScream 这篇翻译的很好呀

* PUB

@WangYueScream https://linux.cn/article-11116-1.html

* 选题: 20190717 Bond WiFi and Ethernet for easier networking mobility

sources/tech/20190717 Bond WiFi and Ethernet for easier networking mobility.md

* 选题: 20190718 Epic Games Backs Blender Foundation with $1.2m Epic MegaGrants

sources/tech/20190718 Epic Games Backs Blender Foundation with -1.2m Epic MegaGrants.md

* 选题: 20190717 Start tinkering with the Circuit Playground Express

sources/tech/20190717 Start tinkering with the Circuit Playground Express.md

* 选题: 20190717 Get going with EtherCalc, a web-based alternative to Google Sheets

sources/tech/20190717 Get going with EtherCalc, a web-based alternative to Google Sheets.md

* 选题: 20190717 How to install Kibana on MacOS

sources/tech/20190717 How to install Kibana on MacOS.md

* 选题: 20190717 Public internet should be all software-defined

sources/talk/20190717 Public internet should be all software-defined.md

* 选题: 20190717 How edge computing is driving a new era of CDN

sources/talk/20190717 How edge computing is driving a new era of CDN.md

* 选题: 20190717 Mastering user groups on Linux

sources/tech/20190717 Mastering user groups on Linux.md

* 选题: 20190717 MPLS is hanging on in this SD-WAN world

sources/talk/20190717 MPLS is hanging on in this SD-WAN world.md

* 选题: 20190716 Server hardware makers shift production out of China

sources/talk/20190716 Server hardware makers shift production out of China.md

* translated

* translating

* PUB

@0x996 本文首发地址: https://linux.cn/article-11118-1.html
您的 LCTT 专页地址: https://linux.cn/lctt/0x996
请注册领取 LCCN: https://lctt.linux.cn/

* Rename sources/tech/20190718 Epic Games Backs Blender Foundation with -1.2m Epic MegaGrants.md to sources/news/20190718 Epic Games Backs Blender Foundation with -1.2m Epic MegaGrants.md

* Update 20171226 Top 10 Microsoft Visio Alternatives for Linux.md

* Translated

* f

* PRF

@qfzy1233

* PUB

@qfzy1233 https://linux.cn/article-11119-1.html

* 选题: 20190718 What you need to know to be a sysadmin

sources/tech/20190718 What you need to know to be a sysadmin.md

* 选题: 20190718 Redirect a GitHub Pages site with this HTTP hack

sources/tech/20190718 Redirect a GitHub Pages site with this HTTP hack.md

* 选题: 20190718 How to apply 'release early, release often' to build a better brand

sources/tech/20190718 How to apply -release early, release often- to build a better brand.md

* 选题: 20190718 Smart cities offer window into the evolution of enterprise IoT technology

sources/talk/20190718 Smart cities offer window into the evolution of enterprise IoT technology.md

* PRF

@robsean 这篇翻译的很认真

* PUB

@robsean https://linux.cn/article-11120-1.html

* APL:20190718 Epic Games Backs Blender Foundation with -1.2m Epic MegaGrants.md

* TSL&PRF:20190718 Epic Games Backs Blender Foundation with -1.2m Epic MegaGrants.md

* PUB:20190718 Epic Games Backs Blender Foundation with -1.2m Epic MegaGrants.md

@wxy https://linux.cn/article-11121-1.html

* translating

* translated

* translating

* heguangzhi  translated

* translated

* translated

* heguangzhi tranlated

* APL:20190717 Mastering user groups on Linux

* PRF

@MjSeven

* PUB

@MjSeven https://linux.cn/article-11123-1.html

* 选题: 20190719 Modifying Windows local accounts with Fedora and chntpw

sources/tech/20190719 Modifying Windows local accounts with Fedora and chntpw.md

* 选题: 20190719 Buying a Linux-ready laptop

sources/tech/20190719 Buying a Linux-ready laptop.md

* 选题: 20190718 Worst DNS attacks and how to mitigate them

sources/talk/20190718 Worst DNS attacks and how to mitigate them.md

* PRF

@wxy

* PUB

@wxy https://linux.cn/article-11124-1.html

* PRF

@geekpi

* PUB

@geekpi https://linux.cn/article-11125-1.html

* hankchow translating

* hankchow translated

* hankchow translated

* 申请翻译 20190718 What you need to know to be a sysadmin.md

申请翻译 20190718 What you need to know to be a sysadmin.md

* PRF

@geekpi

* PUB

@geekpi https://linux.cn/article-11128-1.html

* PRF

@heguangzhi

* PUB

@heguangzhi https://linux.cn/article-11130-1.html

* PRF

@hopefully2333 原文逻辑不通,我做了段落调整

* PUB

@hopefully2333 https://linux.cn/article-11132-1.html

* PRF

@HankChow

* PUB

@HankChow https://linux.cn/article-11133-1.html

* 选题: 20190720 How to Upgrade Debian 9 (Stretch) to Debian 10 (Buster) via Command Line

sources/tech/20190720 How to Upgrade Debian 9 (Stretch) to Debian 10 (Buster) via Command Line.md

* translated

* translating

* APL:20190717 How to install Kibana on MacOS

* PRF

* TSL&PRF

* PUB

@wxy https://linux.cn/article-11135-1.html

* 选题: 20190723 How to Create a User Account Without useradd Command in Linux?

sources/tech/20190723 How to Create a User Account Without useradd Command in Linux.md

* 选题: 20190722 How to run virtual machines with virt-manager

sources/tech/20190722 How to run virtual machines with virt-manager.md

* 选题: 20190723 8 Best Open Source CRM Software

sources/tech/20190723 8 Best Open Source CRM Software.md

* Revert "Revert "超期回收: sources/tech/20131228 Introduction to Clojure - Modern dialect of Lisp (Part 1).md""

This reverts commit 359e0506a2.

* PRF

@ZhiW5217 恭喜你完成了第一篇翻译。

* PUB

@ZhiW5217 本文首发地址: https://linux.cn/article-11138-1.html
你的 LCTT 专页地址: https://linux.cn/lctt/ZhiW5217
请注册领取你的 LCCN: https://lctt.linux.cn/

* Translating

* translated

* translated

* PRF

@geekpi

* PUB

@geekpi https://linux.cn/article-11141-1.html
2019-07-24 00:38:37 +08:00

12 KiB
Raw Blame History

How edge computing is driving a new era of CDN

A CDN is an edge application and an edge application is a superset of what your CDN is doing. geralt \(CC0\)

We are living in a hyperconnected world where anything can now be pushed to the cloud. The idea of having content located in one place, which could be useful from the managements perspective, is now redundant. Today, the users and data are omnipresent.

The customers expectations have up-surged because of this evolution. There is now an increased expectation of high-quality service and a decrease in customers patience. In the past, one could patiently wait 10 hours to download the content. But this is certainly not the scenario at the present time. Nowadays we have high expectations and high-performance requirements but on the other hand, there are concerns as well. The internet is a weird place, with unpredictable asymmetric patterns, buffer bloat and a list of other performance-related problems that I wrote about on Network Insight. [Disclaimer: the author is employed by Network Insight.]

Also, the internet is growing at an accelerated rate. By the year 2020, the internet is expected to reach 1.5 Gigabyte of traffic per day per person. In the coming times, the world of the Internet of Things (IoT) driven by objects will far supersede these data figures as well. For example, a connected airplane will generate around 5 Terabytes of data per day. This spiraling level of volume requires a new approach to data management and forces us to re-think how we delivery applications.

RELATED: How Notre Dame is going all in with Amazons cloud

Why? Because all this information cannot be processed by a single cloud or an on-premise location. Latency will always be a problem. For example, in virtual reality (VR) anything over 7 milliseconds will cause motion sickness. When decisions are required to be taken in real-time, you cannot send data to the cloud. You can, however, make use of edge computing and a multi-CDN design.

Introducing edge computing and multi-CDN

The rate of cloud adoption, all-things-video, IoT and edge computing are bringing life back to CDNs and multi-CDN designs. Typically, a multi-CDN is an implementation pattern that includes more than one CDN vendor. The traffic direction is performed by using different metrics, whereby traffic can either be load balanced or failed across the different vendors.

Edge computing moves actions as close as possible to the source. It is the point where the physical world interacts with the digital world. Logically, the decentralized approach of edge computing will not take over the centralized approach. They will be complementary to each other, so that the application can run at its peak level, depending on its position in the network.

For example, in IoT, saving battery life is crucial. Lets assume an IoT device can conduct the transaction in 10ms round trip time (RTT), instead of 100ms RTT. As a result, it can use 10 times less battery.

The internet, a performance bottleneck

The internet is designed on the principle that everyone can talk to everyone, thereby providing universal connectivity whether required or not. There has been a number of design changes with network address translation (NAT) being the biggest. However, essentially the role of the internet has remained the same in terms of connectivity, regardless of location.

With this type of connectivity model, distance is an important determinant for the applications performance. Users on the other side of the planet will suffer regardless of buffer sizes or other device optimizations. Long RTT is experienced as packets go back and forth before the actual data transmission. Although caching and traffic redirection is being used but limited success has been achieved so far.

The principles of application delivery

When transmission control protocol (TCP) starts, it thinks it is back in the late 1970s. It assumes that all services are on a local area network (LAN) and there is no packet loss. It then starts to work backward from there. Back when it was designed, we didn't have real-time traffic, such as voice and video that is latency and jitter sensitive.

Ideally, TCP was designed for the ease of use and reliability, not to boost the performance. You actually need to optimize the TCP stack. And this is why CDNs are very good at performing such tasks. For example, if a connection is received from a mobile phone, a CDN will start with the assumption that there is going to be high jitter and packet loss. This allows them to size the TCP window correctly that accurately match network conditions.

How do you magnify the performance, what options do you have? In a generic sense, many look to lowering the latency. However, with applications, such as video streaming, latency does not tell you if the video is going to buffer. One can only assume that lower latency will lead to less buffering. In such a scenario, measurement-based on throughput is a far better performance metric since will tell you how fast an object will load.

We have also to consider the page load times. At the network level, it's the time to first byte (TTFB) and ping. However, these mechanisms dont tell you much about the user experience as everything fits into one packet. Using ping will not inform you about the bandwidth problems.

And if a web page goes slower by 25% once packet loss exceeds 5% and you are measuring time to the first byte which is the 4th packet - what exactly can you learn? TTFB is comparable to an internet control message protocol (ICMP) request just one layer up the stack. It's good if something is broken but not if there is underperformance issue.

When you examine the history of TTFB measuring, you will find that it was deployed due to the lack of Real User Monitoring (RUM) measurements. Previously TTFB was as good in approximating how fast something was going to load, but we don't have to approximate anymore as we can measure it with RUM. RUM is measurements from the end-users. An example could be the metrics generated from a webpage that is being served to an actual user.

Conclusively, TTFB, ping and page load times are not sophisticated measurements. We should prefer RUM time measurements as much as we can. This provides a more accurate picture of the user experience. This is something which has become critical over the last decade.

Now we are living in a world of RUM which lets us build our network based on what matters to the business users. All CDNs should aim for RUM measurements. For this, they may need to integrate with traffic management systems that intelligently measure on what the end-user really sees.

The need for multi-CDN

Primarily, the reasons one would opt for a multi-CDN environment are availability and performance. No single CDN can be the fastest to everyone and everywhere in the world. It is impossible due to the internet's connectivity model. However, combining the best of two or even more CDN providers will increase the performance.

A multi-CDN will give a faster performance and higher availability than what can be achieved with a single CDN. A good design is what runs two availability zones. A better design is what runs two availability zones with a single CDN provider. However, superior design is what runs two availability zones in a multi-CDN environment.

Edge applications will be the new norm

Its not that long ago that there was a transition from the heavy physical monolithic architecture to the agile cloud. But all that really happened was the transition from the physical appliance to a virtual cloud-based appliance. Maybe now is the time that we should ask, is this the future that we really want?

One of the main issues in introducing edge applications is the mindset. It is challenging to convince yourself or your peers that the infrastructure you have spent all your time working on and investing in is not the best way forward for your business. 

Although the cloud has created a big buzz, just because you migrate to the cloud does not mean that your applications will run faster. In fact, all you are really doing is abstracting the physical pieces of the architecture and paying someone else to manage it. The cloud has, however, opened the door for the edge application conversation. We have already taken the first step to the cloud and now it's time to make the second move.

Basically, when you think about edge applications: its simplicity is a programmable CDN. A CDN is an edge application and an edge application is a superset of what your CDN is doing. Edge applications denote cloud computing at the edge. It is a paradigm to distribute the application closer to the source for lower latency, additional resilience, and simplified infrastructure, where you still have control and privacy.

From an architectural point of view, an edge application provides more resilience than deploying centralized applications. In today's world of high expectations, resilience is a necessity for the continuity of business. Edge applications allow you to collapse the infrastructure into an architecture that is cheaper, simpler and more attentive to the application. The less in the expanse of infrastructure, the more time you can focus on what really matters to your business - the customer.

An example of an edge architecture

An example of edge architecture is within each PoP, every application has its own isolated JavaScript (JS) environment. JavaScript is great for security isolation and the performance guarantees scale. The JavaScript is a dedicated isolated instance that executes the code at the edge.

Most likely, each JavaScript has its own virtual machine (VM). The sole operation that the VM is performing is the JavaScript runtime engine and the only thing it is running is the customer's code. One could use Google V8 open-source high-performance JavaScript and WebAssembly engine.

Lets face it, if you continue building more PoPs, you will hit the law of diminishing returns. When it comes to application such as mobile, you really are maxed out when throwing PoPs to form a solution. So we need to find another solution.

In the coming times, we are going to witness a trend where most applications will become global, which means edge applications. It certainly makes little sense to place all the application in one location when your users are everywhere else.

This article is published as part of the IDG Contributor Network. Want to Join?

Join the Network World communities on Facebook and LinkedIn to comment on topics that are top of mind.


via: https://www.networkworld.com/article/3409027/how-edge-computing-is-driving-a-new-era-of-cdn.html

作者:Matt Conran 选题:lujun9972 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出