Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploads #1

Closed
jyounus opened this issue Nov 4, 2017 · 9 comments
Closed

Uploads #1

jyounus opened this issue Nov 4, 2017 · 9 comments

Comments

@jyounus
Copy link

jyounus commented Nov 4, 2017

Hey,

Just wondering if you'd consider adding an upload functionality with most of the benefits you've currently got when downloading with Digger (resume even when the user quits the app etc)?

@ilyailya
Copy link

ilyailya commented Nov 4, 2017

Hi, @jyounus!
I had a research about background uploading recently. It's more complicated than download.
For example you have large (i.e. 200 tasks) amount of background upload tasks. Some of them would complete, but time between start of each task would grow. And once next task wouldn't start at all. It's because the way iOS deal with networking.
Big guys like Dropbox use silent pushes and other hacks (like listening to user location change and firing new upload task on change) to upload large amount of data in background.

@jyounus
Copy link
Author

jyounus commented Nov 4, 2017

How would this work if you only had a small amount of file uploads? Let's say max of 10? Would that still apply in that case? Or does this all depend on how large the files are that one would upload?

@ilyailya
Copy link

ilyailya commented Nov 4, 2017

I believe it depends on amount of data in each task and maybe on type of connection (2ifi of cellular). Only way to be sure is to make a test app for this case.

Here some links about this:
Dropbox approach
My stackoverflow question
Some blogpost with general thoughts

@jyounus
Copy link
Author

jyounus commented Nov 4, 2017

Ah okay, so unless there's better support for upload tasks from Apple, there's not much we can do. :(

Thanks for the info, will close this ticket.

@jyounus jyounus closed this as completed Nov 4, 2017
@Rashesh-Bosamiya
Copy link

Rashesh-Bosamiya commented Nov 6, 2017

I appreciate your hard work for this open source library.
I just gave upvote on your stackoverflow question.

Thanks.

@cornerAnt
Copy link
Owner

@Rashesh-Bosamiya about uploads?

@cornerAnt
Copy link
Owner

@jyounus @ilyailya Is there a good solution about uploads?

@cornerAnt cornerAnt reopened this Nov 7, 2017
@Rashesh-Bosamiya
Copy link

I am talking in general about this library. Your work, research & development and your efforts to create this library.

@cornerAnt
Copy link
Owner

@Rashesh-Bosamiya No sweat. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants