2. The more users, such as management side, the side B, C, provide multiple web service (the three major characteristics of Java know, will abstract).
CodePudding user response:
From the point of the problem of the LZ, I think LZ might be a flexible, will only do (or just want to do what they will, unwilling to learn new things, and then complain about something new is not good, this kind of mentality to adjust,Micro service is a trend, the large system into small, small system into small system using RPC calls in each cluster, it's a common architecture
So
1. The service layer made RPC extracted independent deployment internally provided interfaces, all web applications via RPC adjustable service;
Foreign can be a web application, but the internal efficiency of RPC is likely to be higher than the web application (a web connection to create can be very time consuming, the RPC remote call efficiency is akin to a local call), so the cluster internal micro service in order to more efficient with RPC with some appropriate call each other? And then provide an API gateway is a web application,
2. The more users, such as management side, the side B, C, provide multiple web service (the three major characteristics of Java know, will abstract).
If all the client with the same service, the service is out of question, whether all the client can't handle business? Is divided into multiple services, in order to avoid a service is bad, will not affect the other client to use other services, said again, more services are not necessarily more processors, the same program packaged into a jar package by multiple tomcat to use at the same time, each tomcat is a web service, and independent from each other (a bad does not affect the other normal work), three features of abstract this is a Java can solve the problem?
So before talking about the bad not bad, ask yourself if you really understand the meaning of the architecture,
CodePudding user response:
Look at the business requirements and project scale, mixed and disorderly,Object-oriented also is not everything. There's mastercard & otherwise you also didn't what python,
CodePudding user response: