Font Size: a A A

Research On Load Balance Of Micro Service Based On SDN

Posted on:2020-10-26Degree:MasterType:Thesis
Country:ChinaCandidate:S Q PanFull Text:PDF
GTID:2428330623956520Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the maturity of mobile network communication technology and the development of mobile phone,the scale of Internet applications has expanded rapidly.The single architecture faces problems such as difficulty in expansion and difficulty in maintenance.Micro service architecture is a new concept of Internet distributed service design,which split the large system into many independent small ones,micro service architecture can reach a function of decoupling which lead to independent evolution of system.The micro service architecture plays an increasingly important role in the huge system with increasingly complex business requirements.Because of the pressure of deploying a large number of replica nodes to distribute requests in micro-services,it is of practical significance and importance to study load balancing in micro-services.The current micro-service load balancing strategy is relatively simple,and is mainly implemented by the caller.The load balancing of the service node is implemented by means of random call or Round Robin.The network communication between the calling node and the called node is implemented by network load balancing.On the one hand,the choice of the service node is too simple,the maintenance service node can only pass through the registration center,and the service online and offline will affect the call;on the other hand,the network load balancing only considers the network communication between the two nodes,in fact,the micro service Calls mostly cause a series of associated calls,so it is more meaningful to fully investigate the state of the entire link when the service is called to achieve a balanced distribution of the load.The Software Defined Network(SDN)separates the data in the network plane from the control plan,it has a view of global network status,which is flexible to achieve the traffic control of the network,providing a new solution to the load-balancing between the services in micro service architecture.This paper studies the combination of microservices and SDN networks,and utilizes the global network view of SDN and the fine-grained control of network flows to provide finer-grained load balancing capabilities for microservice calls.First,to move the load balancing decision of the microservice to the SDN control plane,the virtual IP and IP rewriting technology is proposed;Then,on this basis,to make a decision of load balancing in a global view,the control plane analyzes the microservice call link,and proposes a load balancing algorithm based on the call link analysis;At last,to avoid over load of microservice system,a traffic limiting policy based on the VLAN and the priority of the flow table is provided to protect the normal operation of the micro service.In order to verify the feasibility and effectiveness of the SDN-based microservice load balancing technology proposed in this paper,the load balancing algorithm is designed and implemented based on the open source SDN controller ONOS,and the microservice RPC framework is designed and implemented based on Thrift.Then we use Mininet and Docker to create an SDN network environment and a micro-service environment for experimentation.The experimental results show that the SDN-based microservice load balancing technology proposed in this paper can effectively improve the availability of microservices and reduce the network latency of microservice calls.
Keywords/Search Tags:SDN, OpenFlow, Micro Service Architecture, ONOS
PDF Full Text Request
Related items