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

Load balancing web service by rejecting connections

專利號(hào)
US11159406B2
公開(kāi)日期
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.

說(shuō)明書(shū)

Referring to FIG. 3, each server of the server pool 139 has a queue 134A. The queue 134A is a location storing an ordered list of TCP requests waiting to be processed by the server 130A. In one embodiment, the servers 130A-D of the server pool 139 are configured, for example by setting the ListenBacklog parameter in Apache, so that each server has a low queue capacity. In a standard Linux kernel, the ListenBacklog can be set at the lowest to 1. A queue capacity of 1 means that the server only accepts a request if it is able to begin processing the request as the next task. Otherwise, the server sends a rejection notification so that the load balancer 120 can send the request to another server that can process the request as its next task. This results in the best response time performance.

A queue capacity of 1 is preferred in some implementations, but queue capacities higher than 1 (e.g., 2) can also be used depending in part on the number of servers in the server pool 139 and the expected workload on them. Alternatively, a queue capacity of 0 may be preferred for servers that support such configuration. A queue capacity of 0 means that the queue accepts new requests only when a process is known to be ready to accept new work.

權(quán)利要求

1
微信群二維碼
意見(jiàn)反饋