Looking to the End of the World--From the perspective of financial management, the usability practice of Meituan-Dianping's intelligent payment core transaction system with high availability

Wang Guowei talked about his academic experience in "The Words of the World". He said: In ancient and modern times, those who have achieved great causes and great inquiries must pass through three realms:

The first realm
last night the west wind withered green trees. Go up the tall building alone and look to the end of the world.
In the second realm
, the belt gradually widens and eventually there is no regret, which makes people haggard for Yixiao.
The third realm
looked for him thousands of times in the crowd, and when he looked back, the man was there, where the lights were dim.

In terms of high availability, the three realms are explained as:

The first realm
is to be far-sighted and recognize the path that predecessors have taken, and to summarize and learn from the experience of predecessors as a starting point.
In the second realm
, once the goal has been identified, it has worked diligently to achieve continuous development of high availability in every detail and at every level.
The third realm
In the end, when we have done a lot of things, looking back, I believe that we will have a clearer and deeper understanding of high availability.

  In the article " Usability Practice of Meituan Dianping Smart Payment Core Transaction System ", I mentioned three aspects to develop high availability: the frequency of failures should be low, the scope of failures should be small, and the duration of failures should be short. But I still can't answer a question: Do these things really make high availability? So today I feel like jumping out and looking at this from a financial perspective.

 

Scope:  

  Now overseas investment is slowly emerging. For an individual, does he need to consider overseas investment?

 

Financial Theory

  1> Genetic determinism

  Just like Stanford produces entrepreneurs, MIT produces scientists, and Harvard produces writers. Every individual has his genes. Such as overseas study experience, overseas life experience, overseas work experience, and overseas travel experience, these experiences give them a certain understanding of overseas markets and lay the foundation for whether they choose to invest overseas.

  2>Application scenarios

  A person doing international trade is more likely to consider overseas investment than a person in a community service station. Because at least he will carry out some currency exchange and so on due to the need in the work process. Money in overseas banks is also considered an investment.

  3> Large environment stability

  If domestic policies are stable, most people will not have a sense of urgency. From the perspective of most people, they are more willing to choose domestic investments that are more familiar and convenient to them.

 

financial practice

  Jinger has exchanged foreign currency because she has gone abroad many times. Based on the above theoretical considerations, the most important thing is that foreign banks have no interest, and there is a handling fee for depositing money. In the end, the foreign currency was exchanged back to RMB at a high point, which was regarded as a loss of exchange. A friend wants to invest because a foreign P2P institution has high interest rates and good stability, and the procedures are very strict.

 

 Abstract high availability

  From the perspective of high availability, if we want to build a high-availability platform, what modules should this platform cover? From the point of view of genetic determinism: this system is positioned at the design incubation stage. Other modules will consider whether it conforms to the positioning from factors such as the application scenario and the stability of the large environment, or whether the positioning is necessary to adjust.

 

balance:

  Nowadays, there are many channels and means of financial management. Regular, funds, futures, corporate investment, stocks, real estate speculation and all places to put money. How to balance the benefits and risks?

 

Financial Theory

  1> ROI

  Investment can be divided into two categories: industrial investment and financial investment. People usually say financial investment mainly refers to securities investment. There are three main analysis methods for securities investment: fundamental analysis , technical analysis , and evolutionary analysis . Among them, basic analysis is mainly used in the selection of investment objects, while technical analysis and evolutionary analysis are mainly used in the time and space judgment of specific investment operations. , as an important supplement to improve the validity and reliability of investment analysis.

  2> Risk level

  Risk tolerance, from low to high: A1 (prudent), A2 (robust), A3 (balanced), A4 (aggressive), A5 (aggressive); the corresponding product risk level: R1 ( Cautious), R2 (robust), R3 (balanced), R4 (aggressive), R5 (aggressive). Tip: Only buy products with the same or lower risk level as your own. At present, various financial products online have a risk assessment, and you can only buy products with the same or lower risk level as your own.

  3>Inflation

  The price level in a given economy generally continues to increase over a given period of time, resulting in a sustained decline in the purchasing power of money.

  4>Extra income

  For example, I gave a little money to the large children's entertainment city downstairs, so Xiaoxianrou has a VIP membership card that never expires, and the entertainment facilities are free to play. Moreover, in our time-limited projects such as Castle in the Cloud, other children have to leave every two hours, but Xiao Xianrou is not restricted.

  5> Affordability

   The biggest difference between financial management and investment is a kind of financial management skills, which is often said to make money in a proper way. Risk and effort requirements need to be considered. For example, futures and stocks, on the basis of decentralized investment, if you study carefully, some profits and losses can be calculated, but this requires a lot of energy investment, and for ordinary people, it may affect normal work.

