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

Load balancing web service by rejecting connections

專利號(hào)
US11159406B2
公開日期
2021-10-26
申請(qǐng)人
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.

說明書

A method 600 of managing a server having a dynamic number of processes that can change depending on the work load will now be described with reference to FIG. 6. The steps of the method 600 are the same as for the method 500 for steps 501 and 503-505. However, in response to receiving a TCP request 501, in step 602, the queue manager 133A increments a count of requests that have been received by the server 130. The queue manager 133A can store the count of requests that have been received in the local storage 136A, for example. Then, after the request is placed in the queue 504 or a rejection notification is sent 505, in step 606, the queue manager 133A increments a count of the number of rejections that the queue manager 133A has sent in response to TCP requests. The queue manager 133A can also store the count of rejections in local storage 136A, for example.

In step 607, the rejection rate is determined, for example, by dividing the count of the number of rejections by the total count of the requests that have been received by the server 130A. Alternatively, other techniques for comparing the number of rejections to the number of TCP requests (e.g., received total or within a given time period), or comparing the number of rejections to the number of TCP requests accepted (i.e., added to the queue 134A) can also be used. In one embodiment, the process manager 135A of the server 130A determines the rejection rate by pulling the relevant numbers from local storage 136A.

權(quán)利要求

1
微信群二維碼
意見反饋