tomharvey / aws-s3cp-bulk Goto Github PK
View Code? Open in Web Editor NEWCopy each file, in a list of files, from one bucket to another.
Copy each file, in a list of files, from one bucket to another.
In https://github.com/tomharvey/aws-s3cp-bulk/blob/master/lib/csv-processor.js#L5 the region is hard coded. Read this from user defaults.
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.
https://github.com/tomharvey/aws-s3cp-bulk/blob/master/lib/invoke.js#L11
We should abstract this out to use the actual stage or default to dev
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.
Missing functionality in report-summary.write_report_to_s3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.