For programmers, the secret to a high salary is really only two words: “technology.”
Your skills determine your salary and benefits. Great oaks from little acorns grow. Programmers still have to work hard and learn technology to improve themselves. If they write more code, their salary will be greatly improved.
At my former company, there was a former Ali god in the systems development department. Why is he called the great god, because he came to the company a year, did one thing — performance optimization: reduce the number of company servers to half of the original, the result of the system performance index, but also improved a lot! A good system performance tuning not only saves the company money, but also improves system performance. The boss must be happy that the company saved money. Once the boss was happy, he continued to raise his salary and doubled the project bonus. Remember, his salary was more than 5 times mine at that time!
I strive to keep up with the great god, summed up some of his performance optimization experience, to share with you. Generally, the following steps are taken:
1. 2. 3. Verify the conjecture; 4. Locate the problem. 5. Solve problems;
Performance optimization process the same server, the same business code, others to complete the function, the number of concurrent only 500, and you are 2000. If the boss doesn’t give you a raise, who will? In the first-line Internet companies, the content of the interview is often around this.Performance optimization map
But where do you get stuck when you actually do performance tuning? A look at the technical point, as if I also know some, but how can I still not performance optimization? After careful combing, it is not difficult to find that there are the following problems:
First: can’t conjecture. Why you can’t conjecture, it is because your knowledge is not wide, the basic knowledge is not solid. Knowledge is not enough, it leads to the phenomenon, can not ask questions.
Second: difficult to locate the problem; The problem with this is that we can’t use tools, so we need some tools to support our guess. The inability to use tools leads to an inability to substantiate the conjecture.
If you don’t do either of these things properly, performance tuning simply doesn’t work.