Experience in Data room Charging System

Source: Internet
Author: User

I finally finished debugging the data center charging system yesterday. It took more than 20 days to build a system.


Importance of overall Conception

When I was working on the data center system, I started to do it. I didn't think much about it. I kept thinking about how to design forms and implement so many functions, I did not consider the internal relationship between functions. When I create a table on one side, I will create a table if I do not save the data. In this way, many tables are created, there is no relationship between each table, there is no primary key between tables, etc. When the system reaches the end, data in the previous table needs to be used. It is no longer a form to read data in a table, I feel that the system is a little messy. Without a clear idea, the table is also messy.

This is like an architect who designs a building. If there is no good drawing, he will start to build it. If he wants to build a little, he will build it. If it is a small project, he will be able to combine the functions, very large. In the later stage, the project cannot be constructed. If you do not need to talk about it, you can add a temporary idea, and you may not be able to create any ideas during the construction, how important a good design drawing is. The construction work is done by the workers. No, the engineers do it. From the perspective that the engineers get higher wages than the workers, we can see how important the engineering drawing is.

Similarly, writing code is not more important than designing and Drawing Software Diagrams. Many people write code, but they cannot draw pictures because, to make a good software design drawing, we need to consider a lot of content, including comprehensive, comprehensive, code cross-platform, scalable, portable, and many other aspects. Therefore, we should pay attention to drawing, because, I didn't draw pictures, so I had to do a lot of work and didn't design the system well.

Sharpen the knife without mistake

Mr. Mi once told us this truth. Don't worry, be eager for quick success, and make preparations for everything. In the early stage, do not blindly or rashly plan for the future, the preparation is to determine whether we can do a good job to ensure that we can fight and win only when we have to make full preparations in the early stage, on TV, I often say, "You must have an ideological preparation." It means that preparation is both ideological and material. People's thoughts are always maturing and encounter bad things, as long as you think about it for a few days, there will be an ideological preparation that will not be overwhelmed by unexpected facts. To improve our ability to withstand pressure, the sharpening means to try to make one thing perfect, no matter what, whether it is preparation or supplement. to learn to do things in the future, you need to "Sharpen the knife" first and then "cut firewood ".

The Code has no hierarchy, too much redundancy, and a small entropy value.

After finishing the system, I browsed my own code and thought there were too many duplicate codes. at least 40% of the Code may be repeated, leading to slow system running. I found in the code that, there are also a lot of spaces. spaces are also redundant code, and they are a lot of redundancy. We should remove the spaces to minimize redundancy. in chemistry, the entropy value, it indicates the degree of confusion within a system. The more chaotic the system is, the smaller the entropy value is. Similarly, the entropy value can also indicate the degree of confusion in the Code. The Code I wrote is quite messy, there is no hierarchy, No knot, no order, but random and scattered distribution. However, this is the first system we have independently completed and can be implemented and completed, I am very happy.


Increase confidence

We can say that this system has increased our confidence. In the process of implementing this system, we sometimes want to see if the next function can be implemented. Forget it. Watch the movie for a while. Let's talk about it tomorrow, this is often the case, so the progress is slower and slower. However, such a multi-function is implemented at and you can write your own code. When this project is completed, it is also very confident that nothing can be achieved, but we need to analyze it calmly and seriously. In the process of building a data center system, we have enhanced our ability to solve problems, I often encounter problems. I often want to look for other people, but I can't always look for others. I just try to find a solution to the problem and let myself solve the problem one by one, it increases your confidence in solving problems and improves your ability to solve problems. In the future, you will not be able to ask questions in your salary or society. If you have any questions, you may not know the key questions, I don't know. It's important to be personal.
.


Next step

After listening to Mr. Mi, I felt that our next learning task was a little more than in the first year. In the first year, our learning did not involve any software expertise, there are some ideas or learning methods. The first year is to prepare for the second year. Now we feel like this. We have to learn soft engineering, uml mvc c # software architecture, etc. Although, I still don't know much about it. I want to learn it now. I have finished learning these things in half a year. What I have arranged should be reasonable. I believe that I can do it, you should be able to finish learning and learn.


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.