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
643 stars 98 forks source link

Can multiple mounts occur on one node? #126

Closed matthewlehew closed 8 years ago

matthewlehew commented 8 years ago

For example, on a server where multiple virtual hosts need to mount different paths in the same S3 bucket? In this scenario, the messaging aspect wouldn't need to be used, either, since there is a 1 to 1 relationship between virtual hosts and mounted directories.

matthewlehew commented 8 years ago

The answer is yes. :)

davetbo commented 8 years ago

One follow-up on this topic: I am mounting 2 different folders in the same bucket to 2 different mount points: bucket1/folder1 => /var/www/html/wp-content/uploads bucket1/folder2 => /var/www/protected-files I'm doing this from multiple web servers to the same bucket (to sync my wp uploads across my various clustered web servers).

In this instance, can I use the same topic, queue, and cachedir, or should I have different ones for each mount point?

Thanks, Dave