The Operation reform hands, do not ask need to learn Python!!!

Source: Internet
Author: User

Often people in the group ask, OPS personnel need not learn to develop? Do you need to learn python? What is the difference between Python and shell? Every day to ask this kind of good water problem, I really can't stand, decided to help everyone sweep literacy, beg for novelty hand, don't ask his mother blindly.
At this stage, master a development language has become a high-level operations engineer of the necessary energy, will not be developed, you can not fully understand the business process of your system, you can not help debug, optimize the development of human development programs, developers sometimes pay little attention to performance issues, these problems have to be operations and maintenance personnel to do, a business on-line , causing the CPU to use too much, memory is too large, if you do not develop, you may only find the process level, that is, which process consumes so much, then? And then to the developers to deal with, so how to reflect your value?
In addition, the larger companies, servers are hundreds of, thousands, even tens of thousands of units, in this case how to do automated operation and maintenance? Write a script for loop with Shell? Oh, rest, the shell is also suitable for simple system management work. To complex automation tasks, you have to use a dedicated development language. You may have said that the automation management has specialized open source software \ Monitor also has, the direct use is good, but the existing open source software such as Puppet\saltstack\openstack\zabbix\nagios and so on is common software, cannot completely apply your company's all needs, What do you do when you need to make a custom, two-time development? Looking for the development department? The development department does not understand the actual operational logic of operations, write out of the rotten rotten can not be used, I also do operation and maintenance system, 6 years working experience, the first version of the development of the same rotten, this is still understand the operation of business logic, let developers to do, run may be more, That's why I've seen a lot of companies develop their own operations platforms and finally throw that away.
Second, will not be operational development, you can not write the operation and maintenance platform \ Complex operations tools, all to find some open-source software to patchwork together, if so, please do not complain about your low salary, your work is not subject to the * *, saying that someone else on Facebook a maintenance engineer tube 20,000 machines, OPS Engineer Annual salary of a hundred thousand of USD, you think someone is covered? Which is not great talent, the development of operations and maintenance both?
Why do you learn python?
Python first is a very cow B scripting language, to meet the vast majority of automated operation and maintenance needs, but also can do the backend C/s architecture, and can use the web framework to quickly develop a high-speed web interface, only when you have the ability to make a set of operation and maintenance automation system, your value is reflected, You have the right to talk to your boss, or you can go back and install the machine.
DevOps development Why use Python?
Good question, why not Php,java, C++,ruby, here I can only say, see people see Wisdom, if you happen to have mastered in addition to Python other languages, then you love use what, if you are not even the shell is not written to understand the novice, want to learn a language , please use Python, for what? First of all, PHP is the most than Python, in fact, they do not have to compare, why? Two languages applicability is different, PHP is mainly suitable for web development, can quickly make small and medium-sized, lightweight web sites, but back-end, basic or other languages, with what language? The SHELL? Python? Oh. And Python, is a comprehensive language, both front and back can be, single take out than the Web, also a little less than PHP, but why the web direction of PHP than Python to fire? Preconceptions, PHP 90 's birth is to do the web, PYTHON2000 years after the advent of the web framework, but on the degree of excellence, Python's web framework basically out of its left, at least with PHP.
What about Java? Well, a bloated, mean, no new language, or honestly use it to do ERP bar, make a transport Wilianping platform, with Java really no need, in my opinion, Java is a stable middle-aged man, stable \ mature \ Bald, and Pytohn represents the youth, concise \ Fast \ clean \ Handsome!
C++\c, this well, I can only say, if you will be Python, and C, then you will be more popular, but not C, in fact, there is no major obstacle, basically do the operation of the people, to engage in C is to install B, because most of the situation you can not see the level of the system's underlying source, However, if you learn Python, it is recommended that you learn C + +, after all, compared to the dynamic language of Python, C + + efficiency is much higher, but for beginners, not recommended as the first language to start learning, why? Combat self-confidence .... Oh, you know.
Ruby, small Japanese developed, also good, style and python a bit like, because Ruby onrails out of the name, foreign use of more, domestic, rest assured, no, Python has its imagination of the space has been accounted for dead.
Of course, there is a new language go, some operations to see the development of the people to go, also want to join in the fun, think is the future, I want to say, do not blindly follow the trend, go again success, will not become operational development language.
Some people think that python efficiency bottom, said he can not support multi-threading, OH, OK, this is a little bit right, but I want to ask, see me this article has a few have done search engine development? How many concurrent Web sites do you develop for billions of PV? How many have seen the Linux kernel source code? If not, please don't blindly follow the biography, know why Python does not support multithreading? This sentence is wrong, in fact, Python supports multi-threading, but does not support multi-CPU multi-threading, that is, a program spawn out of multithreading can only occupy a CPU, but why? Oh, because Gil,gil is something, please self-brain ... But do you have to use multithreading? You can use multi-process Ah, then cow b you can also use the Pytohn, these support are very good ah, if your program logic is not good, a multi-threading also quickly not up. I know a doctor told a sentence, I feel good, he said, the program efficiency, 80% is the person who wrote the program decided, the language itself accounted for 20%, so the next time someone say that python efficiency is low, please let him go back to check their own procedures more how much useless logic, loops and so on. The Doctor himself wrote a Python Web program, a server can handle billions of requests per day, a second concurrency of nearly 20,000, what web framework so bull B? Don't ask who it is, it's called Tornado.
Can python teach itself?
Of course, what can be self-taught, the premise is that you have to learn will, see more than N rookie on the Road of self-study, his mother can learn anything, what do you do with the university? Do you have a turtle at home? It is very easy to say that Python is a scripting language, you can see it will not be, say that there are only two kinds of people, one is a master, one is SB, for the master, he must have been other languages, Python in this case, self-study of course it is easily learned, a few years ago when I first contact Python, Code encountered problems, found a development of the Buddies to help debug, the man helped tune for more than 10 minutes to fix, the result of someone else before a Python code has not written, why, because the language has the same place, a master well, the other door of their own learning will be. But for beginners, without any language foundation to start self-study, then congratulate you, rookie see this article for proof, starting from today, self-study, a year later, if you can make a software, come to me to ask for 1000 dollars. Haha, really. Basically self-study is a professional to do things, like a musical instrument, their own learning may learn another door, but I did not have the basis of music, followed by the teacher did not learn the guitar.
So the advice does not have the basis and want to learn Python students, spend some money to report a class to learn it, take money for time, time is life, money has no more money, time passed will never come back, if you do not superstitious, do not have to learn, then I admire your courage, but you have to try to know.
One question: Why do zero-based self-study programmers, mostly halfway?
http://www.zhihu.com/question/21423201
Of course there is no absolute thing, my big celestial ox x people more go, many people can also self-taught programming, finally become a master, my python is self-taught, but I can say that the process of self-study through the N-pit good, many times tangled in a simple small problem on a few days are stuck, At that time if not because of job requirements, estimated to give up early, this is Python, do not say other complex language, I believe that in addition to a small number of Daniel, most people are not smarter than I go to, choose self-taught with shoes, all the way to treasure.
Said so much, just want to tell those who are confused to learn what language of the novice, in you have not learned to walk, do not always think, in the future I become the boss, I am driving a BMW? Or drive a Mercedes? Learn to ride a bike first ...
Finally borrowed from a foreign Python Daniel said, life is short,you need python! Life is short, I use Python.

Transferred from: http://bbs.chinaunix.net/thread-4146648-1-1.html

The Operation reform hands, do not ask need to learn Python!!!

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.