![]() Jrebel install registration#They need the corresponding ip, port number - hostname + IP + port number.The Eureka framework is what helps us register this information.Eureka gets the server name registration from the list of services and calls the server remotely through Netflix Fegin (and other tools) however, as mentioned earlier, there are always strikes on the server, so you can't be tough about making requests at this time.So you need the client's load balancing Ribbon to decide and then call the available services.Then the result is returned and the View is rendered. Each service has its own name, but getting the list is not enough. Clients need to get the list of services first. The three services want to do load balancing (the front end in the red box is payment, replication forgot). This is called load balancing, also known as load balancing for the client.Voting with Clients The front end can request from more than one background and work in turn. The user initiates a request on the front-end page, the front-end acts as a messenger, and requests from the back-end, that is, the real officer is the back-end service.When a service is too busy, it needs more than one background service. The whole large module is divided into smaller modules, which are called micro-services.Īs a result, microservices can be divided into three directions:ĭemand-oriented dimension: application dimension These dependencies are extracted into modules based on their functions, with only a single function, such as order services, payment services, etc. Local dependencies fail when online, and RPC (Remote Service Call) is required to invoke dependencies in common dependencies when financial systems need resources in common dependencies.įinancial services invoke mall services: web services (soap, wsdl, cxf), which solves this dependency problem, but at this time there is a new problem: how do you know if the mall's services hang up when finance makes a request to mall services, or if network problems cause a delay in response?And so on.This is a strong dependency problem.Depends on package tuning. SOA, which packages two projects separately to form separate services Turn the two projects into a war package that contains all the resources needed in the project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |