• 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: Wed, 23 Nov 2016 11:47:08 -0800


On Nov 23, 2016, at 8:16 AM, Shawn Erickson <email@hidden> wrote:

We throttle for 3 main reasons. 1) Starting many requests - in our experience - results in a far higher likelihood of requests randomly timing out. It seems like the timeout starts ticking relative to creation of the task - possibly initial resume - and not after some internal throttling takes place. That makes firing off a large number of requests a little to non deterministic.

I’ve run into the same problem, and also use throttling to avoid it. (However, this was several years ago; I would hope this would have been fixed by now. Pretty sure I filed a Radar at the time.)

To be precise: the behavior I saw is that if you set a timeout on an NSURLRequest, start the request, and if after that interval the request hasn’t actually been sent over the wire yet, the request will fail with a timeout error. If you queue up requests faster than the session can send them, this is a real problem.

—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

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>)
 >Re: URLSession on iOS 10 (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: URLSession on iOS 10 (From: Rick Mann <email@hidden>)
 >Re: URLSession on iOS 10 (From: Shawn Erickson <email@hidden>)
 >Re: URLSession on iOS 10 (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: URLSession on iOS 10 (From: Shawn Erickson <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