• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: URLSession on iOS 10
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: URLSession on iOS 10
      • From: Rick Mann <email@hidden>
    • Re: URLSession on iOS 10
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
References: 
 >URLSession on iOS 10 (From: Rick Mann <email@hidden>)
 >Re: URLSession on iOS 10 (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: URLSession on iOS 10 (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: URLSession on iOS 10 (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: URLSession on iOS 10
  • Next by Date: Re: URLSession on iOS 10
  • Previous by thread: Re: URLSession on iOS 10
  • Next by thread: Re: URLSession on iOS 10
  • Index(es):
    • Date
    • Thread