Commit graph

5 commits

Author SHA1 Message Date
https://www.google.com/accounts/o8/id?id=AItOawnWvnTWY6LrcPB4BzYEBn5mRTpNhg5EtEg
2a1a21cb08 IMHO: there is no multipart parameter in the source but partsize (I don't speek Haskell, sorry) as of now. 2014-12-08 17:27:06 +00:00
Joey Hess
8faeb25076 finish multipart support using unreleased update to aws lib to yield etags
Untested and not even compiled yet.

Testing should include checks that file content streams through without
buffering in memory.

Note that CL.consume causes all the etags to be buffered in memory.
This is probably nearly unavoidable, since a request has to be constructed
that contains the list of etags in its body. (While it might be possible to
stream generation of the body, that would entail making a http request that
dribbles out parts of the body as the multipart uploads complete, which is
not likely to work well..

To limit this being a problem, it's best for partsize to be set to some
suitably large value, like 1gb. Then a full terabyte file will need only
1024 etags to be stored, which will probably use around 1 mb of memory.
2014-11-03 16:04:55 -04:00
Joey Hess
fb20f6829d
bug triage; add new 'confirmed' tag 2014-05-24 16:29:41 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmyFvkaewo432ELwtCoecUGou4v3jCP0Pc
e8b53cb95c formatted as a proper bug report (I think) 2013-01-23 09:26:53 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmyFvkaewo432ELwtCoecUGou4v3jCP0Pc
ea2fafaeb0 2013-01-22 01:17:37 +00:00