typeface
large
in
Small
Turn off the lights
Previous bookshelf directory Bookmark Next

Chapter 40 Are you a little good?

Ever since I understood what Golang and Python can be used for,

At that moment, the little flame in Su Xiaomu's heart actually started to get angry.

The language Golang can actually be used as the core language of large-scale application platforms. This is also the purpose of Google’s efforts to develop and open source this language.

As for becoming the most used programming language in the world this year: Python

Can do anything.

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.①

When used as a website backend, Python is perfectly capable and very efficient.

For data crawling, Python is more capable, and the code is simple.

After knowing the main application scenarios of these two languages ​​at a glance, Su Xiaomu's ideas were actually a little confusing at first.

However, the few meaningless comments made by the classmates just now made a bright light flash in Su Xiaomu's mind.

Think about it, shouldn't such a large South China University of Technology have its own, unique online service content that students can get excited about together?

Must have!

For four consecutive hours throughout the afternoon, including the last military theory class, Su Xiaomu constructed the prototype of the architecture in his mind.

The rapid development of network information has led to the emergence of many kinds of content in China, including three video barrage websites A, B and C.

Without the B number, the AC number has basically declined. With the B number, the only site that has not cooled down is the B site.

Someone once said that a video website without barrage has no soul at all.

Needless to say, these words were definitely not said by Su Xiaomu.

He doesn't know how to cook, let alone steam goose heart.

Su Xiaomu took a piece of scratch paper and wrote and drew to make a prototype. The first thing he wanted to do was a school website that could share videos and post comments.

The overall architecture is divided into several parts: service, middleware, storage layer, and infrastructure.

Everyone is like this. After all, the website only has these structures, so there is nothing to say about it.

Su Xiaomu decided to follow the example of B with forced numbers and use Golang as the core business language;

The backend management of the website, including the cache data of the storage layer and the account system, are all written in Python;

In some necessary modules, I use C and C++, which I am proficient in, to write them;

Simply perfect!

In the writing and drawing room, the prototype of the entire structure was basically completed. At this time, Su Xiaomu suddenly discovered that he could actually play with this thing by himself.

The external unified API Gateway and internal operation platform can be solved with Golang. ②

As for why such a redundant API gateway is added, it is purely Su Xiaomu’s consideration of a higher level and following the market trend. When there is an API gateway, all requests to access web pages will first go through the API gateway;

In this way, visitors cannot directly perceive the existence of various background services, and no matter how many types of background service content there are, the style will be consistent for visitors.

Modules such as middleware's data bus, agents, instant messaging microservices (barrage), etc. can also be solved with Golang.

As for the database and data in the storage layer, by coincidence, Su Xiaomu knows it very well. Can someone who can reconstruct data mining algorithms know about it?

Adding some Python here can make it more efficient.

Other infrastructure is hardware things such as servers and network equipment. They have nothing to do with software and are just a matter of money...

In this way, it is completely ojbk.

After the general framework was determined, Su Xiaomu determined the difficulty of the problem and what algorithm to use more efficiently.

After smacking her lips, Su Xiaomu looked at the few strands of hair that suddenly fluttered and fell in front of her eyes, and deeply felt the crisis of a middle-aged man born in 1995.

"Oops, this is the prelude to becoming stronger, bald!"

…………

…………

Until half a mile back in the evening, Su Xiaomu was obsessed with the few strands of hair she had lost.

"I was sighing as soon as I came back. Why, I was beaten for flirting with a girl?"

Su Ho looked at Su Xiaomu who looked like he was hopeless and said jokingly.

Su Xiaomu remained silent.

"I just said it casually, I don't know either." Su Ho immediately looked like he had discovered the truth.

Su Xiaomu finally raised his head and looked at Su Ho, his face drooping.

"Suho, I lost my hair today. Do you think I'm going bald?"

Su Ho almost covered his big breasts. He really wanted to stab Su Xiaomu, "Go to hell, I'm serious, you slut!"

"No, I was thinking about the problem today, and then I found that my hair was falling out, and I might be going bald." Su Xiaomu suddenly breathed a sigh of relief, and briefly stated his thoughts.

Su Ho: "..."

Is this a top student?

Is it so scary?

"I don't understand what's so wasteful, what's C, but I can give you some advice from a business perspective on hardware servers." Su Ho made a gesture.

"Anyway, you are just doing it for fun. It is impossible to make a profit. You can just rent cloud server resources from IDC. It won't be too expensive."

Su Xiaomu nodded, he thought so too.

After dinner, Su Xiaomu returned to 603, which legally belonged to him for more than 60 years. Su Xiaomu had insomnia. He always felt that it was very unreal.

Yangcheng is one of the top four major universities. At the age of 20, I had a 75-square-meter house in Yangcheng and a car that I could drive at any time...

'I feel that my life has reached its peak at a young age. I don't dare to have a girlfriend in the future because I'm afraid that people will want my money!'

Su Ho from 601 suddenly sneezed.

"..."

…………

The next morning, Su Xiaomu looked for Professor Zhang Ke after class.

Ask about the algorithm.

Su Xiaomu felt that this trivial matter was not a big problem. There was no need to use really expensive points to draw a lottery. His bloodline was too good. What would happen if he got into his soul?

How would Professor Zhang Ke take care of him in the days to come?

Do you always want to save some face for the professor?

Well, Su Xiaomu will never admit that he has 100% African ancestry.

"You want to create a campus video barrage website?" Zhang Ke was slightly surprised, "First tell me what you think."

Su Xiaomu has nothing to hide. There are a lot of prototypes of architecture that can be found online. They are not finished products and have nothing to do with intellectual property rights.

"The idea is quite good. If you have the resources and excellent operations, it may not fail. And your understanding of the Go language and the algorithms for data processing are a bit good, right?"

Zhang Ke could see through Su Xiaomu's profound skills at a glance.

①: emmm, just understand it casually, it’s all made up blindly.

②: API: Application Programming Interface. API Gateway: Application Programming Interface Gateway.

======

Broken bowl, please vote for recommendation tomorrow.


This chapter has been completed!
Previous Bookshelf directory Bookmark Next