当前位置:网站首页>The song of cactus - marching into to C live broadcast (1)

The song of cactus - marching into to C live broadcast (1)

2022-06-22 06:28:00 Arnold the procedural ape

The problem to be solved

Only two days later , Hongwuqing asked Chen Su and liangjiangfeng to go to his office . Into the office , Zhongzhanpeng and gedongshan are already inside . Chen Su secretly said that it seems that this is to plan the live broadcast CDN New task . Hongwuqing motioned to everyone to sit down , At present, there are even sofas and chairs , Four people can still sit down .

“ Call everybody over , Mainly to clarify the current situation ,” Hongwuqing is a little tired , Half lying in a leather chair talking ,“ What is the overall structure of the live broadcast ?” This is a question directed at Chen su , He quickly sat up straight and replied .

“ Logically speaking, it is divided into three layers ,” Chen Su said while thinking ,“ The core layer is responsible for transcoding the live broadcast source , And deploy program management CLM. Further down is the transfer floor , This floor is divided into provinces 、 City 、 Zoning , There are several servers at each level , Unified deployment CLS. The lower layer node can only get data from the upper layer , Not vice versa , That is to say, data flows in one direction . Such deployment constitutes a tree distribution structure .

“ Those leaf nodes in the tree , Is called an edge node , They are responsible for providing data to the client . We selected some edge nodes with better performance , The slicing service is deployed on it , To support the review of the business . It was developed based on my previous testing tool .” Chen Su mentioned the testing tool at the end , Mainly to remind hongwuqing , Is this temporary tool going to end its mission .

“ There is no problem with this set at present ,” Hongwuqing doesn't care about the testing tool ,“ But if you want to use To C Business , I thought about , There are still many problems .” Chen Su was a little jumpy when he said this , There are still many problems , I don't know where all the pits are .

“ First, the protocol field needs to be adjusted ,” Hongwuqing's first question , Chen Su is a little confused, so ,“ I took a look , Current custom transport protocols , There is a fixed four byte timestamp field in the header , Right ?”

Chen Su nodded and said yes , He doesn't understand what's wrong with this field . But hongwuqing quickly explained his intention :“ Let me see this field It can only be used when it is stored in pieces , Is it? ? If so , That's a waste , This field only needs to appear in the first key frame ts Baotou will do .”

Waste is not a problem ? Chen Su has doubts in his mind , I still asked :“ Hong Zong , If you keep this field , What's the impact of that ?”

“ From the perspective of cost saving ,” Hongwuqing knows where Chen Su's doubts are ,“ We are now working with operators , Traffic is their own , So it doesn't matter . But if we run our own business in the future , You have to pay the traffic fee . You this 1K The data is redundant by four bytes , It means that our cost will increase by 0.4% , It's really not cost-effective .”

These words are quite novel to Chen su , The meaning has been understood , Then we will discuss the technical details . Chen Su said :“ Since it is , It is not enough just to modify the definition of the agreement . Because I have a fixed protocol header in the code , If you meet this requirement, you have to change to dynamic parsing .”

“ you 're right , That's what I mean ,” Hongwuqing nodded approvingly ,“ therefore , Chen Su, you have to go through the code when you go back , Where protocol resolution is involved, it should be carefully modified . Of course , If we had been designing , It would be nice to take this into account . But that's okay , We still have time to build our live broadcast system , But you have to do these things now . Wait until then to adjust , The price is even greater .”

Chen Su said that he fully understood , But he raised another question , Ask :“ This cost is saved , But if you want high-definition video in the future , The base number of the code rate is right there . This traffic can not be saved ?”

“ This is really ,” Hongwuqing has obviously considered this problem ,“ This is the most annoying thing about video business , Its cost is not decreasing marginally . Every new user , Our cost increases linearly . Unlike those news portals , There is little difference between the investment of serving onemillion users and that of serving onehundredthousand users . I've been thinking about it these days , Chen Su, you can go back and think about it .”

