Patent ID: 9686373
Date: 2017-06-20
CPC Classifications: G06F,H04L

Claim:
1. A method of maintaining a connection cache at an intermediate server, the connection cache relating to resource requests from a plurality of devices to a plurality of remote servers, the method comprising: monitoring resource requests addressed to a plurality of the remote servers during a first time period; generating statistics data on the basis of the resource requests monitored during the first time period; establishing a plurality of connections from the intermediate server to a first subset of the plurality of remote servers, the first subset being determined on the basis of the generated statistics data, wherein the statistics data indicates a ranking of the plurality of remote servers based on number or rate of connection requests in respect thereof, and the subset of remote servers is selected on the basis of the ranking; and storing data indicative of the plurality of established connections in a connection cache, wherein the plurality of connections from the intermediate server to the first subset of the plurality of remote servers comprises a plurality of connections from the intermediate server to a first remote server in the plurality of remote servers, wherein the connection cache comprises a data structure which indicates the plurality of established connections from the intermediate server to the first subset of the plurality of remote servers and a plurality of respective status indicators; monitoring resource requests addressed to the plurality of remote servers during a second time period; updating the statistics data on the basis of the resource requests monitored during the second time period; closing a plurality of connections from the intermediate server to a second subset of the plurality of remote servers, the second subset being determined on the basis of the updated statistics data; and modifying the data indicative of the plurality of established connections in the connection cache based on the plurality of closed connections.