multipart-post icon indicating copy to clipboard operation
multipart-post copied to clipboard

File upload is relatively slow

Open xiconet opened this issue 11 years ago • 1 comments

Sir, Although this is not really an issue, at least not a major one, I would like to report that file upload is relatively slow , approximately only one third of my maximal connexion speed (which is attained when using for instance Firefox). This is on a machine running WinXP(sp3) and Ruby 1.9. I used the code you provide as an example with two slight modifications: sslv3 and a custom header containing an Oauth2 "access token". Note that I previously noted that "streamed" multi part uploads with Python were somewhat slower than when the file is loaded in memory, but not to the same extend. Do you have any idea of how upload could be made faster while avoiding high memory usage?

xiconet avatar May 03 '14 05:05 xiconet

Thanks for your feedback.

This might be a general ruby performance issue, but it's certainly something we should look into. Do you mind trying again with latest 2.0 release?

ioquatix avatar May 03 '17 00:05 ioquatix