Skip to content

Conversation

@jkolyer
Copy link

@jkolyer jkolyer commented Mar 8, 2022

File uploading service with the following features

  1. Directory scanner collecting file stat data
  2. Batch S3 upload job handler
  3. SQLite storage of file and job data
  4. Two operating modes: concurrent and multiprocessing
  5. Sample file creation utility
  6. Test suite
  7. Utility script functions for ease of use
  8. Robust and clean design
  9. Low memory, CPU-friendly, parallel execution
  10. Localstack integration

timurbazhirov and others added 17 commits October 13, 2020 11:25
* pfu-10: first test

* pfu-10: sqlite connect/disconnect

* pfu-10: config pytest

* pfu-10: create db tables

* pfu-10: removed unsued code

Co-authored-by: Jonathan Kolyer <jonathankolyer@gmail>
* pfu-4: directory traversal starter

* pfu-4:  insert batch job, refactoring

* pfu-4: create batch job model

* pfu4: iterating on dir creation

* pfu4: generate sample files for test

* pfu-4:  glob files

* pfu-4:  file model creation

* pfu-4: file model insertion test

* pfu-4: no duplicte file records

* pfu-4:  refactor db connect

Co-authored-by: Jonathan Kolyer <jonathankolyer@gmail>
* pfu-3: file model upload shell

* pfu-3:  fixed pagination sql

* pfu-3: added s3 mocks and file upload/retrieval

* pfu-3: set s3 logging to critical

* pfu-3:  refactor s3 mocks

* pfu-3:  multi-file upload credentials fixed

* pfu-3: use generator function to loop through files

* pfu-3: async upload support

Co-authored-by: Jonathan Kolyer <jonathankolyer@gmail>
* pfu-14: made uploader abstract base class

* pfu-14:  uploading metadata

* pfu-14:  reset_file_status; fixed permissions stat value

* pfu-14:  refactoring old code

Co-authored-by: Jonathan Kolyer <jonathankolyer@gmail>
* pfu-5: refactoring models code

* pfu-5: refactored models into separate files; passing tests

* pfu-5: doc template

* pfu-5: added doc templates

* pfu-5: stubbing out gateway script

* pfu-5: multi-proc code starters; refactor

* pfu-5: filing out comments in file_model

* pfu-5:  comments for batch_model

* pfu-5:  base model comments

* pfu-5:  uploader comments

* pfu-5: directories comments

* pfu-5: iterating on multiprocess impl

* pfu-5: moto workaround for multiprocessing

* pfu-5: cleanup moto multiproc workaround

* pfu-5: updated comments

* pfu-5: fixed comment

Co-authored-by: Jonathan Kolyer <jonathankolyer@gmail>
* pfu-1: gateway script

* pfu-1:  setting up for localstack

* pfu-1:  refactored dependency inversion on boto3 client for all evnironments

* pfu-1:  running concurrent/parallel on localstack

* pfu-1:  renamed localstack_url to endpoint_url

* pfu-1: passing multiprocessing tests

Co-authored-by: Jonathan Kolyer <jonathankolyer@gmail>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants