BerkeleyHCI / SlideSpecs

Presentation Feedback Collation
https://slidespecs.berkeley.edu
MIT License
8 stars 2 forks source link

Google Cloud Platform File uploading and hosting #27

Closed jeremywrnr closed 1 year ago

jeremywrnr commented 3 years ago

Already have the account for translation with google, probably easier to use there. Not urgent

https://console.cloud.google.com/storage/browser/slidespecs;tab=objects?forceOnBucketsSortingFiltering=false&project=slidespecs&prefix=&forceOnObjectsSortingFiltering=false

jeremywrnr commented 3 years ago

Necessary for larger scaling (plus nice data redundancy features), would benefit the mongo DB too.

jeremywrnr commented 3 years ago

Currently, files are uploaded directly to the slidespecs server, making it susceptible to being overwhelmed.

jeremywrnr commented 3 years ago

Not that complicated, but possibly makes processing files slightly more challenging.

For example, we split the PDF into images after the original file is uploaded.

Relevant code (split up over several pages, this is just an example): https://github.com/BerkeleyHCI/SlideSpecs/blob/main/app/imports/ui/pages/SessionPage.jsx#L35-L116

Seems relevant https://forums.meteor.com/t/meteor-files-persistent-storage-with-google-cloud/50074/5

Also this https://github.com/VeliovGroup/Meteor-Files/blob/master/docs/google-cloud-storage-integration.md

jeremywrnr commented 3 years ago

https://cloudacademy.com/blog/google-cloud-functions-vs-aws-lambda-the-fight-for-serverless-cloud-domination/