Tencent Cloud's home-grown traffic-tamer halves WAN latency
- Reference: 1722840305
- News link: https://www.theregister.co.uk/2024/08/05/tencent_clouds_homegrown_traffictamer_halves/
- Source link:
A [1]paper [PDF] detailing MegaTE was presented today at the Association for Computing Machinery’s SIGCOMM conference in Sydney, Australia, by Tencent senior researcher Congcong Miao, who explained that virtual machines and containers interact with routers that collect network states at the granularity of aggregated flows and send them to the bandwidth broker on the TE control plane. Optimized traffic flow allocations are produced, but they’re based on aggregated flows – not the needs of each VM.
Today’s traffic engineering (TE) tools - Miao named scFLOW and TEAL (Traffic Engineering Accelerated by Learning) – aren’t designed to cater to the needs of each flow.
[2]
That’s not efficient in a hyperscale cloud, he asserted, because applications need networks to be aware of and implement their particular needs – either due to the nature of the workload or the service levels promised by a cloud operator.
[3]
[4]
MegaTE, by contrast, can “satisfy the needs of each fine-grained traffic flow at the virtual instance level.”
To do so, the tool relies on a database of known TE configurations, and a Redis instance to store them and allow constant rapid transactions as VMs seek good info about how to direct the traffic they create.
[5]
Miao said the tool does not assume it is possible to arbitrarily decide what traffic flow between two endpoints will need. Instead, endpoints run an agent that takes advantage of the Berkeley Packet Filter (eBPF) - tech that allows code to run in sandboxes within the Linux kernel. That agent collects traffic to create flow data that is eventually shared with a controller that calculates an optimal network path. That calculation is sent back to the agent, which stores it in an “eBPF map” so the application’s needs can be advertised and acted upon.
MegaTE is also aware of network topologies.
Packets leaving a cloudy endpoint include routing information, meaning that their passage across a network has already been planned and should be smoother.
[6]
The result, Miao told the conference, is that high-priority applications can meet service level agreements. Tencent uses it in production in its cloud and apparently reduced packet latency across the WAN by 51 percent. Miao said the tool achieved that while handling over 20,000 flows at a time – many more than is possible with either scFLOW or TEAL.
[7]Tencent Cloud launches CentOS variant tuned for Chinese silicon
[8]Tencent Cloud to revisit design after circular dependencies slowed emergency API fix
[9]Alibaba Cloud reveals its datacenter design, homebrew network used for LLM training
[10]China pushes its payment platforms towards an international presence
MegaTE has run at Tencent Cloud since 2022. The company’s cloud spans seven regions and 31 availability zones across China and Hong Kong, plus another eleven regions and 22 availability zones in other countries. Improved WAN latency won’t hurt tenants one bit.
Miao didn’t say if Tencent uses it for its own apps, too. If it does, the results may again be significant as Tencent’s WeChat and Weixin services have over 1.5 billion users, its video and music streaming services boast 100-million-plus subscriber apiece. The company also runs China’s second-biggest app store, and is a colossal games publisher and operator.
The company likely operates millions of servers and a substantial WAN to connect them all, making MegaTE’s impact enormous. ®
Get our [11]Tech Resources
[1] https://cs.stanford.edu/~keithw/sigcomm2024/sigcomm24-final406-acmpaginated.pdf
[2] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_specialfeatures/cloudinfrastructuremonth&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2ZrCixYOiT@KVJKVIkGDKVQAAAFA&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0
[3] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_specialfeatures/cloudinfrastructuremonth&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ZrCixYOiT@KVJKVIkGDKVQAAAFA&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[4] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_specialfeatures/cloudinfrastructuremonth&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33ZrCixYOiT@KVJKVIkGDKVQAAAFA&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[5] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_specialfeatures/cloudinfrastructuremonth&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ZrCixYOiT@KVJKVIkGDKVQAAAFA&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[6] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_specialfeatures/cloudinfrastructuremonth&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33ZrCixYOiT@KVJKVIkGDKVQAAAFA&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[7] https://www.theregister.com/2024/07/23/tencentos_server_v3_launch/
[8] https://www.theregister.com/2024/04/17/tencent_cloud_api_error_outage/
[9] https://www.theregister.com/2024/06/27/alibaba_network_datacenter_designs_revealed/
[10] https://www.theregister.com/2024/03/11/china_payment_platforms/
[11] https://whitepapers.theregister.com/
Re: Reminds me of that Randall Munroe cartoon
And it seems that the application for which latency was most improved was non-live video streaming resulting, presumably, in only an imperceptible improvement in the initial load time. The improvement in live video streaming was much more modest.
The other big figure was a cost reduction of 50% for applications doing bulk network transfers with fewer realtime constraints. While the paper distinguishes QoS classes for various applications, it suggests that the previous traffic management model ignored them. Which rather begs the question of whether it might be somewhat easier for the various applications simply to request a QoS and have their traffic routed (and charged) accordingly.
Reminds me of that Randall Munroe cartoon
[1]TLDR : MegaTE has cut packet latency for real-time applications by up to 51%. Reminds me of that xkcd cartoon about the Internet being a very unstable inverted pyramid.
Typo detected: “ .. outperforms rivals by tailoring network cinfugurations ”
[1] https://cs.stanford.edu/~keithw/sigcomm2024/sigcomm24-final406-acmpaginated.pdf