HTTP persistent connections are the idea of using the same TCP connection to send and receive multiple HTTP requests/responses, as opposed to opening a new one for every single request/response pair. Using persistent connections is very important for improving HTTP performance.
There are several advantages of using persistent connections, including:
- Network friendly. Less network traffic due to fewer setting up and tearing down of TCP connections.
- Reduced latency on subsequent requests. Due to avoidance of the initial TCP handshake
- Long-lasting connections allow TCP sufficient time to determine the congestion state of the network, thus reacting appropriately.
Ex. configurations how to use HTTP persistent connections is BW (edit bwengine.tra)
bw.plugin.http.client.usePersistentConnectionManager=true bw.plugin.http.client.maxTotalConnections=200 bw.plugin.http.client.maxConnectionsPerHost=20 bw.plugin.http.client.ResponseThreadPool=50 bw.plugin.http.client.ResponseThreadPool.type=single/default bw.plugin.http.client.checkForStaleConnections=true
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now