New O & M personnel to learn the importance of Python

Source: Internet
Author: User
Some people often ask in the group, do O & M personnel need to learn development? Do you need to learn PYTHON? What is the difference between PYTHON and SHELL? I can't stand this kind of water problem every day. I decided to help everyone with literacy and ask new users. Don't ask them in the future. At this stage, mastering a development language has become a must-have for senior O & M engineers. Without development, you cannot fully understand the business processes of your system.

Some people often ask in the group, do O & M personnel need to learn development? Do you need to learn PYTHON? What is the difference between PYTHON and SHELL? I can't stand this kind of water problem every day. I decided to help everyone with literacy and ask new users. Don't ask them in the future.

 

 

 

 

At this stage, mastering a development language has become a must-have for senior O & M engineers. Without development, you cannot fully understand the business processes of your system, you won't be able to help debug and optimize the programs developed by developers. Sometimes developers seldom pay attention to performance issues. These problems need to be done by O & M personnel. When a business goes online, the CPU usage is too high, the memory usage is too large. If you do not develop it, you may only check the process level, that is, which process occupies so much. What then? Then I handed it over to the developer. How does this reflect your value?

 

In addition, large companies have hundreds or even tens of thousands of servers. In this case, how does one perform automated O & M? Use SHELL to write a script FOR loop? Well, let's take a break. SHELL is suitable for simple system management. A special development language is required for complex automated tasks. As you may have said, there are specialized open-source software and monitoring in automated management. You can use them directly, however, most of the existing open-source software, such as puppet \ saltstack \ zabbix \ nagio, is general-purpose, and cannot fully meet all your company's needs. When You Need To Do customization and secondary development, what do you do? Looking for a development department? The Development Department does not understand the actual business logic of O & M, and the writing is useless. This activity must be handed over to O & M developers.

 

Second, without O & M and development, you cannot write the O & M platform or complex O & M tools by yourself. All you need to do is to find some open-source software. If so, please do not complain that your salary is low and your work is not taken seriously.

 

Why PYTHON?

PYTHON is a very good scripting language. It can meet most of the automated O & M requirements. It can also build a back-end C/S architecture and quickly develop a high-end WEB interface using the WEB framework, only when you have the ability to build an O & M automation system can your value be reflected, so that you are qualified to pay attention to it with the boss. Otherwise, you should go back and install the machine honestly.

 

Why should I use PYTHON for O & M development?

Good question, why not use PHP, JAVA, C ++, and RUBY? Here I can only say that if you happen to have mastered other languages except PYTHON, what do you like to use? If you are a newbie who doesn't even understand SHELL and want to learn a language, use PYTHON. Why? First of all, PHP is the most comparable to PYTHON. In fact, they do not need to be compared at all. Why? The applicability of the two languages is different. PHP is mainly applicable to WEB development and can be used to quickly develop small and medium-sized and lightweight WEB websites. But what language does the backend basically need to use other languages? SHELL? PYTHON? Haha. PYTHON is a comprehensive language. It can be used on both the frontend and backend. It is better to use it than the WEB, but why is PHP more popular than PYTHON on the WEB? First, PHP was born in 1990s as a WEB. PYTHON came into being only after 2000. However, in terms of excellence, PYTHON's WEB framework is basically left blank, at least compare with PHP.

 

What about JAVA? Well, a bloated, moderate, or innovative language, let's use it to implement ERP. It's a small O & M platform. It's really unnecessary to use JAVA. In my opinion, JAVA is a stable middle-aged man, stable, mature, and bald. PYTOHN represents youth, concise, fast, clean, and handsome!

 

C ++ \ C. Well, I can only say that if you have PYTHON and C, you will enjoy a better taste, but if you don't have C, it will not matter, basically, O & M personnel are engaged in C to install B, because in most cases, you cannot see the underlying source code of the system.

 

RUBY, developed in Japan, is not bad. The style is a bit similar to PYTHON, because ruby onrails is well known and widely used in foreign countries. In China, don't worry, it's no fun, PYTHON has exhausted its imagination.

 

Of course, there is also a new language of GO. Some O & M personnel also want to join in and think it is the future. I want to say, don't be confused and follow suit, and GO will succeed again, it will not become an O & M development language.

 

 

Some people think that PYTHON is very efficient and that it cannot support multiple threads. OH, well, this is a bit more correct. But I want to ask, how many of my articles have been searched for engine development? How many concurrent website development projects with hundreds of millions of PVS? Have you seen the Linux kernel source code? If not, do not follow it. Do you know why PYTHON does not support multithreading? This sentence is wrong. In fact, PYTHON supports multithreading, but does not support multi-CPU multithreading. That is, the multi-thread produced by a program spawn can only occupy one CPU. Why? Oh, because GIL and GIL are something, please make up your mind... But do you have to use multiple threads? You can use multi-process. You can also use coroutine, which PYTOHN supports very well. If your program logic is not good, it will be too fast to develop multiple threads. I know a doctor and I think it's good. He said that 80% of programmers decide the program efficiency, and the language itself accounts for 20%, so next time someone talks about PYTHON's low efficiency, ask him to go back and check how many useless logic and loops his program has. This doctor uses a WEB program written in PYTHON. A server can process hundreds of millions of requests every day and nearly 20 thousand concurrent jobs per second. What WEB framework is so good? Don't ask who it is, It's tornado.

 

 

Can PYTHON be self-taught?

Of course you can, you can learn everything on your own, on the premise that you can learn it. If you have seen N or more cainiao embark on the road of self-study, what else can they do if they can learn anything else? I can't do it myself at home? PYTHON is a scripting language, but it won't happen if you look at it yourself. There may be only two types of people to say this, one being a master, and the other being a SB. For a master, he must have been familiar with other languages. In this case, it is easy to learn PYTHON by self-study. When I first came into contact with PYTHON a few years ago, the Code encountered problems, I found a developer who helped debug the program. After debugging the program for more than ten minutes, I did not write any PYTHON code before. Why, if you have mastered one course, you can learn it by yourself. However, if you are a newbie and start to learn your language without any basic knowledge, congratulations. The cainiao will see this article as evidence that they will start to learn their own language from today. If you can make a software by yourself a year later, I want one thousand yuan. Haha, really. Basically, self-learning is a task done by a professional. It is like a musical instrument. I may learn another one by myself, but I didn't have the foundation of music before, and I didn't learn it after my teacher.

 

So I advise students who do not have the foundation and want to learn PYTHON to spend some money to report to a class, take the money and change the time. The time is life. If the money is lost, they can earn more money. Once the time passes, they will never come back, if you do not believe in evil spirits and want to learn it by yourself, I admire your courage, but I will know it by myself.

 

 

After talking so much, I just want to tell new users who are confused about the language they should learn. When you are not good at walking, don't keep thinking about it. I will become a boss in the future, how about opening a BMW? Or start a Mercedes-Benz? Learn to ride a bicycle first...

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.