GithubHelp home page GithubHelp logo

andersfugmann / aws-s3 Goto Github PK

View Code? Open in Web Editor NEW
48.0 4.0 13.0 1.01 MB

Ocaml library to access Amazon S3

Home Page: https://andersfugmann.github.io/aws-s3/

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.74% OCaml 95.27% Shell 3.99%
ocaml-library amazon-web-services ocaml async lwt

aws-s3's People

Contributors

andersfugmann avatar anuragsoni avatar barko avatar hcarty avatar leonidas-from-xiv avatar quernd avatar roddyyaga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aws-s3's Issues

Pre-signed URLs

It would be nice to support generating pre-signed URLs for ephemeral GET and PUT operations.

Support 100-continue

For uploads we should support 100 continue, to avoid sending data if the upload fill fail based on the headers.

This is esp useful when handling redirects.

Streaming upload/download support

This can be important under high concurrency conditions and when the files/data being worked with are large. It may not be feasible to hold the content in a string all at once.

Support chunked uploads.

Amazon allows for chunked uploads, which is useful for streaming.
The sha calculation can be done per chunk in the datastream, which is exactly what is needed for streamed uploads.

HEAD support

Useful for, among other things, checking the size of an object in S3.

Support for ocaml-tls

The current Lwt support only works with openssl. Conduit, however, also supports ocaml-tls. It would be useful to support both.

Failed connection attempts are not handled

Failed connection attempts seems not to be caught an placed in the or_error result.

(((pid 30112) (thread_id 0)) "2019-11-12 10:07:41.525360589Z"
 "unhandled exception in Async scheduler"
 ("unhandled exception"
  ((monitor.ml.Error
    ("connection attempt timeout" 52.217.40.14:443 src/tcp.ml:120:11)
    ("Raised at file \"src/error.ml\" (inlined), line 9, characters 14-30"
     "Called from file \"src/error.ml\" (inlined), line 5, characters 2-50"
     "Called from file \"src/tcp.ml\", line 120, characters 11-76"
     "Called from file \"src/job_queue.ml\", line 170, characters 6-47"))
   ((pid 30112) (thread_id 38)))))

Either extend the error type with a Connection_failed or place the error under Failed of exn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.