Simon Willison on Nostr: S3 question: I'm considering a bucket design where every uploaded file is stored as: ...
S3 question: I'm considering a bucket design where every uploaded file is stored as:
2014-02-10/73WakrfVbNJBaAmhQtEeDv/original-filename.pdf
So that's /date/UUID/filename
This is to avoid clashes if a user uploads multiple files with the same name
Are there any downsides to having a unique "folder" prefix per file like this?
I'm specifically interested in non-obvious performance or cost implications
(Side question: would this be a problem on regular Linux file systems aside from S3?)
2014-02-10/73WakrfVbNJBaAmhQtEeDv/original-filename.pdf
So that's /date/UUID/filename
This is to avoid clashes if a user uploads multiple files with the same name
Are there any downsides to having a unique "folder" prefix per file like this?
I'm specifically interested in non-obvious performance or cost implications
(Side question: would this be a problem on regular Linux file systems aside from S3?)