Re: Doing request rate limiting with NSURLSession
Re: Doing request rate limiting with NSURLSession
- Subject: Re: Doing request rate limiting with NSURLSession
- From: Sebastien Boisvert <email@hidden>
- Date: Wed, 10 Oct 2018 12:56:04 -0400
> On Oct 10, 2018, at 2:49 AM, Quinn The Eskimo! <email@hidden> wrote:
>
>
> If a request takes longer than 1/32 sec to complete, what should happen?
>
Then the request should take as long as it needs, and complete whenever it
does; but I don’t see how that’s
relevant to limiting the rate of requests, unless it might affect how the
session processes other tasks to the
same service.
However I wouldn’t want to force the server to idle in order to keep a
connection open for a specific amount
of time, and ideally I’d still want to allow multiple concurrent connections to
the service on the session, simply
separated to a minimum delay between the requests the server receives.
_______________________________________________
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