Home > Back-end >  Java service related
Java service related

Time:12-04



Currently in development from monomer to the service architecture transformation, a great god bother to popularize the micro service principle diagram and what is the difference between monomer development?

CodePudding user response:

Suggest to make the best Google baidu first imagine better basic knowledge, is the world trend points for BHP, close long will points,
In simple terms, the service is to make the original integrated system into the small, small system through the way of service to provide the interface between calls, so to facilitate maintenance upgrade, and lateral expansion performance,
, for example, the traditional way of working is all employees work in concentrated work in an office, the office + all employees is a big system, the need for collaboration between employees just to say hello (the equivalent of local method calls), if the office to decorate a company (or network failure), all employees will be shut down, after waiting for office decoration or troubleshooting can continue to work to work, also is the system upgrade or malfunction are affected as a whole system,
Now more popular telwork (telecommuting), every employee working in the home, each employee working from home is equivalent to a service, collaboration between employees is not to say hello, but make a phone call or send a mail, and you have to abide by the micro service specification, such as the employees don't have to mobile phone, then you have to use the mail, so, even if an employee's home decoration (or home network fault), shall not affect other employees work (as long as the other employees don't work with the problem of employee), namely individual micro service upgrade or out of order, other service basic is not affected, still can provide the service,
May this example wasn't right, but this was probably will,
Transverse expansion, as for the performance that is easier to understand, if A traffic, micro service can be deployed more separately A few A service (for cluster is simple it can be done), but also can use load balancing to scheduling services, improve reliability, etc.,
Anyhow is micro service, flexible, convenient to solve the disadvantages of a single system, especially the cloud services and the development of the network, the service is more suitable for the short term rapid mode of agile,


  • Related