You’ll get this if you’re exceeding partition throughput. S3 will repartition if you are using a good prefix, per recommendations, but it’s not instantaneous. We get this every year on our load test bucket when we do a full peak load test where we ramp up to peak volume x3 in 15 minutes. We just ask support to pre-partition our bucket when we hit it and we’re good again.
Of course, if you’re not using a good prefix, then…
Oh my - not even sure what a “prefix” is! I am just a webdev who has set things up and is about to take on help from fiverr for the many future small/big steps… aws is like another world! Cheers for the heads up though!
Cheers - was my own making i believe… a .config i just threw in to try and fix something (getting outta my depth here) must have made a little mess… running a ELB so i tried a little trick from StackO and cancelled the EC2 instance and re-deployed the ELB and it restarted perfectly! Learnt my lesson - leave AWS to the experts!
Huh, TIL. I knew they increased the per-partition performance with that announcement, but I completely missed the last paragraph somehow. Interesting. Thanks for calling that out.
So, my guess is, you can still scale faster than the S3 algos scale out your partitions, if you’re creating synthetic load or have a really crazy spike in traffic, but there’s no correlation to prefix anymore.
See the other comment, I’m wrong about the prefix being a determination in the scale out algorithm.
As for what a prefix is, remember S3 isn’t a file system, it’s an object store. So, you store your data in objects and you name them. The object name is the entire key, which can have ‘path like’ delimiters in it to give you the impression of a file system hierarchy. The key is split into three (?) parts, prefix and suffix and whatever is left in the middle. It just means ‘the first bit of your key’ / ‘the last bit of your key’ / anything else left in the middle. That’s all, it’s just related to the complete object name, not what you would think of as your ‘file name’ or ‘directory path’ - those are just abstractions on top of S3 for convenience.