financial practice

   Jinger invested 20,000 yuan and found a friend to help me invest in stocks. Now the annualized interest I get is about 16%. I asked my friends to pay me interest every six months, and the principal continued to be invested. So I have nothing to worry about. In fact, I met this friend through an interview before, and I met them when I went to their company for an interview. Later I heard that he was working on this thing, I specifically asked a brother of mine, his colleague, and the result was: there is no problem with the background, the IBM colleague of my former good friend is obsessed with stock trading, but according to some colleagues who also speculate in stocks, he Stock speculation theory is not very reliable. I just invested a little, and the loss will not have a big impact on my life. It is a support for programmers to start their own businesses [laughing]

Abstract high availability

   High availability must follow the SLA (Service-Level Agreement) service level agreement, which is actually a very engineering problem. Including but not limited to:

  • Software design, coding, testing, go-live and software configuration management levels
  • Personnel skill level of engineers
  • Operation and maintenance management and technical level
  • Data center operation management level
  • Level of management that relies on third-party services
  • infrastructure support
  • Balancing high availability and other aspects of height and field of view

 

Summary and reflections:

  Everything happened for a reason

 

Off topic time:

Hurt

  Every time I take Xiao Xianrou back to her mother's house, Xiao Xianrou always suffers a little injury, the most serious one being a dislocated shoulder. My mother died when Xiao Xianrou was 6 months old. The first time I brought him back to his mother's house was to go to a funeral. So every time Xiao Xianrou gets hurt, I think: It's Heaven's mother who is jealous of my father, because she didn't take her family to see her when she was alive, and she clearly loves me so much.

  There is always a bottle of blue-and-white porcelain wine in my bookcase. Every time I touch it, there is no dust. I gave it to my parents 8 years ago.

 

6542

  When I was a child, I used to hear my parents say this name a lot. My father is a pharmacist and my mother is a doctor. 6542 is a medicine developed by the two of them to treat unnamed abdominal pain in children. The reason why it is called 6542 is that they put it into use after 6542 trials. Although they have never applied for a patent, the People's Hospital where they are located has been using it until now. Babies cry because of stomach cramps and cry when they are breastfeeding. After using this medicine, I can sleep peacefully, and my face is flushed and very healthy.

  In fact, my parents often quarrel, and they are very friendly only when I am there and my brother is not there. In my opinion, my brother is a failed experiment of my parents. He is arrogant and willful, and still treats my father as a small treasury. In fact, my brother has now become the deputy mayor, which is not bad. It's just that our views are very different. I have to rely on myself for everything, as for my brother, it depends more on relationships. Regardless of each other.

  But 6542 is a good proof of the parent-mum relationship. There is laughter and pain, but they have always supported and understood each other. That's probably why I'm looking for a programmer

 

 

    Jinger's core areas of focus are technology and high availability. Recently, in the financial sector, I have gained a lot of big-picture, high-level, and methodological gains, and the benefits are huge. However, in view of the work content and energy, the in-depth investment in technology is limited. So I contacted the basic service business group more than a month ago, and introduced my reliable former colleagues to Meituan to take over my job in finance. Jinger has been transferred to the research and development of cluster scheduling based on K8s. Recently, she has been concentrating on coding bricks, hoping to improve the technology.

  Jinger's blog will undergo some revisions in the near future. The articles in the blog garden are only technical dry goods. The "summary and thinking" and "off-topic time" are separated and published separately on their personal public account each time. Later articles also hope that they will be more practical.

  Jinger's personal public number:

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325259049&siteId=291194637