CPC H04L 67/1008 (2013.01) [H04L 45/123 (2013.01); H04L 45/74 (2013.01); H04L 67/02 (2013.01); H04L 67/101 (2013.01); H04L 67/141 (2013.01)] | 20 Claims |
1. A method for intelligent load balancing in a microservice environment, the method being implemented by a load balancer microservice in a first core network node that comprises a plurality of microservices, the method comprising:
receiving a User Datagram Protocol (UDP) packet from a second core network node, wherein the UDP packet comprises a UDP payload, and wherein the UDP payload comprises a higher layer packet that includes session information identifying a session corresponding to the higher layer packet;
creating a Hypertext Transfer Protocol (HTTP) packet for sending the UDP packet between the plurality of microservices in the first core network node;
inserting the UDP payload of the UDP packet into the HTTP payload of the HTTP packet;
adding a cookie comprising the session information to an HTTP header of the HTTP packet; and
causing the HTTP packet to be sent to another microservice in the first core network node via networking components, wherein the microservice comprises a plurality of microservice instances that could receive the HTTP packet, and wherein the session information in the cookie causes the networking components to route the HTTP packet to a microservice instance that is associated with the session corresponding to the higher layer packet in the UDP packet.
|