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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -