danilop / yas3fs

YAS3FS (Yet Another S3-backed File System) is a Filesystem in Userspace (FUSE) interface to Amazon S3. It was inspired by s3fs but rewritten from scratch to implement a distributed cache synchronized by Amazon SNS notifications. A web console is provided to easily monitor the nodes of a cluster.
http://danilop.github.io/yas3fs
MIT License
640 stars 98 forks source link

default object storage class #158

Open starinacool opened 6 years ago

starinacool commented 6 years ago

I did not fing the option to set storage class fpr uploaded files.

Are there any requests for it or I'm the first one?

dacut commented 6 years ago

I don't believe it exists currently.

What storage class are you trying to use? Note that Reduced Redundancy Storage is effectively deprecated. While it's available, the prices for RRS are higher than that for standard storage.

I could see a case for infrequently access storage (S3-IA), though you need to be careful using it, especially with a filesystem interface. S3-IA bills you for a minimum of 128 kB of storage, and for a minimum of 30 days.

Glacier would be hard to incorporate. There are two ways to handle reads: block until retrieved, or return EIO (I/O error). Neither is friendly to software that wasn't built with this in mind. I'm reminded of problems I had with a customer trying to implement Duplicity with Glacier.