01 | highly concurrent systems: its general approach to what is?

 

 

 Ultimately sentence: Evolution highly concurrent system should be gradual, in order to solve the problems in the system and for the purpose of driving force.

 martin fowler like once said monomer can be used to solve the problem, do not adopt distributed. Technology not for technology, the user can divert course distributed request, the system more responsive, but also brings complexity. The ultimate goal is to develop software business interests. Very much agree with the teacher's point of view, Rome was not built in a day. The work of architecture should be phased to address the complexity of the phased system. If the monomer run well, or via scale up cost-controlled way to resolve the situation, do not think of poetry and distant, as inter-process within the system call, certainly faster than between processes on different physical machines called.

Before doing pioneering project also encountered blind optimization problems, the core system of matching and settlement services, beginning only 100 times per second, and later in order to optimize to one million, spent a lot of time researching various options, a lot performance testing, delayed for a long time to market, optimize the final result to less than ten thousand tps, but the result is really behind the line may be less than it 100tps, so the real needs of the market demand is not directed at the outset best of programs to engage in demand than initially anticipated line of the complex, not enough resources and power, never toss, but ready at all times bottlenecks may occur is necessary, lest midnight downtime, Huangde a ratio

Architecture design process to identify the complexity of each stage, there is to do for the architecture design. Avoid excessive increase in costs brought about by design.

 

1. In the evolving technology, the evolution of the purpose and within driving force to solve the existing problems of the system, mostly premature over-design will only delay the development of the system. Everything is to the actual situation and needs, optimize step by step, step by step evolution, individual capacity building is the same reason.
2. Universal method for highly concurrent systems: the level of development, caching, asynchronous. This is only guiding ideology, how to be more clever use is the most attractive.

 

Guess you like

Origin www.cnblogs.com/lakeslove/p/12284135.html