Comments (3)
Unfortunately I'm pretty sure this will require fixing the Google Drive APIs (or bypassing them and doing the POST directly through Go's http library. (Assuming that doesn't end up buffering things...))--a while ago I did some experiments trying to rate-limit uploads by implementing an io.Reader that did rate-limiting and then using that for the Files.Update() call; unfortunately, the Drive API implementation ended up draining that locally into a copy before starting the upload.
But this is absolutely worth fixing!
from skicka.
The rate-limited upload commit reduces the number of full copies of the file in memory by 1 at least. This also lays framework for completely avoiding buffering in memory, though I'm going to first try to get chunked uploads working, which should be more robust to auth tokens expiring in the middle of large uploads, etc.
from skicka.
This is fixed with 8a54979 and 032f6b4. (Woo woo).
from skicka.
Related Issues (20)
- Request: skicka static binaries for Android (ARMv7) HOT 2
- Feature request: Add the ability to search for files and then download them.
- Skicka Encrypt/Decrypt
- How to download shared files/folders? HOT 3
- Regex HOT 1
- show owner email for files (possibly in `ls`) HOT 1
- Build Error HOT 2
- Unable to build skicka on raspberry pi HOT 1
- Cannot get OAuth HOT 8
- no progress output when launched from launchd HOT 1
- Why skicka is so slow? HOT 1
- Use G Suite account HOT 1
- Unable to build skicka because of grpc-go error HOT 1
- Skicka
- This app is blocked HOT 7
- How to upload files to shared folder?
- suffix but doesn't have IV property
- Deleted client error HOT 2
- t read Username
- readme: "go get" no longer how to install a command
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skicka.