2019 29th Sunday

Modern social division of labor more and more refined, software micro trend of service is one of them, are doing more and more systems related to the module, call link getting longer and longer, more and more difficult to troubleshoot the problem, but with aircraft, automobiles, mobile phones still a lot of simple geometric together, even if we use the most is there are hundreds of mobile phone parts assembly, the idea of ​​collaborative management of their related components inside each person may be we are now among the micro-service software collaboration a reference for management.

 

For questions micro-services applications link tracking, Google published a paper in 2010, "Dapper, a Large-Scale Distributed Systems Tracing Infrastructure", this article is the theoretical basis of the industry benchmark and achieve link tracking, with a very large reference value. Currently there are Google link tracking component of Dapper, Twitter's Zipkin, and Ali Eagleeye (Hawkeye), etc., which are very good link tracking open source components.

 

The actual project Ruoyi introduced Spring Could sleuth package, the default output traceId, spanId and other content in the print log, if it is a call with Spring Could sleuth service will automatically pass traceId
This transfer operation traceId similar, within the service or to use more ThreadLocal the MDC, the general request header is transmitted in or at the url parameter micro distributed services.

 

A distributed service tracking system consists of three parts:
data collection
data storage
data demonstration
Depending on the size of the system, each structural part has a certain variation. For example, for large-scale distributed systems, data storage, real-time data can be divided into two parts and the whole amount of data, real-time data for troubleshooting (Trouble Shooting), the full amount of data for system optimization; support platform-independent data collection in addition to and independent of development language data collection system, further comprising an asynchronous data collection (need to track message queue, ensure the continuity of the call), and ensuring less invasive; display data also involves data mining and analysis. Although each part can become very complex, but the basic principles are similar.

 

Permutations and combinations to make us understand the actual probability of the world around us, how things are sorted, and how should we think about these things.
In 1913, at the Monte Carlo casino. When roulette 26 times in a row to fall a black area, a group of gamblers and therefore the loss of millions of dollars. Who were present agreed that the next time will fall on the red zone. Every fall the black area, they would think more likely to fall red zone. We refer to this error is called the Monte Carlo fallacy (or the gambler's fallacy) - assuming that previous results will affect the future results.
In fact, future results is also independent. In other words: It is assumed that a random process becomes less random, and with the continuous repetition is more easily predicted.
Amos Tversky and Daniel Kahneman believes this way of thinking is part of the "typical heuristics", they pointed out that the more we believe we can control random events, I might be more gamblers fallacy the defeat.
Compounding is a very important, very bottom of the model, Matthew, critical point effect, and so the marginal cost of diminishing mental model can be derived from this model.
Money is not the only area of ​​the compounding effect of the action will take place, thinking thoughts and emotional relationships as well. In the physical realm, compounding growth will be limited by physical conditions, resulting in diminishing returns; and in the invisible realm, compound growth of more freedom. Compounding also led to the time value of money, which is the basis of modern finance.
Meaning the principle of compound interest is to be expressed:
1, compounding periods within the small seemingly insignificant little progress or regress, in time, the body will produce unimaginable tremendous progress or regress.
2, be patient work, the time as a friend.
3, do not overestimate your year to make things, do not underestimate what you can to make things five years.

 

Immersive mind flow conditions require:
1, clear objectives, proper difficulty of the task - neither anxiety nor boring.
2, timely feedback - on the progress of satisfaction. Why is the game so popular, is designed to meet the flow theory of the game, if the expanded definition of the game, to study, work, sports, education, include it, to assess whether they are doing things to meet the three-point heart flow, so life will be over happiness.
3, some play to their ability
4, complete mental focus, what the opponent has control
Heart flow state is the most beautiful, most peaceful state we can achieve at work, a new state of mind flow from one heart will flow state, those who can successfully enrich their lives into a simple heart flow state. Their life in various parts tightly connected together, all the activities have a meaning.
We have to follow the general trend of doing things, from trough to crest, the crest to reach the turnaround they have time to adjust the direction of a person's energy is insignificant in the face of enormous energy trend. The first is to follow the direction of maximum energy of waves indicated.
The study also shows that each exchange, most people usually only remember each other's tone and demeanor gives the impression, your body language, will account for 93% of overall impression. Pay attention to these, it is to enhance effective social key ring.
Then how do we train your body language? A mirror to practice it? Author gives a better training methods: recording video. Every record two or three minutes, and then, like a movie, like observation, video voice, demeanor, body movements carefully understand, pay attention to one of the most attractive in their place, and which pose looks unnatural, needs to be improved. Video can repeat playback, pause, you can show it to others pointing.

Guess you like

Origin www.cnblogs.com/doit8791/p/11220215.html