My app has to upload dozens of ~10MB files, and a few ~50K files. It 
prioritizes sending the small files first, and then prioritizes some large 
files over others. It only sends one file at a time, partly because it loads 
the contents into RAM to do the upload, and partly because it was easier to 
code that way.

Can I prioritize in the same way with background NSURLSessions? Obviously, I 
could wait until NSURLSession tells me it has finished one upload before I 
start the next, but it seems like this is neither the desired use, not 
guaranteed to let me keep uploading files in the background (shouldn't I give 
all the files to NSURLSession all at once, to ensure they're all available for 
background uploading)? Will the system take care of limiting how many it 
uploads at a time to maximize throughput? Will it upload them in the order I 
presented them?

Thanks,

-- 
Rick Mann
rm...@latencyzero.com



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (Macnetworkprog@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to