Have some fun with Python Pickle, MySQL and S3

Käynnissä Julkaistu 4 vuotta sitten Maksettu toimituksen yhteydessä
Käynnissä Maksettu toimituksen yhteydessä

I have the existing function that works just fine.

It saves an array of data in MySQL.

Here is what I need though:

A) Save the array into ONE random file using Pickle into /results/[login to view URL]

[login to view URL]

Note each filename must be really random (i.e. use a hash).

Put into S3:

[login to view URL]

Once saved to S3 delete file.

B) Write a new function that:

- reads all files like above [login to view URL] from a given local directory

- reads the pickle information and saves into MySQL using the information we wrote in A)

Thanks guys!

AWS Lambda Python Tietojärjestelmäarkkitehtuuri

Projektin tunnus: #19302002

Tietoa projektista

Etäprojekti Aktiivinen 4 vuotta sitten