Hey eskimo, thank you for the input! Unfortunately, we require support for iOS 9 and above, therefore BackgroundTasks is not something we are able to do at the moment. Backend changes (decrease chunk count, archiving files before downloading etc) are possible but would be a last resort.
Another solution that I had considered was to pre-create all the tasks before allowing the user to background the app, and then start around 5000 tasks all at once, with HTTPMaximumConnectionsPerHost = 5.
Would this solution be viable? Is there some sort of cap on the number of queued-up tasks that nsurlsessiond can take?
Topic:
App & System Services
SubTopic:
Core OS
Tags: