101 · Question #563
An administrator needs to lower the amount of new TCP connections to help with network congest. How should the administrator accomplish this?
The correct answer is A. Use HTTP keep-alive. HTTP keep-alive (persistent connections) reduces new TCP connection establishment by reusing a single connection for multiple HTTP request/response cycles.
Question
An administrator needs to lower the amount of new TCP connections to help with network congest. How should the administrator accomplish this?
Options
- AUse HTTP keep-alive
- Bset a larger receive window
- CEnable delayed ACKs
- Duse an indefinite timeout
How the community answered
(47 responses)- A89% (42)
- B2% (1)
- C2% (1)
- D6% (3)
Why each option
HTTP keep-alive (persistent connections) reduces new TCP connection establishment by reusing a single connection for multiple HTTP request/response cycles.
HTTP keep-alive instructs both client and server to leave a TCP connection open after a transaction completes, allowing subsequent HTTP requests to reuse that connection instead of performing a new three-way handshake each time. This directly reduces the rate of new TCP connection establishment, which is the primary source of connection-related congestion. It is the standard mechanism for reducing TCP connection churn in HTTP environments.
Increasing the TCP receive window allows more unacknowledged data to be in flight, improving throughput, but it has no effect on the number of new TCP connections being created.
Delayed ACKs reduce the frequency of acknowledgment packets sent per connection but do not prevent or reduce the establishment of new TCP connections.
An indefinite timeout keeps idle connections open longer but does not limit or reduce the creation of new connections and can exhaust server resources.
Concept tested: HTTP persistent connections reducing TCP connection overhead
Source: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive
Topics
Community Discussion
No community discussion yet for this question.