BACKGROUNDWAN optimization vendors have been able to accelerate TCP-based traffic. However, UDP-based traffic is not currently afforded the same acceleration options due to perceived complexities. There exists a need for accelerating UDP traffic with a minimum of system configuration.
BRIEF DESCRIPTION OF THE DRAWINGSThe accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate various embodiments. In the drawings:
FIG. 1 is an illustration of an operating environment for embodiments described herein;
FIG. 2 is a flow chart of embodiments for accelerating UDP traffic;
FIG. 3 is an illustration of an operating environment for embodiments described herein;
FIG. 4 is an illustration of an operating environment for embodiments described herein;
FIG. 5 is a flow chart of embodiments for accelerating UDP traffic;
FIG. 6 is a flow chart of embodiments for accelerating UDP traffic;
FIG. 7 is a block diagram of a network computing device.
DESCRIPTION OF EXAMPLE EMBODIMENTSOverviewConsistent with embodiments of the present disclosure, systems and methods are disclosed for the acceleration of traffic based on User Datagram Protocol (“UDP”).
It is to be understood that both the foregoing general description and the following detailed description are examples and explanatory only, and should not be considered to restrict the application's scope, as described and claimed. Further, features and/or variations may be provided in addition to those set forth herein. For example, embodiments of the present disclosure may be directed to various feature combinations and sub-combinations described in the detailed description.
DETAILED DESCRIPTIONThe following detailed description refers to the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the following description to refer to the same or similar elements. While embodiments of this disclosure may be described, modifications, adaptations, and other implementations are possible. For example, substitutions, additions, or modifications may be made to the elements illustrated in the drawings, and the methods described herein may be modified by substituting, reordering, or adding stages to the disclosed methods. Accordingly, the following detailed description does not limit the disclosure. Instead, the proper scope of the disclosure is defined by the appended claims.
Prior arts systems have proposed optimizing UDP traffic by first establishing a Generic Routing Encapsulation (“GRE”) tunnel through system configuration. The GRE tunnel may run between two end points and all UDP traffic may be partially optimized on a per-packet basis and sent through the GRE tunnel. Forward Error Correction (“FEC”) may be used to handle packet loss.
This manual configuration of tunnels between two end points has several disadvantages. As the number of end points in the system grows, the configuration and maintenance of the established tunnels becomes extremely laborious and complex. For solutions requiring high availability, such an approach may quickly become prohibitive due to the increased cost and complexity as an N to N ratio solution will be employed to allow high availability.
Embodiments of the present disclosure remedy many of the prior art's deficiencies through the dynamic establishment of TCP tunnels or UDP tunnels as the traffic flows from a source to a destination device. As the present approach is dynamic, the operational complexities are drastically reduced/eliminated. Furthermore, high availability systems become much easier to implement as present embodiments are dynamic and adapt to the traffic flow.
Some embodiments of the present disclosure accelerate UDP traffic through auto-discovery.FIG. 1 illustrates a sample operating environment for embodiments of UDP acceleration. Aclient device110 may be communicating across a network to aserver190. On the network path, there may reside a plurality of network devices, such asrouter120 androuter140.
Router120 may be in communication with a network device, such asnetwork device130. In some embodiments,network device130 may be running optimization software such as Wide Area Application Services (“WAAS”). Similarly,router140 may be in communication with a network device, such asnetwork device150. Again,network device150 may be a WAAS optimization device.
FIG. 2 is a flow chart illustrating embodiments of UDP acceleration through the use of a dynamic tunnel.Method200 may begin atstep210 whereclient110 may send traffic with a destination ofserver190.Client110 may send traffic that contains a plurality of UDP data packets such as UDP data packet160 and UDP data packet170.
Atstep220,router120 may redirect detected UDP packets. Alternatively, in some embodiments, the UDP packets may be intercepted directly by an inline device similar tooptimization device130. When the first UDP packet arrives atoptimization device130,method200 may proceed to step230.
At step230,optimization device130 may generate a TCP syn packet using the UDP packet header. The UDP packet header may contain the IP address of thesending client110, thedestination server190, as well as IP address information and port identification information. The generated syn packet, such assyn packet310, illustrated inFIG. 3 may have the same source (client110), destination (server190) IP address, and port number as the original UDP packet.syn packet310 may then be marked for WAAS auto-discovery. In some embodiments, various discovery options may be included in the marking. The marking may be included as an option field within the packet.
Method200 may continue to step240. At step240, the generated TCPsyn packet310 may be sent back tonetwork device120 along with the UDP data packets such as UDP data packet160 and UDP data packet170. The TCP option field onsyn packet310 may be used for auto-discovery and also to indicate to the remote optimization devices (e.g., WAAS optimization device150) that thepacket310 is a “generated” packet.
Next, atstep250, the UDP packets may be sent across the network towardsdestination server190 fromnetwork device120 tonetwork device140. Subsequently, atstep260 SYNpacket310 may be sent from thedestination server190 to generate a response.
If atstep260,destination server190 may send a RST, such as RST320,method200 may proceed tostep270 where the optimization device closest to destination server190 (in this case, optimization device150) may drop the RST and generate a SYN-ACK packet by converting theSYN packet310 into a SYN-ACK packet. In some embodiments, discovery options may be added to the SYN-ACK packet before forwarding it along.
If atstep260,destination server190 sends a SYN-ACK, the remote optimization devices may add options to the packet. This approach is similar to TCP auto-discovery.
The SYN-ACK (whether generated by an optimization device or sent from destination server190) may be dropped by the optimization device that originally sentsyn packet310. The options on the SYN-ACK may indicate which remote optimization device is closest to thedestination server190. The optimization device that originally createdsyn packet310 may then create a TCP state for the connection. This TCP state may contain the original client and server IP addresses, which further increases the transparency of embodiments in this disclosure.
In some embodiments, the options added to the SYN-ACK may contain the IP addresses of the optimization devices. With this information a TCP tunnel or UDP tunnel may be established between the optimization devices and transparency may be lost. Atstep280, the SYN-ACK packet may traverse through the network and reach the optimization device closer to the source.
Atstep285, auto-discovery has completed, and a TCP connection (or tunnel), such astunnel410 illustrated inFIG. 4 has been established,method200 may proceed to step290. Atstep290, any UDP packets, such as UDP data packets160 and170, travelling fromclient110 toserver190 will be tunneled through the TCP connection. As such, any potential packet loss over the network (WAN) may be handled with TCP protocols.
In some embodiments, if there is no optimization device on the other side,syn packet310 may then be sent todestination server190.Destination server190 will subsequently sent a RST packet, such asRST packet405. The optimization device will subsequently drop the RST and stop auto-discovery. The optimization device will also subsequently stop attempting to optimize the connection for a certain duration. If UDP traffic persists, auto-discovery may be attempted after a time-out.
In some embodiments,destination server190 may send a SYN-ACK packet with no other optimization device in the path, the originating optimization device will receive the SYN-ACK with no options. The optimization device may then generate a RST sent todestination server190. This auto discovery may occur within the UDP data flow, so there is no data loss as the original UDP packets continue to flow betweenclient110 andserver190.
Method200 may finally proceed to step295. Atstep295, the TCP connection (tunnel) may be torn down. It should be noted that if the optimization device chooses to establish a UDP tunnel there may be no need to perform a tear down. In some embodiments, the tear down may be triggered after reaching a predetermined period of inactivity.
FIG. 5 is a flow chart illustrating some embodiments of UDP acceleration.Method500 may begin at step510 where a packet may be intercepted using inline interception or redirection using known redirection methods such as PBR and WCCP.Method500 may then proceed to step520 where a first packet may be received at an optimization device. The optimization device may generate a SYN packet and perform auto discovery as discussed with regards toFIG. 2.
During auto discovery, the following UDP packets may be buffered until such time that the buffer reaches capacity. If the auto-discovery is completed prior to the buffer reaching capacity, thenmethod500 proceeds to step530. Atstep530, all of the UDP packets may be optimized and sent through the created TCP connection.
If the auto discovery did not complete before the buffer reaches capacity,method500 may proceed to step540. Atstep540, UDP packets may be sent unoptimized from the buffer until auto-discovery completes.
FIG. 6 is a flow chart illustrating some embodiments of UDP acceleration using a static tunnel.Method600 may begin atstep610 where a static TCP tunnel may be established between two optimization devices. Next, at step620, UDP packets may be intercepted using inline interception or redirection using known redirection methods such as PBR and WCCP.
Method600 may then proceed to step630 where since the TCP tunnel is established between two optimization devices, the UDP packets may be encapsulated into TCP after applying appropriate optimization.
FIG. 7 is a block diagram of a system includingnetwork device700. Consistent with embodiments of the present disclosure, the aforementioned memory storage and processing unit may be implemented in a network device, such asnetwork device700 ofFIG. 7. Any suitable combination of hardware, software, or firmware may be used to implement the memory storage and processing unit. For example, the memory storage and processing unit may be implemented withnetwork device700 or any ofother network devices718, in combination withnetwork device700. The aforementioned system, device, and processors are examples and other systems, devices, and processors may comprise the aforementioned memory storage and processing unit, consistent with embodiments of the present disclosure.
With reference toFIG. 7, a system consistent with embodiments of the present disclosure may include a network device, such asnetwork device700. In a basic configuration,network device700 may include at least oneprocessing unit702, a secure processing unit for decryption720, and asystem memory704. Depending on the configuration and type of network device,system memory704 may comprise, but is not limited to, volatile (e.g., random access memory (RAM)), non-volatile (e.g., read-only memory (ROM)), flash memory, or any combination.System memory704 may includeoperating system705, one ormore programming modules706, and may includeprogram data707.Operating system705, for example, may be suitable for controllingnetwork device700's operation. Furthermore, embodiments of the present disclosure may be practiced in conjunction with a graphics library, other operating systems, or any other application program and is not limited to any particular application or system. This basic configuration is illustrated inFIG. 7 by those components within a dashedline708.
Network device700 may have additional features or functionality. For example,network device700 may also include additional data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape. Such additional storage is illustrated inFIG. 7 by aremovable storage709 and a non-removable storage710. Computer storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data.System memory704,removable storage709, and non-removable storage710 are all computer storage media examples (i.e., memory storage.) Computer storage media may include, but is not limited to, RAM, ROM, electrically erasable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store information and which can be accessed bynetwork device700. Any such computer storage media may be part ofdevice700.Network device700 may also have input device(s)712 such as a keyboard, a mouse, a pen, a sound input device, a touch input device, etc. Output device(s)714 such as a display, speakers, a printer, etc. may also be included. The aforementioned devices are examples and others may be used.
Network device700 may also contain acommunication connection716 that may allowdevice700 to communicate withother network devices718, such as over a network in a distributed network environment, for example, an intranet or the Internet.Communication connection716 is one example of communication media. Communication media may typically be embodied by computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and includes any information delivery media. The term “modulated data signal” may describe a signal that has one or more characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media may include wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media. The term computer readable media as used herein may include both storage media and communication media.
As stated above, a number of program modules and data files may be stored insystem memory704, includingoperating system705. While executing onprocessing unit702 or secure processing unit for decryption720,programming modules706 may perform processes including, for example, one ormore method200,500 and600's stages as described above. The aforementioned process is an example; processingunit702 and secure processing unit for decryption720 may perform other processes.
Generally, consistent with per-subscriber stream management according to embodiments of this invention, program modules may include routines, programs, components, data structures, and other types of structures that may perform particular tasks or that may implement particular abstract data types. Moreover, embodiments may be practiced with other computer system configurations, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, and the like. Embodiments of the present disclosure may also be practiced in distributed network environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed network environment, program modules may be located in both local and remote memory storage devices.
Furthermore, embodiments of the present disclosure may be practiced in an electrical circuit comprising discrete electronic elements, packaged or integrated electronic chips containing logic gates, a circuit utilizing a microprocessor, or on a single chip containing electronic elements or microprocessors. Embodiments may also be practiced using other technologies capable of performing logical operations such as, for example, AND, OR, and NOT, including but not limited to mechanical, optical, fluidic, and quantum technologies. In addition, embodiments of the invention may be practiced within a general purpose computer or in any other circuits or systems.
Embodiments of the present disclosure, for example, may be implemented as a computer process (method), a network system, or as an article of manufacture, such as a computer program product or computer readable media. The computer program product may be a computer storage media readable by a computer system and encoding a computer program of instructions for executing a computer process. The computer program product may also be a propagated signal on a carrier readable by a network system and encoding a computer program of instructions for executing a computer process. Accordingly, aspects may be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). In other words, embodiments of the present disclosure may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. A computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
The computer-usable or computer-readable medium may be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. More specific computer-readable medium examples (a non-exhaustive list), the computer-readable medium may include the following: an electrical connection having one or more wires, a portable computer diskette, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, and a portable compact disc read-only memory (CD-ROM). Note that the computer-usable or computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
Embodiments of the present disclosure, for example, are described above with reference to block diagrams and/or operational illustrations of methods, systems, and computer program products according to embodiments of per-subscriber stream management. The functions/acts noted in the blocks may occur out of the order as shown in any flowchart. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
While certain embodiments of the present disclosure have been described, other embodiments may exist. Furthermore, although embodiments have been described as being associated with data stored in memory and other storage mediums, data can also be stored on or read from other types of computer-readable media, such as secondary storage devices, like hard disks, floppy disks, or a CD-ROM, a carrier wave from the Internet, or other forms of RAM or ROM. Further, the disclosed methods' stages may be modified in any manner, including by reordering stages and/or inserting or deleting stages, without departing from the invention.
While the specification includes examples, the invention's scope is indicated by the following claims. Furthermore, while the specification has been described in language specific to structural features and/or methodological acts, the claims are not limited to the features or acts described above. Rather, the specific features and acts described above are disclosed as example for embodiments of the present disclosure.