This disclosure relates in general to the field of computer networks and, more particularly, pertains to segment routing for load balancing.
In modern computer networks, dedicated load balancers are used to balance work across multiple processing nodes, such as computers, Virtual Machines (VMs, etc., so that individual processing nodes are not overloaded or underutilized. While load balancers provide balance, they can also create a bottleneck and require that integration, calibration and configuration. Accordingly, improvements are needed.
Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be obvious from the description, or can be learned by practice of the herein disclosed principles. The features and advantages of the disclosure can be realized and obtained by means of the instruments and combinations particularly pointed out in the appended claims. These and other features of the disclosure will become more fully apparent from the following description and appended claims, or can be learned by the practice of the principles set forth herein.
Disclosed are systems, methods, and non-transitory computer-readable storage media for segment routing for load balancing. A network path identification device can receive a first service request identifying a first service. The first service request can originate from a first client device. The network path identification device can select, from a Source Routing (SR) list, a first service node to provide the first service and a first network path to reach the first service node. The SR list can include a set of service nodes that provide the service and one or more network paths to reach each service node from the set of service nodes. The network path identification device can then transmit a response message to the first service request. The response message can identify the first service node and the first network path so that the first client device can use the first network path to request the first service from the first service node.
The above-recited and other advantages and features of the disclosure will become apparent by reference to specific embodiments thereof which are illustrated in the appended drawings. Understanding that these drawings depict only exemplary embodiments of the disclosure and are not therefore to be considered to be limiting of its scope, the principles herein are described and explained with additional specificity and detail through the use of the accompanying drawings in which:
Various embodiments of the disclosure are discussed in detail below. While specific implementations are discussed, it should be understood that this is done for illustration purposes only. A person skilled in the relevant art will recognize that other components and configurations may be used without parting from the spirit and scope of the disclosure.
The disclosed technology addresses the need in the art for segment routing for load balancing. A network path identification device can be configured to receive service requests from client devices and/or proxy devices operating on behalf of a client device, and select a service node to service the request as well as a network path to reach the service node. The network path can identify a set of nodes in a network that can be traversed to reach the selected service node. The network path identification device can provide a response message including the selected service node and network path. A client device can use the network path to reach the selected service node, which can provide the client with the requested service.
A computing device can be any type of general computing device capable of network communication with other computing devices. For example, a computing device can be a personal computing device such as a desktop or workstation, a business server, or a portable computing device, such as a laptop, smart phone, or a tablet PC. A computing device can include some or all of the features, components, and peripherals of computing device 500 of
To facilitate communication with other computing devices, a computing device can also include a communication interface configured to receive a communication, such as a request, data, etc., from another computing device in network communication with the computing device and pass the communication along to an appropriate module running on the computing device. The communication interface can also be configured to send a communication to another computing device in network communication with the computing device.
As shown, system 100 includes 5 computing device: client device 102, network path identification device 104 and service nodes 106, 108 and 110. Although only 5 computing devices are shown, this is just one example and not meant to be limiting. System 100 can include any number of computing devices, including any number of client devices, network path identification devices or service nodes.
Client device 102 can be configured to transmit a service request to network path identification device 104. A service request can be a request that identifies a specified service that can be provided by one of service nodes 106, 108 and 110. In response to receiving a service request, network path identification device 104 can select one of service nodes 106, 108 and 110 to service the request. For example, network path identification device 104 can maintain a Source Routing (SR) list that lists service nodes that can service requests, as well as one or more network paths to reach each service node. A network path can include a set of networking nodes that can be traversed to reach the specified service node. Network path identification device 104 can search the SR list to identify a set of service nodes capable of servicing a specific service request (e.g., service nodes 106, 108 and 110) and select one of the service nodes to service the service request as well as a network path to reach the selected service node.
Network path identification device 104 can select a service node and network path in any know way. For example, network path identification device 104 can rotate selection of service nodes and network paths in a round robin fashion. Additionally, network path identification device 104 can monitor performance of the service nodes and select service nodes based on available bandwidth, resource usage, etc. In this way, network path identification device 104 can balance load amongst the various service nodes as well as the network paths at the network level, without use of a traditional load balancer.
After selecting a service node and network path to service a service request, network path identification device 104 can transmit a response message to client device 102 that identifies the selected service node and network path. For example, the response message can be an MPLS or IPv6 address encoded with the network path to reach the selected service node. Client device 102 can then use the response message (e.g., MPLS or IPv6 address) to communicate with the selected service node.
To provide additional load balancing, in some embodiments, the response message can include data identifying multiple service nodes and/or network paths. For example, network path identification device 104 can select multiple service nodes and network paths and provide them to client device 102 in reply to a service request (e.g., two or more IPv6 addresses). Client device 102 can then alternate between the various service nodes and network paths to receive a specified service. For example, network path identification device 104 can provide client device 102 with two or more IPv6 addresses and client device 102 can alternate use of the IPv6 addresses to request service form a service node.
Additionally, network path identification device 104 can be configured to periodically provide client device 102 with an updated service node and/or network path for a requested service. For example, after initially providing client device 102 with a service node and network path, network path identification device 104 can periodically select an updated service node and/or network path and provide them to client device 102. Client device 102 can then utilize the updated service node and/or network path to access the specified service, thereby balancing load across the available service nodes.
As in some embodiments, network path identification device 104 can monitor performance of the service nodes and network paths and provide client device 102 with an updated service node and/or network path for a specified service based on the monitored performance. For example, network path identification device 104 can determine that an alternate service node and/or network path would be best suited for providing client device 102 with a requested service and transmit data to client device 102 identifying the alternate service node and/or network path, such as an updated IPv6 address.
In some embodiments, client device 102 can be configured to transmit service requests to network path identification device 104 to receive an updated service node and/or network path to provide a service. For example, client device 102 can be configured to periodically transmit service requests to network path identification device 104 to receive an updated service node and/or network path to provide a service. As another example, client device 102 can transmit a service request for an updated service node and/or network path upon detecting network latency with an existing service node and/or network path.
At step 402, a network path identification device can receive a first service request identifying a first service. The first service request can originate from a first client device. For example, the first service request can be transmitted to the network path identification device directly from the first client device or, alternatively, via a client proxy device.
At step 404, the network path identification device can select, from a Source Routing (SR) list, a first service node to provide the first service and a first network path to reach the first service node. The SR list can include a set of service nodes that provide the service and one or more network paths to reach each service node from the set of service node. The network path identification device can identify a set of service nodes that can provide the selected service and then select the first service node from the set of service nodes. The network path identification device can then select the first network path from a set of network paths that can be used to reach the first service node.
At step 406, the network path identification device can transmit a response message to the first service request. The response message can identify the first service node and the first network path. For example, the response message can include an IPv6 address that can be used to reach the first service node via the first network path. The first client device can then use the first network path to request the first service from the first service node.
To enable user interaction with the computing device 500, an input device 545 can represent any number of input mechanisms, such as a microphone for speech, a touch-sensitive screen for gesture or graphical input, keyboard, mouse, motion input, speech and so forth. An output device 535 can also be one or more of a number of output mechanisms known to those of skill in the art. In some instances, multimodal systems can enable a user to provide multiple types of input to communicate with the computing device 500. The communications interface 540 can generally govern and manage the user input and system output. There is no restriction on operating on any particular hardware arrangement and therefore the basic features here may easily be substituted for improved hardware or firmware arrangements as they are developed.
Storage device 530 is a non-volatile memory and can be a hard disk or other types of computer readable media which can store data that are accessible by a computer, such as magnetic cassettes, flash memory cards, solid state memory devices, digital versatile disks, cartridges, random access memories (RAMs) 525, read only memory (ROM) 520, and hybrids thereof.
The storage device 530 can include software modules 532, 534, 536 for controlling the processor 510. Other hardware or software modules are contemplated. The storage device 530 can be connected to the system bus 505. In one aspect, a hardware module that performs a particular function can include the software component stored in a computer-readable medium in connection with the necessary hardware components, such as the processor 510, bus 505, display 535, and so forth, to carry out the function.
Chipset 560 can also interface with one or more communication interfaces 590 that can have different physical interfaces. Such communication interfaces can include interfaces for wired and wireless local area networks, for broadband wireless networks, as well as personal area networks. Some applications of the methods for generating, displaying, and using the GUI disclosed herein can include receiving ordered datasets over the physical interface or be generated by the machine itself by processor 555 analyzing data stored in storage 570 or 575. Further, the machine can receive inputs from a user via user interface components 585 and execute appropriate functions, such as browsing functions by interpreting these inputs using processor 555.
It can be appreciated that exemplary systems 500 and 550 can have more than one processor 510 or be part of a group or cluster of computing devices networked together to provide greater processing capability.
For clarity of explanation, in some instances the present technology may be presented as including individual functional blocks including functional blocks comprising devices, device components, steps or routines in a method embodied in software, or combinations of hardware and software.
In some embodiments the computer-readable storage devices, mediums, and memories can include a cable or wireless signal containing a bit stream and the like. However, when mentioned, non-transitory computer-readable storage media expressly exclude media such as energy, carrier signals, electromagnetic waves, and signals per se.
Methods according to the above-described examples can be implemented using computer-executable instructions that are stored or otherwise available from computer readable media. Such instructions can comprise, for example, instructions and data which cause or otherwise configure a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions. Portions of computer resources used can be accessible over a network. The computer executable instructions may be, for example, binaries, intermediate format instructions such as assembly language, firmware, or source code. Examples of computer-readable media that may be used to store instructions, information used, and/or information created during methods according to described examples include magnetic or optical disks, flash memory, USB devices provided with non-volatile memory, networked storage devices, and so on.
Devices implementing methods according to these disclosures can comprise hardware, firmware and/or software, and can take any of a variety of form factors. Typical examples of such form factors include laptops, smart phones, small form factor personal computers, personal digital assistants, and so on. Functionality described herein also can be embodied in peripherals or add-in cards. Such functionality can also be implemented on a circuit board among different chips or different processes executing in a single device, by way of further example.
The instructions, media for conveying such instructions, computing resources for executing them, and other structures for supporting such computing resources are means for providing the functions described in these disclosures.
Although a variety of examples and other information was used to explain aspects within the scope of the appended claims, no limitation of the claims should be implied based on particular features or arrangements in such examples, as one of ordinary skill would be able to use these examples to derive a wide variety of implementations. Further and although some subject matter may have been described in language specific to examples of structural features and/or method steps, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to these described features or acts. For example, such functionality can be distributed differently or performed in components other than those identified herein. Rather, the described features and steps are disclosed as examples of components of systems and methods within the scope of the appended claims.
This application claims priority to U.S. provisional application No. 62/326,628, filed on Apr. 22, 2016, which is expressly incorporated by reference herein in its entirety
Number | Date | Country | |
---|---|---|---|
62326628 | Apr 2016 | US |