System and method to balance servers based on server load status
First Claim
1. A method for balancing servers by a service gateway comprising:
- receiving, by the service gateway, a first service request from a host, the service request including a first Uniform Resource Locator (URL) associated with at least one server of a plurality of servers, each URL of URLs being individually resolved to a primary server configured to process the URL and a secondary server configured to process the URL, each server of the plurality of servers being configured as one of primary servers and one of secondary servers for different URLs such that any given server resolves as a primary server for a first given URL and resolves as a secondary server for a second given URL, the service gateway being configured to automatically select, for each URL of the URLs, the primary server configured to process the URL for processing service requests associated with the URL;
determining that a first server is the primary server configured to process the first URL and a second server is the secondary server configured to process the first URL;
based on the determining that the first server is the primary server, selecting the primary server associated with the first URL to process the first service request;
receiving a service response from the primary server, the service response including a server status indicating a computing load status of the primary server;
obtaining the server status from the service response; and
using the server status from the service response to determine whether the first server is available to process a second service request including a URL associated with at least one server.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system, and computer program product for balancing servers based on server load status, include: receiving from a server a service response to a service request, the service response including a result from a processing of the service request and a server status indicating a computing load status of the server; obtaining the server status from the service response; receiving a next service request from a host, the next service request comprising a Uniform Resource Locator (URL); determining that the server is configured to process the URL; determining whether the server status indicates that the server is available to process the next service request; and in response to determining that the server status indicates that the server is available to process the next service request, sending the next service request to the server.
-
Citations
20 Claims
-
1. A method for balancing servers by a service gateway comprising:
-
receiving, by the service gateway, a first service request from a host, the service request including a first Uniform Resource Locator (URL) associated with at least one server of a plurality of servers, each URL of URLs being individually resolved to a primary server configured to process the URL and a secondary server configured to process the URL, each server of the plurality of servers being configured as one of primary servers and one of secondary servers for different URLs such that any given server resolves as a primary server for a first given URL and resolves as a secondary server for a second given URL, the service gateway being configured to automatically select, for each URL of the URLs, the primary server configured to process the URL for processing service requests associated with the URL; determining that a first server is the primary server configured to process the first URL and a second server is the secondary server configured to process the first URL; based on the determining that the first server is the primary server, selecting the primary server associated with the first URL to process the first service request; receiving a service response from the primary server, the service response including a server status indicating a computing load status of the primary server; obtaining the server status from the service response; and using the server status from the service response to determine whether the first server is available to process a second service request including a URL associated with at least one server. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory computer readable storage medium having embodied thereon instructions, the instructions being executable by a processor to perform a method for balancing servers, the method comprising:
-
receiving, by the service gateway, a first service request from a host, the service request including a first Uniform Resource Locator (URL) associated with at least one server of a plurality of servers, each URL of URLs being individually resolved to a primary server configured to process the URL and a secondary server configured to process the URL, each server of the plurality of servers being configured as one of primary servers and one of secondary servers for different URLs such that any given server resolves as a primary server for a first given URL and resolves as a secondary server for a second given URL, the service gateway being configured to automatically select, for each URL of the URLs, the primary server configured to process the URL for processing service requests associated with the URL; determining that a first server is the primary server configured to process the first URL and a second server is the secondary server configured to process the first URL; based on the determining that the first server is the primary server, selecting the primary server associated with the first URL to process the first service request; receiving a service response from the primary server, the service response including a server status indicating a computing load status of the primary server; obtaining the server status from the service response; and using the server status from the service response to determine whether the first server is available to process a second service request including a URL associated with at least one server. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A system comprising:
- a processor; and
a memory coupled to the processor, the memory storing instructions, the instructions being executable by the processor to perform a method for balancing servers, the method comprising;receiving, by the service gateway, a first service request from a host, the service request including a first Uniform Resource Locator (URL) associated with at least one server of a plurality of servers, each URL of URLs being individually resolved to a primary server configured to process the URL and a secondary server configured to process the URL, each server of the plurality of servers being configured as one of primary servers and one of secondary servers for different URLs such that any given server resolves as a primary server for a first given URL and resolves as a secondary server for a second given URL, the service gateway being configured to automatically select, for each URL of the URLs, the primary server configured to process the URL for processing service requests associated with the URL; determining that a first server is the primary server configured to process the first URL and a second server is the secondary server configured to process the first URL; based on the determining that the first server is the primary server, selecting the primary server associated with the first URL to process the first service request; receiving a service response from the primary server, the service response including a server status indicating a computing load status of the primary server; obtaining the server status from the service response; and using the server status from the service response to determine whether the first server is available to process a second service request including a URL associated with at least one server. - View Dependent Claims (16, 17, 18, 19, 20)
- a processor; and
Specification