Giter VIP home page Giter VIP logo

aws-s3cp-bulk's People

Contributors

tomharvey avatar

Watchers

 avatar  avatar

aws-s3cp-bulk's Issues

Cost inefficient use of the copy lambda function

Each invoked copy function will only process one file but is configured with 128MB of RAM, the minimum amount configurable for a Lambda function. To copy a small file, we do not make full use of this available RAM

If each invocation of this function could process multiple files concurrently, then we would make better use of the 128MB of RAM - without dramatically increasing the running time for the function.

This will create a more cost efficient mechanism.

The desired concurrency will depend on the size of the files being processed, and will certainly be far lower than the tens of thousands that the main function is designed to handle.

Add a configureable file_concurrency variable to configure how many files each copy command will handle.

Separate unit and integration tests

The tests folder contains a mixture of each. Separate these out and move integration testing to only run on circle-ci.

Add some integration test setup functions, to populate the operational bucket with fixtures in a ./tests/fixtures directory, which is not AWS::AccountId or AWS::Region specific.

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.