simon,
@simon@simonwillison.net avatar

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?)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • kavyap
  • thenastyranch
  • GTA5RPClips
  • tester
  • InstantRegret
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • everett
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • cisconetworking
  • megavids
  • khanakhh
  • normalnudes
  • osvaldo12
  • cubers
  • tacticalgear
  • Durango
  • ethstaker
  • modclub
  • anitta
  • provamag3
  • Leos
  • JUstTest
  • lostlight
  • All magazines