Find Jobs
Hire Freelancers

Debug Python script to upload files to AWS Glacier -- 2

$10-75 USD

Inaendelea
Imechapishwa almost 8 years ago

$10-75 USD

Kulipwa wakati wa kufikishwa
I have a little python script that uploads PDF files to Amazon Glacier and saves the status in a database table. ([login to view URL]) We currently use it to upload files from an S3fs directory that is actually an S3 bucket mounted on the linux filesystem ([login to view URL]). However, there is an issue. The s3fs directory contains many PDF files (1MB or more in size each). When the script is run it doesn't upload anything. It seems to get stuck on the first multi-part upload. However, if the script is run to upload files from a normal directory, it works fine. I believe this is happening because s3fs is not very good at metadata operations, like listing files and directories, especially large number of files. The script currently loops through each file in the directory. This is just a theory I need an excellent python coder to figure out what the problem is and to either: 1) Fix the issue with the script/s3fs combination so that it works as designed -or- 2) Modify how the script operates. Instead of looping through the filesystem, it should rely on the database. It needs to first select any filenames where archive id is missing from the database, and then loop through that list and explicitly upload each specific filename to Glacier, afterward updating the database as it currently does. I believe S3fs will have no problem if you operate on a specific file from its filepath. I don't know this for sure, but it's worth a try. -or- 3) Write a better script!! Coder must set up his own test environment as described above to find the solution.
Kitambulisho cha mradi: 10838523

Kuhusu mradi

8 mapendekezo
Mradi wa mbali
Inatumika 8 yrs ago

Unatafuta kupata pesa?

Faida za kutoa zabuni kwenye Freelancer

Weka bajeti yako na muda uliopangwa
Pata malipo kwa kazi yako
Eleza pendekezo lako
Ni bure kujiandikisha na kutoa zabuni kwa kazi
8 wafanyakazi huru wana zabuni kwa wastani $111 USD kwa kazi hii
Picha ya Mtumiaji
Hello, My name is Adil, I am expert in python language, I have 7 years+ experience in python language and I am certified python expert. i have completed 100+ projects using python -- for python projects . Expertise : Python, Django, Django-Rest-Framework and many python packages. My key Skills are: Python, AngularJS, Scala, JavaScript, Go, PHP, SQL, HTML, Perl, CSS. Platforms: Linux, Amazon Web Services (AWS), Google App Engine, Windows, Mac OS X I have completed more than 100+ projects in Python programming. You can test the quality of my work if needed. Thanks.
$100 USD ndani ya siku 1
4.8 (14 hakiki)
5.1
5.1
Picha ya Mtumiaji
Hi, I'm a cloud architect working heavily on AWS. Why don't we look for an alternative solution and remove the S3FS from the picture at all. I'd recommend using S3 and Lambda directly. You're already putting the files on S3 using S3FS. Why don't we put a lifecycle policy on the S3 bucket, so that based on the policy, they'll be automatically moved to Glacier? Alternatively, if your use case and policy is more complex, we can have a Lambda script, triggered automatically whenever you put a new pdf to S3 bucket via S3FS, and this Lambda script can handle the Glacier migration. Regards, Engin
$222 USD ndani ya siku 1
5.0 (12 hakiki)
4.4
4.4
Picha ya Mtumiaji
Hi, I am Hieu and I am a VMware Certified Professional and an AWS Certified Associate I have 8 years of experience in systems admin and datacenter day-to-day operations. I am proficient to implement, configure and manage Windows, Unix, Linux with application servers running inside them like Apache, Ngix or databases systems like MySQL, PostgreSQL on both physical and virtualization as well as cloud computing. I would like to have the opportunity to discuss your project.
$100 USD ndani ya siku 2
5.0 (2 hakiki)
3.5
3.5
Picha ya Mtumiaji
Hello, i'm a python developer, i have ever work on similiar task before, i can finish this project..... Thank you for reading my bid
$66 USD ndani ya siku 3
5.0 (2 hakiki)
1.9
1.9
Picha ya Mtumiaji
A proposal has not yet been provided
$35 USD ndani ya siku 5
4.8 (1 hakiki)
1.0
1.0
Picha ya Mtumiaji
Hi!, I'm new freelancer, your job is very simple, and I think, i can culminate it in record time, this would be my first job, if you choose to accept me. I have extensive experience in Python, I have in mind rewrite your code, add functionalities add POO, a better cli interface. And last, i speak spanish, please excuse my low level of english.
$50 USD ndani ya siku 7
0.0 (1 hakiki)
0.0
0.0

Kuhusu mteja

Bedera ya UNITED STATES
East Brunswick, United States
5.0
116
Njia ya malipo imethibitishwa
Mwanachama tangu Mei 16, 2011

Uthibitishaji wa Mteja

Asante! Tumekutumia kiungo cha kudai mkopo wako bila malipo kwa barua pepe.
Hitilafu fulani imetokea wakati wa kutuma barua pepe yako. Tafadhali jaribu tena.
Watumiaji Waliosajiliwa Jumla ya Kazi Zilizochapishwa
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Onyesho la kukagua linapakia
Ruhusa imetolewa kwa Uwekaji wa Kijiografia.
Muda wako wa kuingia umeisha na umetoka nje. Tafadhali ingia tena.