Chapter 110: How to Solve the Network Latency Problem of Live Streaming
Lu Fan is indeed a technical expert, and when the person has not yet been fully configured, he first set up the shelf, and knocked a lot of some core underlying code. One by the end of April, had solved the collisions, lighting, and physics engines. It's only been a month.
By the end of the month, the configuration was gradually complete, and the game engine, codenamed "Project X", began to run wildly. When writing some technical documents, Lu Fan put up the basic framework, which made the later standardization project very awkward and awkward, but later people found that this framework was indeed reasonable after getting familiar with it.
The game engine is under intense development here, and "Spore" in Guanghua City has also started the first phase of development, borrowing the physics engine and collision detection system of Project X, the gameplay of big fish eating small fish in the cell stage can still be realized. Originally, Daystar Studios still wanted to make their own engine, but Liu Neng insisted that they allin "X Plan", all systems must be fully connected, and it was also for the standardization of later game development. So their work will be a little slower.
Once you plug in the X engine, everything is much smoother and smoother.
In three days, the first demo came out. Liu Neng tried it out, and as far as a game of "big fish eat small fish" is concerned, it is okay. Of course, in addition to the development of the game in the spore stage, the gameplay of those components involved is also being carried out simultaneously, such as offensive components such as poison sacs, which require a physical diffusion engine. When the sac is fired, other organisms in the vicinity will also be poisoned if they come into contact with the spreading sac. Of course, as the diffusion boundary increases, the toxicity decreases.
In addition, the web game "Dandantang" has also been synchronously connected to the X engine, which has explosions, collisions, knockbacks and other gameplay, and the requirements for the physics engine are relatively high. In the process of game production over there, they are also constantly raising demand for the Shanghai engine team, so that they can also speed up the development.
But at least there is one thing that everyone is still following, that is, they don't work overtime.
Joy Network is very envious of the "no overtime culture" here, so much so that Wan Binglin kept spitting bitterness to Liu Neng, "Brother, you are so tall, my team is not easy to lead!" β
Who would have thought that there was no problem in working together, after all, they were all Internet companies, Wan Binglin subconsciously felt that Liu Neng would follow the "unspoken rules of the Internet" and let employees 996, but unfortunately, the scene every day is like this, here the engine team and the live broadcast development team everyone get up at six o'clock every day to stretch, greet each other, and then go home. One by one, with dark circles under the eyes of the happy network, they watched them slip away with a look of envy, jealousy and hatred, and then looked at their team leader with a longing look, the team leader looked at the boss of the project team, and the boss of the project team could only look at the boss of the center, and the little eyes of resentment were really distressing.
Liu Neng was not good at pointing fingers at their work mode, and patted Lao Wan on the shoulder, "It's nothing, I'll get used to it." But can't we be good people? Can overtime really improve efficiency? Dude, I don't think so! β
Wan Binglin sighed, "My brother is so free and easy that I am speechless." He didn't know in his heart that overtime would bring physical and mental exhaustion, and his working conditions during the day would be greatly affected, and he would work three hours at night and paddle for two hours, which might not be as efficient as the normal 965.
The technical problems in the development of live broadcast have been nearly solved, but there are several non-technical problems that are still in front of us. Network latency is the most important problem, but there is no direct solution to the current network speed.
For this reason, Qian Weijie, as a senior operation and maintenance officer, also made a business trip from Guanghua City to Shanghai to discuss how to solve this matter. Liu Neng thought about it for a long time, but he couldn't remember how those online live broadcast platforms solved the network delay in his previous life, and in some vague memories, it seems that the problem of network delay has never been truly solved.
After a temporary recess, Liu Neng finally remembered that he still had a golden finger to use. He hadn't paid attention to his "built-in exchange system" for quite a long time, and the points in it had reached 80,000 joy points. After exchanging the high-level server skills, more branching options appeared, one of which was called "Intelligent Virtual Network", which was almost a surprise to select this ability.
My mind suddenly became much clearer, and some things that I couldn't figure out before were now extremely clear.
"God still favors me!" Liu Neng was overjoyed, the problem of baldness just now seemed to have a "solution".
Just a few minutes later, Liu Neng summoned everyone over again, and everyone was obviously a little baffled. In the more than two-hour meeting just now, most of them started with one person proposing a solution, which was quickly sprayed by others to the point of being speechless or even trying to get into it, and then the meeting quickly fell into a terrible silence until the next person came up with an unreliable solution.
The meeting that ended in silence pulled everyone together to continue the meeting at this time, and everyone felt the horror of the boss for the first time.
Liu Neng cleared his throat, "The meeting continues, let's put it this way, if we don't find a solution, everyone will be hungry here." β
"Boss, you're not kind, you're hungry and your brain is not bright, why don't you vote and choose the lightest plan that has just been sprayed?" Zhou Xin rubbed his temples and said.
Liu Neng rolled up a ball of paper and smashed it on his head, "This is negative work, lax thinking." Go back and let the finance deduct 200 yuan from your salary. β
"Let's not laugh yet." He put it away and laughed, "Maybe our thinking was a little wrong before, I'll do a small review, there is no way to really solve the network delay, even if it is the live broadcast they do, it is impossible to have no delay at all." So our goal should be changed......"
"From solving the latency problem of live broadcast, to reducing the latency of live webcasting!" Zhou Xin said with a flash of inspiration.
βBingoοΌ That's it, try to reduce network latency, we now have test data in the internal network, the network latency is about 5 seconds, which is barely acceptable. But on the public network, this delay is about 10s. This 10s experience is very poor, and everyone should be able to feel it. So let's think about how to reduce the network latency to less than 5s, I personally think this delay is acceptable to users. Liu Nengdao.
"So the solution? Say that there is no plan for a long time! Qian Weijie spread his hands and said.
"Why don't you say that your boss and I'm only eight years old, do you know Content Delivery Network?"
"Content delivery network?" Everyone quickly passed this concept in their minds, and immediately praised it, ", why didn't I think of it, the network bandwidth can't be optimized, but it can be reduced through intelligent scheduling!" Damn, boss, you're still awesome! β