This time , Chen Su has no problem for the time being . Hongwuqing turns to zhongzhanpeng , say :“ Exhibition peng , You can arrange Dongshan to do something . Just let him start from now on , Sort out the architecture of the live broadcast system .” Said , Hongwuqing orders gedongshan directly :“ Dongshan , When you go back, ask Chen Su for the design documents , Then go to the operation and maintenance department to find heliqiang , Understand the actual situation of the current online deployment . Finally, a complete architecture description document is formed , ok ?”

Ge Dongshan nodded . Chen Su didn't care much about this matter , He also thinks it's a good thing that more people can understand the technology of live broadcasting . however , Only later did Chen Su discover , Hongwuqing's idea is not as simple as he thinks , It means something else .

Finally with Yun Bingjie

Yun Bingjie is finally coming to Beijing . Chen Su was happy for a whole week , He kept thinking about the wonderful time they would be together . When Chen Su returns to Jinsong's residence every day , Will shout at the stray dogs running around the yard :“ Your grandpa and I are not single anymore !” Chen Su held his finger for a few days , This day has come .

Chen Su arrived at the west railway station early in the morning , This time it was from Jinsong , You don't have to get up early like in Xibeiwang . This time, Chen Su ran from North Exit 1 to North Exit 2 , See Yun Bingjie dragging a big suitcase , I also carry two big bags in my hands . Chen Su quickly imagines flowers blooming in his mind , Let yourself laugh at a picture like that .

“ Why are you laughing like a philanderer .” Yun Bingjie said angrily .

“ Don't you see a flower , ha-ha !” Chen Su laughed more violently .

“ All right. , All right. ,” Yun Bingjie obviously doesn't have a good rest on the train at night ,“ Take me back quickly , I am so tired .”

Chen Su sees that Yun Bingjie is so tired , I decided to take her to Jinsong's residence first , So you can have a good rest . This is Yun Bingjie's first visit to Jinsong , When she saw the dark little bedroom on the first floor facing north , I can't help frowning .

“ I said a su ,” Yun Bingjie looked at the small room and said ,“ How can you find such a house , It's so dark in broad daylight ?”

“ This is not the usual work to sleep ,” Chen Su tried to understate this matter ,“ I will go back to Xibeiwang at the weekend , Have a good rest . There is a single one bedroom to the south , It must be more comfortable than here .”

“ Of course , I'll lie down for a while , Tell me to wake up at dinner .” Yun Bingjie said and fell on the bed with her clothes .

“ Ah , Wait for a while ,” Chen Su is looking through the two big bags that Yun Bingjie brought ,“ What are these things ? Black paint , Why is there still a musty smell ?”

“ You know what ,” Yun Bingjie said with a smile ,“ That's our specialty , Bacon, you know ? There are smoked fish over there 、 Dried eggplant 、 Day lily . These things are not cheap , My mother is afraid I can't get used to eating here , It was brought specially for me .”

“ I went to , Your taste is really special , Keep it for yourself and eat it slowly .” Chen Su stuck out his tongue and sealed the bag .

At noon, , Chen Su wakes Yun Bingjie , They had a meal at a nearby Sichuan restaurant . After dinner, , Chen Su led Yun Bingjie across the East Third Ring Road , Come to Fuli city , stay UME The international cinema saw a movie . Afternoon , After the movie , Chen Su leads Yun Bingjie's hand and strolls back . Chen Su asked :“ dear , Where are we going to have dinner ?”

“ Oh dear , Eating out again ? Why don't we buy some vegetables and make them by ourselves ?” Yun Bingjie really knows how to live .

“ No way. ,” In fact, Chen Su is still thinking of rolling up mutton kebabs ,“ There is no pot or bowl in the residence , I can't do it .”

“ So... ,” Yun Bingjie has another idea ,“ Don't you have a rice cooker in Xibeiwang ? We'll go there tomorrow , Bring it here . I'll just buy a wok , I'll cook and bring you a bento .”

