白丝美女被狂躁免费视频网站,500av导航大全精品,yw.193.cnc爆乳尤物未满,97se亚洲综合色区,аⅴ天堂中文在线网官网

Load balancing web service by rejecting connections

專利號
US11159406B2
公開日期
2021-10-26
申請人
Facebook, Inc.(US CA Menlo Park)
發(fā)明人
Robert M. English; Jeffrey Rothschild
IPC分類
H04L12/26; G06F9/50; H04L12/911
技術(shù)領(lǐng)域
server,balancer,queue,130a,tcp,requests,rejection,load,in,request
地域: CA CA Menlo Park

摘要

A load balancer allocates requests to a pool of web servers configured to have low queue capacities. If the queue capacity of a web server is reached, the web server responds to an additional request with a rejection notification to the load balancer, which enables the load balancer to quickly send the rejected request to another web server. Each web server self-monitors its rejection rate. If the rejection rate exceeds a threshold, the number of processes concurrently running on the web server is increased. If the rejection rate falls below a threshold, the number of processes concurrently running on the web server is decreased.

說明書

The primary port 131A is the port through which the load balancer 120 communicates TCP requests to the server 130A. As discussed above, in one embodiment, if a particular TCP request has been rejected more than a threshold number of times from various servers in the pool 139, the load balancer 120 sends the TCP request to an alternate port, i.e., the secondary port 132A of a server 130A. In one embodiment, the TCP request sent to the secondary port receives priority treatment, such as being placed in another queue (not shown) that is processed ahead of the normal queue 134A, or being placed at the front of the normal queue 134A. In another embodiment, TCP requests received through the secondary port 132 are not rejected, regardless of how full the queue 134A is. In one implementation, the queue manager 133A holds the TCP request received through the secondary port 132A until a space opens in the queue 134A into which the TCP request can be placed. In another embodiment, requests sent to the secondary port are placed in a secondary queue that is equally treated by the server 130A. The presence of a request in the secondary queue is taken as a strong signal by the server 130A that additional processes are needed in order to accept more requests from the load balancer 120.

權(quán)利要求

1
微信群二維碼
意見反饋