2 Answers
Hi Sai,
S3 is an object store and not really like block storage. For this reason, AWS usually recommends that you don’t try to use S3 for rapidly changing data….like a cache for example. Plus, you’re also charged for accessing your data so that can add up. I’ve heard of many a person get a shock on their AWS bill when they try to use S3 as the backing storage for a Nextcloud deployment for example. In older versions of Nextcloud, it would touch the files very frequently as part of its index management which incurred a charge every time.
–Scott
I’ll start by echoing Scott’s comments.
The one thing I’d add is that S3 is "eventually consistent". That means you could do a write to an S3 object, and then do a read immediately after, and either get a "not found" if you just created the object, or an old version if you changed it. The more frequently you update the data, the more likely this type of thing will happen.