Re: URLSession on iOS 10
Re: URLSession on iOS 10
- Subject: Re: URLSession on iOS 10
- From: Jens Alfke <email@hidden>
- Date: Tue, 22 Nov 2016 09:05:08 -0800
On Nov 22, 2016, at 3:17 AM, Rick Mann < email@hidden> wrote:
I had it set to 24. I tried setting it to 4, but I still get the problem.
24 sockets per host seems excessive; opening more sockets obviously doesn’t give you more bandwidth, and the benefit you get from parallelism probably peaks well below that number. You’re also putting more load on the server by consuming 6x as much of its limited pool of available TCP ports, i.e. you’re lowering the number of simultaneous clients the server can handle.
Have you profiled to make sure that you’re actually getting a real benefit (in typical network environments) compared to the more typical 4 or 8 sockets/host?
[I’m not saying this is the cause of your current problem, though.]
—Jens |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden