amazon s3 - Storing user documents in S3 - design decisions -


i have angular web app store cvs, cover letters, , user images. i'm trying come solution of buckets , folders makes sense app.

for avatars, unique, think simple to:

  • have bucket named avatars
  • name each avatar user-id of user

for cvs, there 2 kinds: 1 full contact information, , 1 edited not reveal contact information. cover letters, unique. if store recent version, could:

  • have bucket named docs
  • create folder user-id of user
  • have items userid/cv-edited.doc, userid/cv-unedited.doc, userid/letter.doc

is reasonable scheme? there pitfalls?

is there strong reason separate avatars user-id folders? sure seems simpler keep single path data... can have permissions driven purely path.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -