Live CDN Architecture Random Thoughts

Source: Internet
Author: User

Internet content Carrier Change course, text--picture/sound--Video--vr/ar ——...... From Live 1.0 Show Time (YY), 2.0 games Live (Betta, Tiger Tooth, Panda) to now live 3.0 pan-life Entertainment era (ying, pepper), foreign live app (Meerkat, Periscope), with VA/AR/MR presented immersive audio-visual experience, Live 4.0 times will soon be coming.

In this era of national entertainment, live broadcast has been fire to do not want, the major companies have their own live products. This article mainly from the broadcast of some basic knowledge, a step by step to create a live App. What kind of technical support is there in the back of a live fire?

This paper attempts to make an analysis of the current hot broadcast system transmission architecture, hoping to get some inspiration from the speculation of the problem.

http://geek.csdn.net/news/detail/112262 "Build live App from 0 to 1" This article explains some of the live technology in more depth.

The following figure depicts the streaming of a stream of audio and video streams over the network in a live streaming scenario, in which Beijing's PC users are broadcasting.

Unlike 2 or fewer users of video telephony, the user and the user can establish a TCP connection between the transmission of audio and video streams, the stream of traffic in the live business scene must be transmitted through the live transmission network, the user's audio and video traffic first to the most recent push-streaming server, and then through the push-stream server to other users. The maximum number of users a single IDC can support is: min (IDC bandwidth, all push-stream server NIC bandwidth in ∑IDC)/audio and video traffic.

If an anchor is broadcast live in Beijing (audio and video consumption bandwidth 1Mbps), in the country has 10K people to watch.  So how many servers and how much IDC bandwidth will the Beijing IDC room need to deploy to support it? A simple calculation, 10K * 1Mbps = 10Gbps, in the assumption that the 10Gb NIC server CPU and memory can handle 50% of traffic and packets, theoretically 2个万 Gigabit NIC server can be supported. General users and servers match 20K users: 1 servers, then if the millions users in the country to watch the live broadcast need to how many server support, simple calculation of 50 servers, then how to arrange these servers in the national IDC, because in each IDC service users different, The most reasonable way of the distribution of the server, should refer to the population of the region to determine the proportion of the distribution is more reasonable.

So what's the location of IDC? It is best to refer to the following figure China Internet backbone Network Diagram and population density map, the construction of IDC in densely populated and key nodes of backbone network location.

China Internet backbone Network Diagram is as follows:

Chinanet backbone Network by Beijing, Shanghai, Guangzhou, Shenyang, Nanjing, Wuhan, Chengdu, Xian and other 8 core nodes composed of the core layer and the other 54 sinks composed of a sink layer. The whole network has 3 international exports, through the Beijing, Shanghai, Sui's router completed. International routers are independently set up with domestic routers and are responsible for implementing international policies and security restrictions. The relay circuit between Chinanet network nodes is based on SDH and DWDM fiber network, the total network bandwidth exceeds 800G, the total international export bandwidth has exceeded 5000MBP

  2007 at Shandong University, Bachelor of Computer Science and technology, has been engaged in Huawei for many years in the development and operation of network equipment management system software; currently serving on the Tiger Tooth (YY) live cloud Platform group, focusing on the architecture, development, operation and maintenance of ceph distributed storage. You are welcome to do technical exchanges with me. Repo:https://github.com/bodihtao

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.