Micro service, why can accelerate the division of labor, the promotion of cooperation? What skills are trained only qualified architect? How do architects post transition from development?

Know, I know why. In a previous blog post we talked to  the nature of the micro-services  is a new cooperation mechanism, can accelerate the division of labor, promote cooperation, but why is there such a micro-utility service it? Today we talk about the reasons behind it.

Before Internet-based business, we are building IT systems are mostly used for internal employees, mainly used to improve office efficiency and standardize management, as well as to reduce costs through paperless office. But now the Internet has become a vehicle-acquisition, sales and services, compared with the past, changes in business forms faster and faster, but also more diverse. Originally, we long years in the physical world to build defensive walls, such as: advertising channels (such as radio and television or outdoor), the sales network (agents or physical store, etc.), call center, have been bulldozed the Internet instantly, which is totally dimensionality reduction blow.

Industry boundaries become increasingly blurred, more and more cross-border competition intense, in this world there is no natural barrier's winner-take-all really. In this era of great change constantly, then wise manager could have foreseen the development of business, or else all walks of life will not be so many new giants. Like in the two discredit the environment, we can only small steps forward, innovation, and iterative trial and error. Martial arts world but not fast breaking, internal and external pressures dreams, calling for a more elaborate division of labor, more extensive close cooperation, the only way to enhance the speed of evolution, so as to better adapt to the changing external environment.

  • Domain-driven design allows more efficient division of labor

Why is micro-services division can accelerate it? Monolithic architecture is characteristic of different types of business logic mixed together, no clear physical boundary between them, all in maintaining the same code base, the coupling is very high. In the current business needs fast iteration, each version must send the whole amount of regression testing, can not be developed in parallel, making it difficult to increase speed. By means of micro-services that is designed to drive the art (DDD) theory monomers each independently of formula disassembled into a plurality of business components, high cohesion and low coupling, the focus of each respective service component, to avoid the variation range can not be effectively controlled.

In addition, the famous "Conway theory" tells us: organizational structure determines the system architecture, each micro-service component should consist of a small but excellent maintenance team, the most suitable size of the team is the "two pizza" can the number of people eat. By limiting the size of the code and personnel, micro-business service to more focused, more sophisticated division of labor, organization simpler and more efficient communication.

  • Standardized interaction mechanism to make cooperation easier

No division of labor would be no cooperation, if everyone can like, and doing the same work, the need for cooperation that would be lower, more competitive. Why micro-services can contribute to co-operate? The two sides will work together we can abstract into two nodes, the cooperation is to establish a connection between two nodes. In the monolithic era, the interaction between systems there are many protocols, such as: EJB T3, RMI, SOAP, Dubbo, Hessian, etc., with different communications systems need to rely on different protocols, this case study, communication and maintenance costs are high, is not conducive to cooperation. The micro-service unified communications protocol interactions between HTTP, components or systems used in all RESTful API, the message is encoded in JSON format, while the introduction of the service registration, discovery mechanism. These technical ideas are borrowed from the world's largest network of cooperation: the Internet, including Hypertext Transfer Protocol HTTP, Domain Name System DNS. Simple, unified and loosely coupled mechanisms conducive to cooperation.

Therefore, the micro service can help us accelerate the division of labor, and promote cooperation. In the micro-service architecture, software reuse rate higher, parallel R & D is also higher, so at a faster speed of iteration grinding out a better product, at a higher quality property protection around the clock the whole network users, efficient use of resources while more sophisticated, so that our products with better cost advantage. The clouds are cleared, see the essence of micro-services, we find the driving force to learn new technologies.

Of course, the service wants to play micro best results, and must keep the container DevOps cloud binding, other applications depend cloud service is preferably of, for example: a conventional network storage solutions need to NAS cloud storage, and applications and services are associated with elastic scalability, in the case of explosive growth in business volume, the system can quickly expansion, from start to finish without the need to manually expansion. Remember that word: micro-services, is accelerating the division of labor, promote cooperation, let us evolve faster!

坚持原创不易,如果你觉得有价值,麻烦动动手指点下文 「 推荐 」按钮,让更多小伙伴可以看到,老兵哥会更有动力坚持分享的。另外,我后续还会分享职业规划、应聘面试、技能提升、影响力打造等经验,欢迎 关注 本专栏或微信公众号 「 IT老兵哥 」

关注「IT老兵哥」,赋能程序人生

近期热评文章:架构师入门系列

Guess you like

Origin www.cnblogs.com/itlaobingge/p/12195492.html