Systems and methods for connection pooling for video streaming in content delivery networks
First Claim
1. A method for connection pooling in a content delivery network (CDN) by a proxy server, the method comprising:
- receiving, from a client, a request for media content;
sending, to a control server, a query to locate an origin media server having the media content if the media content is cache-missing;
receiving, from the control server, information regarding the origin media server having the media content requested by the client;
determining whether to use connection pool between a proxy server and the origin media server or to use a caching server to accommodate the request for the media content;
forwarding the request for the media content to the origin media server having the media content using a first reusable connection or a newly created connection in the connection pool between the proxy server and the origin media server if the connection pool between a proxy server and origin media server is available;
selecting a caching server from a plurality of caching servers according to a weighted sum of available end-to-end bandwidth between each caching server and the origin media server and according to a number of idle reusable connections in a connection pool between each caching server and the origin media server if the connection pool between the proxy server and the origin media server is not available, the available end-to-end bandwidth between the proxy server and the origin server is below a first threshold, or a number of used reusable connections between the proxy server and the origin media server exceed a second threshold; and
redirecting, to the selected caching server, the request for media content if the bandwidth of a reusable connection from a pool of the reusable connections between the proxy server and the origin media server is below a threshold and a reusable connection from a pool of the reusable connections between the caching server and the origin media server is unoccupied.
1 Assignment
0 Petitions
Accused Products
Abstract
System and methods for connection pooling for video streaming in content delivery networks (CSNs) are provided. An embodiment method for connection pooling in a content delivery network (CDN) by a proxy server includes receiving, from a client, a request for media content, sending, to a control server, a query to locate an origin media server having the media content if the media content is cache-missing, receiving, from the control server, information regarding the origin media server having the media content requested by the client, and forwarding the request for the media content to the origin media server having the media content using a reusable connection from a pool of the reusable connections between the proxy server and the origin media server if the reusable connection is unoccupied.
6 Citations
24 Claims
-
1. A method for connection pooling in a content delivery network (CDN) by a proxy server, the method comprising:
-
receiving, from a client, a request for media content; sending, to a control server, a query to locate an origin media server having the media content if the media content is cache-missing; receiving, from the control server, information regarding the origin media server having the media content requested by the client; determining whether to use connection pool between a proxy server and the origin media server or to use a caching server to accommodate the request for the media content; forwarding the request for the media content to the origin media server having the media content using a first reusable connection or a newly created connection in the connection pool between the proxy server and the origin media server if the connection pool between a proxy server and origin media server is available; selecting a caching server from a plurality of caching servers according to a weighted sum of available end-to-end bandwidth between each caching server and the origin media server and according to a number of idle reusable connections in a connection pool between each caching server and the origin media server if the connection pool between the proxy server and the origin media server is not available, the available end-to-end bandwidth between the proxy server and the origin server is below a first threshold, or a number of used reusable connections between the proxy server and the origin media server exceed a second threshold; and redirecting, to the selected caching server, the request for media content if the bandwidth of a reusable connection from a pool of the reusable connections between the proxy server and the origin media server is below a threshold and a reusable connection from a pool of the reusable connections between the caching server and the origin media server is unoccupied. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method for connection pooling in a content delivery network (CDN) by a proxy server, the method comprising:
-
receiving, from a client, a request for media content; sending, to a control server, a query to locate an origin media server having the media content if the media content is cache-missing; receiving, from the control server, information regarding the origin media server having the media content requested by the client; selecting a caching server from a plurality of caching servers according to a weighted sum of available end-to-end bandwidth between each caching server and the origin media server and according to a number of idle reusable connections in a connection pool between each caching server and the origin media server; and redirecting, to the selected caching server, the request for media content if the bandwidth of a reusable connection from a pool of the reusable connections between the proxy server and the origin media server is below a threshold and a reusable connection from a pool of the reusable connections between the caching server and the origin media server is unoccupied. - View Dependent Claims (16, 17, 18)
-
-
19. A proxy server in a content delivery network (CDN), comprising:
-
a client network interface configured to receive a request for media content from a client; a processor operably coupled to the client network interface, the processor configured to determine that the media content is cache-missing, and determine whether to use connection pool between a proxy server and an origin media server or to use a caching server to accommodate the request for the media content, wherein the processor is further configured to select a caching server from a plurality of caching servers according to a weighted sum of available end-to-end bandwidth between each caching server and the origin media server and according to a number of idle reusable connections in a connection pool between each caching server and the origin media server if the connection pool between the proxy server and the origin media server is not available, the available end-to-end bandwidth between the proxy server and the origin server is below a first threshold, or a number of used reusable connections between the proxy server and the origin media server exceed a second threshold; a control server network interface operably coupled to the processor, the control server network interface configured to send a query to a control server to locate an origin media server having the media content if the media content is cache-missing and to receive information from the control server regarding the origin media server having the media content; and an origin media server network interface operably coupled to the processor, the origin media server network interface configured to forward the request for the media content to the origin media server having the media content using a reusable connection or a newly created connection in the connection pool between the proxy server and the origin media server if the connection pool between a proxy server and origin media server is available. - View Dependent Claims (20, 21, 22, 23)
-
-
24. A method for connection pooling in a content delivery network (CDN) by a control server, the method comprising:
-
receiving a query from a proxy server to locate an origin media server having media content requested by a user; selecting a caching server from a plurality of caching servers according to a weighted sum of available end-to-end bandwidth between each caching server and an origin media server and according to a number of idle reusable connections in a connection pool between each caching server and the origin media server if the connection pool between the proxy server and the origin media server is not available, the available end-to-end bandwidth between the proxy server and the origin server is below a first threshold, or a number of used reusable connections between the proxy server and the origin media server exceed a second threshold; and sending an indication of the selected caching server to the proxy server.
-
Specification