Understand cloud native in three minutes

"Author's Homepage": Shibie Sanshi wyx
"Author's Profile": CSDN top100, Alibaba Cloud blog expert, Huawei cloud sharing expert, high-quality creator in the field of network security

After reading a lot of cloud native articles, I found that their summaries are very boring. Listening to your words is like listening to your words. Therefore, I decided to tell a story to make it clear what cloud native is, so that everyone can understand it.



My name is Zhang San, and I am a programmer.

Today, I used Python to develop a dating platform, which I call a "native application" , and deployed it on my "computer" . I used a network cable to connect the computers in the village to form a "local area network" . People from the whole village can chat on my platform.

A few days later, a girl from the next village came to me and said that she wanted to play on my dating platform, but my internet cable was not long enough to connect to her computer. The dating platform is deployed on the "server" , so that everyone on the "Internet" can use my dating platform, including my beloved girl.

It didn't take long for the girl to come to my house and say that she wanted to add a friend on my platform, so I started to modify the functions of my code. Because I modified too many functions before, now I even see this mountain of shit. I do not understand. For the sake of my beloved girl, I refactored the code overnight for two months, and divided it into "microservices" one by one according to the function. In the future, when the girl asks me to add "functions" , she can directly add a new microservice. .

Slowly, my dating platform is getting more and more popular, and people from far away want to come to my platform to play, but because the distance is too far and the network delay is very large, they come to me and want to play on the server in their area Also deploy my platform. I said yes, and immediately sent them the installation package.

Soon, problems arose. Due to the differences in our "system environment" , it runs fine in my environment, but it is full of problems in their environment. Coupled with the long distance and many points, it is impossible for me to debug them one by one, so I put the configured environment in a "container" and isolate the container from the operating system of the computer itself. After they deployed my container, they installed my dating platform, and there was no problem.

However, an unusually sudden earthquake broke my peaceful life, and our entire area became a rubble. My server lay in the rubble, my platform was down, and the girl left me. For the sake of my beloved girl, my friends and I spent huge sums of money to buy "a large number of servers" to form a virtual cloud, which I call a "cloud platform" . Those bosses who don't want to buy their own server configuration environment come to me When buying cloud services, a small business owner should buy a smaller one first, and then expand the capacity when the business grows. Since it is deployed on the cloud, it can be used as needed , so the expansion is very fast, only a few minutes.

My cloud service was selling well, and the girl came back to me. But the good times didn't last long. Because my cloud was very expensive, Zhao Si next door didn't buy it, so he spent a lot of money to buy a server to build a cloud, and declared to the public that he was a "private cloud" , and he could only "own ". use" , to draw a clear line with my public cloud.

Later, I deployed my dating platform to the cloud, and I collectively referred to "application deployment to the cloud" and "problems encountered after going to the cloud" as "cloud native" , and more and more programmers joined the cloud native ranks. With cloud native, I became one of the outstanding young people in the city, giving speeches everywhere.

A few years later, on the way to the end of a speech, a group of white-haired young people rushed out and pushed me to the ground. They said that my cloud native made their Java programmers "unemployed" , and they gave me a knife. ...


Cloud native in one sentence

Cloud native is a concept and a technical system, which can be understood in two parts: applications developed in any programming language (such as Java, Python, C, etc.) are called native applications; the process of deploying native applications on the cloud , and the problem solving after going to the cloud, collectively referred to as cloud native.

Thank you for your likes, collections, and comments. I am three days. I wish you happiness.

Guess you like

Origin blog.csdn.net/wangyuxiang946/article/details/124320584