Load balancing service for servers of a web farm
First Claim
Patent Images
1. A load balancing server for balancing servers in a web farm, the load balancing server comprising:
- a processor;
memory;
computer code loaded into the memory for performing functions of the load balancing server, wherein the load balancing server;
receives a client request as a sequence of client TCP packets;
translates the sequence of client TCP packets to a server in a set of the servers in the web farm; and
translates a response of the server as a sequence of server TCP packets back to the client,wherein the load balancing server calculates a checksum for a header of the client TCP packet;
calculates a checksum for a header of the translated TCP packet having a new destination address; and
generates a new checksum for the translated TCP packet, the translated TCP packet including a header and payload, the new checksum being generated by linear operations on the checksum for the client TCP packet, the checksum for the header of the client TCP packet and a checksum for the header of the translated TCP packet,wherein the validity of the TCP packet, before and after translation, is preserved without additional verification.
10 Assignments
0 Petitions
Accused Products
Abstract
A system for maximizing the efficiency of a load balancing server for an asymmetric web farm utilizes a TCP stack and data packets to send and receive client service requests. An internal buffer enables each web server in the web farm to balance their loading based on the contents of the client service request. Data switching between the address portion of the user space and the address portion of the kernel space within the load balancing server is eliminated.
25 Citations
19 Claims
-
1. A load balancing server for balancing servers in a web farm, the load balancing server comprising:
-
a processor; memory; computer code loaded into the memory for performing functions of the load balancing server, wherein the load balancing server; receives a client request as a sequence of client TCP packets; translates the sequence of client TCP packets to a server in a set of the servers in the web farm; and translates a response of the server as a sequence of server TCP packets back to the client, wherein the load balancing server calculates a checksum for a header of the client TCP packet; calculates a checksum for a header of the translated TCP packet having a new destination address; and generates a new checksum for the translated TCP packet, the translated TCP packet including a header and payload, the new checksum being generated by linear operations on the checksum for the client TCP packet, the checksum for the header of the client TCP packet and a checksum for the header of the translated TCP packet, wherein the validity of the TCP packet, before and after translation, is preserved without additional verification. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A method for balancing load of servers in a web farm, the method comprising:
-
receiving a client request as a sequence of client TCP packets; translating the sequence of client TCP packets to a server in a set of servers in the web farm; and translating a response of server as a sequence of the server TCP packets back to the client; calculating a checksum for a header of the client TCP packet; calculating a checksum for a header of the translated TCP packet having a new destination address; generating a new checksum for the translated TCP packet, the translated TCP packet including a header and payload, the new checksum being generated by linear operations on the checksum for the client TCP packet, the checksum for the header of the client TCP packet and a checksum for the header of the translated TCP packet; wherein the validity of the TCP packet, before and after translation, is preserved without additional verification.
-
Specification