How to optimize the development of the phone APP live server?

Live APP is now a popular trend, but also fighting for competitive outlet, a lot of companies want to develop a live APP might have trouble understanding some of the issues live APP development process, this can easily lead to the development process make mistakes, and ultimately live APP no longer scheduled to complete the development time, Genesis now share a few small series of dry several live APP development process.

Stability is the most important live program, do this well is very important in the end is what effect the stability of the live program do? It is the server. Changing how to optimize it?

1. Live avoid concurrency

Live mentioned prone to high concurrency main reason is that people often watch live with an anchor in the same time period, especially some red anchor network agreed with their fans after a few good launch, there will be eighty percent fans will point at the same time into the studio, so in this short period of a few hours, a sudden influx of large numbers of users, the server will suffer some pressure, if the carrying amount is not large enough it will cause a crash. But now many broadcast platforms will select multiple servers shunt, or load balancing strategy adopted to deal with live common concurrency problems.

Knowledge dry live phone APP development process

  1. Log on to provide true scene

Since broadcast software lot more interactive features than other software, the server in addition to their live audio and video streams, it also needs to be configured comprises user push messaging, interactive pressure message chat, gifts and other data, and the server need to identify different business fields, in order to more accurately determine whether the user behavior is complete.

  1. Maintenance live low latency

Usually live in the software development process, software is also broadcast delays we are very concerned about and attention to the problem. Air requires a strong real-time, in order to bring a better product experience to the user, which requires broadcast software not only face greater and greater amounts of data concurrency, also we need to ensure lower latency. Of course, but also to ensure that the data processing speed of the server fast enough, with strong bandwidth.

  1. To ensure that the amount of live data

A large amount of data generated during a broadcast, the video data respectively, and text data. Each room will have a different order of magnitude live data, if a live room will have a certain magnitude data, live platform will have a mega data, especially as some of the major broadcast platform, which requires the server to withstand very earth bandwidth pressure.

TV APP development process, not just the technical aspects of attention, but also to consider the focus on issues related to the server, which affected the normal operation of the late broadcast of APP.

Guess you like

Origin blog.51cto.com/14318279/2403529