Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Experiment with Multithreading #21

Closed
DavidBerdik opened this issue Jan 25, 2020 · 1 comment
Closed

Experiment with Multithreading #21

DavidBerdik opened this issue Jan 25, 2020 · 1 comment
Assignees
Labels
experiment This issue is an experimental idea for improving the project and may be scrapped

Comments

@DavidBerdik
Copy link
Owner

The main bottleneck for InfiniDrive is interacting with the Google Drive API. It may be possible to alleviate this problem by running several uploads in parallel across several threads.

This should be considered experimental and not something that should absolutely be done, as rate-limiting errors are more likely and may make it not worth the effort.

@DavidBerdik DavidBerdik added the experiment This issue is an experimental idea for improving the project and may be scrapped label Jan 25, 2020
@DavidBerdik DavidBerdik self-assigned this Jun 16, 2020
@DavidBerdik
Copy link
Owner Author

Based on my experimentation with multithreading, it appears that my initial belief that Google's rate limits for the Drive API would make multithreading useless are correct.

@maitreerawat - As we discussed, you are welcome to experiment with multithreading if you have any ideas for how to strike a balance between improved performance and not getting rate-limited, however, unless you do, I am going to consider this experiment finished and will now close this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
experiment This issue is an experimental idea for improving the project and may be scrapped
Projects
None yet
Development

No branches or pull requests

1 participant