Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

jms/compress_service

Repository files navigation

Compress service

notes:

process:

rqworker default

monitoring queue and worker

rqinfo --interval 5

rq-dashboard 

test with httpie:

http POST http://localhost:8000/compress id=1 file_list:='["abc.jpb", "xyz.png"]' bucket:abc

test plain without nginx

cd compress_service 
sudo authbind  gunicorn zipit:app -b 0.0.0.0:80 --log-level debug --user 1000 

# or 

gunicorn zipit:app -b 0.0.0.0:8000 --log-level debug --user 1000 

test data

http POST http://server:8000/compress < test_data.json

About

compress micro-service, gets a json with list files to download, compress and upload to S3 bucket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published