“ That's ok , That's all right. ,” Chen Su promised and said ,“ What about tonight , I know there is a roast lamb kebab in front of me. It's really good , Hee hee ~”

the second day , Yun Bingjie is really resolute , With those two bags of local products, I went to Xibeiwang with Chen su . As soon as Yun Bingjie enters the room , He ran to the cactus , Surprised :“ yo , Cactus is very well raised , And it blossomed .”

“ That's not ,” Chen Su is really proud this time ,“ I don't want to see who is raising it , I told you a long time ago , I am a sunny and loving person .”

Back to Jinsong , Yun Bingjie didn't bother to have a rest , He went out to buy a frying pan and vegetables and lean meat . Chen Su looks at Yun Bingjie's busy face , Waves of warm current surged in my heart .

Monday morning , Yun Bingjie got up at six and worked in the kitchen . When Chen Su is ready to go to the company , Yun Bingjie has packed the Bento and put it in Chen Su's small backpack .

“ dear , It's very kind of you .” Chen Su is happily speechless , Gave Yun Bingjie a hug .

“ All right. , Go to work ,” Yun Bingjie yawned ,“ I have to sleep a little longer . I'll just have my lunch cooked in the morning , Be careful on the road .”

At noon, , The colleagues greeted each other and went downstairs for dinner , Chen Su solemnly took out the bento box from his bag , He shook proudly and said :“ A: no, no , I brought some food today , You go eat .”

“ yo , This is Mr. Chen's love Bento ?” Jinqinglin is going to the microwave oven to cook , At the sight of Chen Su's Bento, he shouted .

“ Ah , Mr. Jin, you are the same .” Chen Su and Jin Qinglin have gone together , All go to the hot food .

“ I'm not ,” Jinqinglin laughed ,“ I did it myself , I ate the leftover last night . Ah , Pity that , No one hurts .”

“ Come on ,” Chen Su hasn't known many genuine Beijingers in Beijing these years , Jinqinglin is a rare one ,“ Look at that big fat meat in your bowl , It's not fake ?”

“ Meat is real ,” Jinqinglin is still smiling ,“ I have no pain , Don't you have to be nicer to yourself , Right ? ha-ha !”

Come back after cooking , Chen Sulong took out his chopsticks , Open the lid of the box . Just about to remove the chopsticks , Chen Su suddenly found that there were many black things in the dish , It looks like a pot of rice , I'm not sure . Chen Su hesitated for a while , I had to spend half a day picking out all the black things . At this time, Yun Bingjie's phone calls in .

“ Assu , Have you finished your lunch ?” Yun Bingjie's voice sounds very urgent .

“ No! , dear .” Chen Su tries to make his voice sound pleasant .

“ I just saw it when I was eating ,” Yun Bingjie seems relieved ,“ There's a lot of black in the dishes , Don't eat . Why don't you pour the rice , Go out and eat some more .”

“ Don't worry ,” Chen Su said feebly ,“ I picked them out , I won't eat it . What's going on , The food is burnt ?”

“ No , Oh dear , I dare not say . I am afraid you will scold me .” Yun Bingjie is hesitating .

“ Say it. , I don't swear .” Chen Su tried to keep his voice calm this time .

“ That night ,” Yun Bingjie really said ,“ I passed by a Jiuyuan store , I heard the whole audience shouting from the big horn 9.9 element . I was curious and went in to have a look , There are still pots for sale . I thought it would be a good deal to buy a pot for nine yuan , So I bought it .”

“ It's a good deal ,” Chen Su gritted his teeth and said ,“ Now you know , How valuable . Throw that pot away quickly , I now buy one online .” Don't wait for Yun Bingjie to reply , Chen Su hung up the phone , This is just fine, , My appetite is gone . Finish the meal hastily , Chen Su still bought a SUPOR frying pan on the Internet .

So the life of two people began , Happiness is accompanied by worry .

原网站

版权声明
本文为[Arnold the procedural ape]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206220623353332.html