• 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: Rick Mann <email@hidden>
  • Date: Wed, 23 Nov 2016 13:44:50 -0800

> On Nov 23, 2016, at 08:16 , 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. We can arbitrarily bump the data timeout to hide this issue but we don't like that for other reasons.

Yeah, I mentioned this in one of my replies in this thread. It seems the URLSessionConfiguration.timeoutIntervalForRequest is not per-request, in that the timer seems to start as soon as the task is resumed, not when the task request is actually issued over the wire. I can see that interpretation making some sense, but in practice it's not particularly useful, I think.

I wrote a bug about this (22064437) over a year ago (July 2015), and it was marked a duplicate of (20976043, a million bugs earlier*), which is still open.

*Does anyone know if Radar increments bug IDs by one? They do seem to be monotonically increasing, but it's astonishing, the rate at which bug numbers increase.

--
Rick Mann
email@hidden



 _______________________________________________
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