Chapter 7
Chapter 7: Refactoring Garbage
Women’s Day, March 8, 2010, Monday.
At six in the morning, Lu Zhou woke up, and after washing up,
“Okay, then go to work. Just wait and earn.”
Before going out, he glanced at Fang Qiang, who was sleeping on the sofa, and Lu Zhou couldn’t help but sigh that this little junior brother was really cute and stupid.
Last night, Lu Zhou got up in the middle of the night to go to the toilet because he drank too much water, but he was a little surprised to see Fang Qiang in the living room still lighting the lights at night.
After Fang Qiang finished his work, he still remembered Lu Zhou’s code writing operation in the afternoon and various miracles in his thinking. He has been studying the earlier code while consulting the information.
Lu Zhou didn’t say much. Diligence when he was young is always a good thing, and it’s not good to extinguish his enthusiasm when he is in the mood.
Shaking his head, Lu Zhou carried his bicycle downstairs, ready to go out to work.
Right now, I have just been reborn, and I have only a small deposit of 10,000 yuan, and the next month, the automatic registration process of the scarf will cost more than 2,000 yuan, as well as the daily expenses of rent. If I really stop working, then This money also lasts up to two months.
Going downstairs, the door of the convenience store downstairs was also closed, “It seems that Ye Qingchen has gone to class.”
So Lu Zhou rode his bicycle directly, and while riding, he walked among the crowds on the school road of Yixian University in Guangnan University Town.
The company that Lu Zhou is currently working for is called Phaeton Cloud, which is mainly engaged in the idc business of server leasing and trading. It is not an Internet company in the strict sense.
The position he is engaged in is responsible for the research and implementation of cloud computing virtualization services, data scheduling and automatic management of virtual cloud hosts.
It sounds quite tall, but the research of their department in the previous life has not been completed, and even the prototype has not been seen.
And Phaeton gradually collapsed and disappeared in the tide of the times.
Amazon AWS, which is far across the ocean, launched elastic cloud services as early as March 2006. After several years of technological advancement, in 2010, it has already belonged to a relatively mature technology field, but there are not many companies that actually use it for commercial use.
In China, most of the trend-followers will become the dust of history in the future.
“Ali started the first Double Eleven event day in 2009. Penguin Prestige is about to set sail next year. Everything seems accidental and inevitable. Double Eleven means a sudden high-performance demand at a certain time. A large number of servers need to be temporarily added; for high availability and to avoid production accidents caused by downtime, the disaster recovery servers in two places and three parks mean that there are relatively idle servers for a long time. The original intention of Amazon to open the cloud is only to rent idle servers Go out and increase revenue.” Lu Zhou thought.
After all, cloud computing is not just for cloud computing, the server itself is a heavy asset device.
This means that only large Internet companies need to use tens of thousands or even 100,000 servers, and the business itself has sudden high-performance needs, which can give birth to real cloud computing companies.
This will be true of Alibaba Cloud Computing in the next year, Penguin Cloud Computing in the next two years, and Qiandu Cloud Computing in the next four years.
“Probably, there is no rootless water.” Lu Zhou made a conclusion on the bicycle with a transcendent vision.
When I arrived at the company, it was less than a month after the Spring Festival holiday. All the company’s business had not been officially operated, and the office was also yawning.
Lu Zhou looked around. Some of his colleagues would occasionally contact him who could talk to him in the future. Some were so unfamiliar that they only had work conversations from the beginning of the job, and some who still couldn’t remember their names when Lu Zhou saw them again.
Among many colleagues, his team leader, Fatty Wen, is relatively familiar, and later started a business together.
Of course, as the team leader, he only joined Lu Zhou a year earlier, so he became the team leader.
After all, cloud computing is still an emerging thing in China, and even the Big Three have not yet opened their businesses. Most talents are transferred from operation and maintenance or trained from fresh graduates.
At this moment, Wen Xuwei’s call came from another compartment, “Lu Zhou! Come, come here.”
After Lu Zhou put down his backpack, he went to Wen Xuwei’s workbench, “Haha, fat brother, long time no see. What? Have something to do?”
“Okay. I just took a look at your progress last week, but you wrote a bunch of garbage. I made several calls in succession, and the code execution is fine, but the optimization is simply unbearable, little brother.”
Lu Zhou also held his forehead, and dared to feel that the garbage code written by his predecessor made Wen Xuwei unable to read it.
After all, Fat Wen is a technophile himself and loves research, but wherever he can optimize the program, he will do anything he can, regardless of whether it is working overtime or at home.
And Lu Zhou had to admit that many of his work habits in his previous life were greatly influenced by Wen Xuwei, who helped him form correct coding habits.
And Wen Pang himself jumped to Alibaba Cloud Computing two years later because of his accumulation of bits and pieces and his fanatical thirst for technology.
Fat Wen is a cannonball that kept bombarding the code written by Lu Zhou, while explaining his ideas to Lu Zhou in detail.
“How come there is a sense of sight that was explained to Fang Qiang yesterday…” Lu Zhou slandered.
Seeing that Wen Xuwei is getting more and more energetic, Lu Zhou is also helpless.
In the end, I could only throw out a few cloud computing ideas related to future generations, euphemistically, I read a journal and had some ideas, and asked Wen Xuwei to explain it to him.
This directly made Old Wen get stuck, frowning tightly and fell into thinking, while Lu Zhou quietly returned to his workstation, turned on the computer, and prepared to refactor the code he had written before.
“I don’t know if I don’t read it. I’m startled when I see it. No wonder Wen Fat is so enthusiastic about explaining it. I can’t stand it anymore. This is the reconstruction. It will be busy for a while, so I will slowly change it in the local warehouse first. After making the changes, submit them a little bit, so as not to cause any sensation.” Lu Zhou complained weakly while writing.
This change of Lu Zhou is one day. Except for the toilet and lunch time in the middle, Lu Zhou basically refactors the code in his workstation.
It was not until Wen Xuwei called Shang Lu Zhou downstairs for dinner that he noticed that he had already left work.
Wen Xuwei glanced at Lu Zhou’s screen, and said in surprise, “Boy, I didn’t just say a few words to you in the morning, so I wouldn’t refactor the entire part that you were responsible for. Huh? Hush! Huo…… .The refactoring of this call is wonderful!”
Lu Zhou is also funny, and he just wanted to give himself some ideas in the morning. He never thought that he would actually do the thankless work of refactoring the code, but he was also saying haha, “Haha, you As I said, seek perfection in everything.”
Wen Xuwei touched his face with his fingers, looking a little embarrassed, “That’s fine, you can decide. I don’t have anything at hand for the time being, and I can help you with the reconstruction tomorrow. Let’s go and have dinner after get off work.”
When they arrived at the fast-food restaurant downstairs, they ordered a small farmhouse stir-fried pork. The two of them waited for the food to be served, while chatting about the technical ideas Lu Zhou just threw to Wen Xuwei.
However, Wen Xuwei was dumbfounded and slandered for a while, “I’m afraid the previous junk code was not written with feet. The refactored code just now has these ideas, it’s a proper big guy.”
“Have to wait, have to wait, have to wait”, Luzhou’s Nokia 5800 rang the classic bell, and hearing this sound for the first time since rebirth made him feel nostalgic.
Glancing at Fang Qiang’s phone, UU reading www.uukanshu.com Lu Zhou answered the phone, and before he could speak, Fang Qiang yelled, “Lying in a big hole, Brother Lu, Big things, big things!”
The roar made Lu Zhou put the phone away from his ear, “Be quiet, your eardrums are shattered. Come on, there’s a problem with the program.”
“So, I just logged in to the management backend, and then I couldn’t access it. I just logged in to the backend of the Ali store you gave, and guess what?”
Lu Zhou was also funny, but he made a joke, “Either there is an order, the scheduled task of the automatic registration machine is just running, and it catches up with the order from the automatic operation machine. The two programs take up too much server performance, Cause the management background to return 502. Either the code you wrote is too bad, and there is a bug. Choose one of the two.”
Fang Qiang on the other end of the phone was speechless for a while, “Brother Lu, you are so smart and you want to hurt me by the way. I’m afraid even friends won’t have to do it.”
“Okay, let’s talk, how many orders can there be. The program itself does not occupy a lot of resources. Without seven or eighty orders, the management background will not collapse.”
Fang Qiang roared again, and said, “Hey, I can’t hide anything from Brother Lu. There are seventy-five orders in total. I posted haha, I posted it!”
Luzhou is also in his heart, and some are smiling, thinking that the advertisement of Ali through train is really important in the early stage. At least for buyers who have the same type of purchase demand, the price of Luzhou store is still attractive. .
“It’s a good start. The problem is not troublesome, I’ll improve the server configuration later, and then I’ll give you a backup server. I’ll talk about the rest when I go back.” Then Lu Zhou hung up the phone.
Wen Xuwei, who was on the side, was also surprised when he heard it, “Yo, Boss Lu has such a big business, and the server has been blown up.”