Chapter 40: You're a little good, aren't you?
Since I learned what Golang and Python can be used for,
The little flame in Su Xiaomu's heart actually started to stir.
Golang is a language that can be used as the core language of large application platforms, which is why Google has put a lot of effort into developing and open-sourcing the language.
As for the programming language that has become the most used in the world this year: Python
Anything can be done.
From small games like Plants vs. Zombies, to web crawlers, to big data analysis, in the eyes of those who like it, Python can do anything. ①
Used to do the backend of the website, Python can be perfectly competent, and the efficiency is quite high.
Used to be a data crawler, Python is more competent, and the code is simple.
After knowing the main application scenarios of these two languages at a glance, Su Xiaomu's thoughts were actually a little messy at first.
However, a few meaningless comments from the classmates just now made Su Xiaomu's mind flash a bright light.
Think about it, shouldn't such a big South China University of Technology have its own unique, unique network service content that students can make a fuss about?
A must!
For four consecutive hours in the afternoon, including the last military theory class, Su Xiaomu constructed the prototype of the structure in his brain.
The rapid development of network information has led to the emergence of a lot of various contents in China, including A, B, and C video barrage websites.
There is no B number, and the AC number is basically cool now, and there is a B number, and the only one that is not cool is B.
Someone once said that a video site without a barrage has no soul.
Don't think about it, this sentence will definitely not be said by Su Xiaomu.
He doesn't know how to cook, let alone steam goose hearts.
Su Xiaomu took a piece of scratch paper, wrote and drew a prototype, and the first thing to do was a complaint-type school website that could share videos and send barrages.
The overall architecture is divided into services, middleware, storage layer, and infrastructure.
Everyone is like this, after all, the website is just a few structures, which is nothing to say.
Su Xiaomu decided to follow the example of B with a forced number and use Golang as the core language of the business;
The back-end management of the website, including the cached data of the storage layer and the account system, is written in Python;
In some of the necessary modules, write in C and C++, which you are already proficient in.
It was just perfect!
In the writing and painting room, the prototype of the entire structure was basically completed, and at this time, Su Xiaomu suddenly found that this thing could be played with by himself.
The external unified API gateway and internal operation platform can be solved with Golang. ②
As for why such a redundant API gateway was added, it was purely because Su Xiaomu considered that when there is an API gateway, all requests to access the web page will first pass through the API gateway;
In this way, visitors can not directly perceive the existence of various services in the background, and no matter how many kinds of service content there are in the background, the style is the same for visitors.
Modules such as data buses, proxies, and instant messaging microservices (barrage) such as middleware can also be solved by Golang.
And the database and data in the storage layer, coincidentally, Su Xiaomu understands it very well, and the big guy who can reconstruct the data mining algorithm understands it?
Add some Python to this, and the efficiency can be higher.
Other infrastructure, that is, hardware things such as servers and network equipment, has nothing to do with software, but nothing more than money......
In this way, it is completely ojbk.
After the general framework was determined, Su Xiaomu determined the difficulty of the problem and what kind of algorithm to use to be more efficient.
Smashing his mouth, Su Xiaomu looked at the few hairs that suddenly fell out in front of him, and deeply felt the crisis of a middle-aged man who was already born in 95.
"Oops, this is a prelude to getting stronger, bald!"
…………
…………
Until half a mile back in the evening, Su Xiaomu was entangled in the few hairs he had lost.
"As soon as I came back, I sighed, what's the matter, my flirting sister was beaten?"
Su He looked at Su Xiaomu, who seemed to be loveless, and quipped.
Su Xiaomu was silent.
"I don't know what I said casually. Soho immediately had a look of discovery of the truth.
Su Xiaomu finally looked up at Su Ho, his face drooping.
"Soho, I lost my hair today, do you think I'm going bald?"
Su He almost covered his big breasts, and really wanted to give Su Xiaomu a knife at that time, "Die, I'm serious, you!"
"No, I was thinking about it today, and then I found that my hair was falling out and I might be bald. Su Xiaomu suddenly breathed a sigh of relief and briefly said his thoughts.
Soho: "......"
Is this a top student?
Is it so scary?
"I don't know what is enough to wave and what is C, but I can give you some advice from a business perspective on hardware servers. Soho gestured.
"Anyway, you're just playing, it's impossible to make a profit, you just rent cloud server resources from IDC, it won't be too expensive. ”
Su Xiaomu nodded, he thought so too.
After dinner, he returned to 603, which was completely his own for more than 60 years from the legal point of view, Su Xiaomu had insomnia, and he always felt that it was particularly unreal.
Yangcheng is one of the four major first-line, 20-year-old has a 75-square-meter house in Yangcheng, and a car that can be driven at any time......
'I feel that my life has reached the peak at a young age, and I don't dare to talk about my girlfriend in the future, for fear that people will want my money!'
601's Soho suddenly sneezed.
“……”
…………
The next morning, Su Xiaomu found Professor Zhang Ke at the end of class.
Ask questions about algorithms.
Su Xiaomu felt that this little thing was not a big problem, there was no need to use really expensive points to draw a lottery, his bloodline was too good, what if he entered the soul?
In the days that followed, how did Professor Zhang Ke take him.
Is it good to save some face for professors?
Well, Su Xiaomu will definitely not admit that he has 100% African ancestry.
"Do you want to make a campus video barrage complaining website?" Zhang Ke was slightly surprised, "You tell me what you think first." ”
Su Xiaomu has nothing to hide, there is such a thing as a prototype of the architecture, a lot of it is pulled on the Internet, and it is not a finished product, so it has nothing to do with intellectual property rights.
"It's a good idea, if you have the resources and excellent operation, you may not fail, and your understanding of the Go language and the algorithm in the data processing area are a bit excellent, right?"
Zhang Ke saw through Su Xiaomu's profound skills at a glance.
(1): emmm, just understand it casually, anyway, it's all made up blindly.
(2): API: Application Programming Interface. API Gateway: Application Programming Interface Gateway.
======
Break the bowl and ask for tomorrow's recommendation vote.