- In intranet, the network is good
- Server A will send lots of files to server B by http service at the same time
- Http protocol is HTTP 1.1, which uses persistent connection by default
- [update] Use a connection pool to hold 100 connections
- [update] One connection sends a file at one time
- [update] Onnection will not be closed(persistent connection), and will be reused to send next file
- Each file has size of 7K to 30K
Question:
In the above condition, will persistent connection have better performance than non-persistent connections?
I ask this question because we found the connections would be blocked for a huge long time when upload files. I suggest to use non-persistent connection, since I think it's more stable, but my colleage inisit to use persistent connection, because he think persistent has better performance.
UPDATE
See the updated question, thank you ~