This is really cool but also kind of a shame. I feel like it will encourage bad behavior. I can see people using this to deploy code by deploying onto the shared volume so that all their instances get an "instant update". Which is great when it works, but lord help you when EFS goes down and every app server you have is hung on a broken NFS connection.
I think that deploying onto a shared volume is exactly the workload that EFS encourages. That things will stop functioning can be said about any (AWS) technology. "Lord help you when (S3|RDS|SQS|etc.) goes down and every (thing) you have is hung up on a broken (thing) connection." The rational argument here is that if uptime is important to you, the solution is to utilize multiple regions, of which EFS is now in 4. Y…
Amazon Elastic File System – Production-Ready in Three Regions
101–110 of 122 posts
Re: Amazon Elastic File System – Production-Ready in Three Regions
#102Earlier quoted context omitted.
HAHAHA. YES! So much this. THere are legit use cases for this, but there are many use cases that will cause you much pain.
I suspect you're being downvoted because you've described every piece of technology ever created.
"HAHAHA. YES! So much this."
part. Though I can't down vote so I wouldn't know.
Re: Amazon Elastic File System – Production-Ready in Three Regions
#103I wonder if some can run a postgresql database on top of that. This would make it relativly easy to have a master without downtime and be way cheaper than RDS.
Re: Amazon Elastic File System – Production-Ready in Three Regions
#104Earlier quoted context omitted.
It claims to present itself as a full filesystem so I don't see why it wouldn't, however, you're probably going to run into pretty hardcore performance issues, because the bandwidth amazon provides in general is on the stingy side, but under a terabyte, they're downright miserly, with a 10 gig filesystem only able to provide 0.5 MB/s sustained. This product is problematic at best.
Also, it is a full-fledged NFS-mounted file system. I would be very wary of running a database from that.
Re: Amazon Elastic File System – Production-Ready in Three Regions
#105YES Finally we can start using standard posix semantics for things. Yes people might say its primitive, but currently all I can see is people trying to re-create shared files systems over protocols not designed for it cough cough HTTP Finally I can have a shared home, with a shared environment. A single readonly binary source (great for docker by the way.) also great for ensuring one version of scripts, without havin…
At 10x the price for S3.
S3 is high latency, HTTP semantics, no locking mechanism.
EFS is low latency, high throughput shared file system with standard posix interface. everything can write to standard files. Not many things can write using S3 effectively.
Re: Amazon Elastic File System – Production-Ready in Three Regions
#106Re: Amazon Elastic File System – Production-Ready in Three Regions
#107YES Finally we can start using standard posix semantics for things. Yes people might say its primitive, but currently all I can see is people trying to re-create shared files systems over protocols not designed for it cough cough HTTP Finally I can have a shared home, with a shared environment. A single readonly binary source (great for docker by the way.) also great for ensuring one version of scripts, without havin…
At 10x the price for S3.
Re: Amazon Elastic File System – Production-Ready in Three Regions
#108Earlier quoted context omitted.
Also, it is a full-fledged NFS-mounted file system. I would be very wary of running a database from that.
It sounds like a disaster waiting to happen. The latency of NFS is just too high (Even if it is very fast for NFS) for it to be safe for a database.
It'll never be as fast as local disk but the flexibility it provides is very nice.
Re: Amazon Elastic File System – Production-Ready in Three Regions
#109Earlier quoted context omitted.
The difference is that all of those services are accessed via an API, which means your client can do clever things when it fails, like timeout, give a fallback, find an equivalent resource in another zone or region, etc. With EFS, it's exposed as NFS, which hooks in much deeper. If it goes down, there isn't anything you can do to work around the problem, unless you start hacking your own file system kernel modules.
Can't you just use soft mounts? Especially since in the scenario you described you can use read only mounts.
In all of those cases, anything which tries to access something on the NFS mount will block in the kernel (i.e. “kill -9“ won't work) and the mount cannot be unmounted normally.
I wrote https://github.com/acdha/mountstatus awhile back – if memory serves, 2004 or so – because we found that on Linux a lazy unmount would still work in this case and so you could have a process monitor the mount status (fork() a child to check the mount, alert if it doesn't get a response within a set interval) and a watchdog could respond to an alert by issuing a “umount -l” and remounting, which doesn't fix the blocked process but is less disruptive than rebooting and that new processes won't block because they tried to access that mount.
Re: Amazon Elastic File System – Production-Ready in Three Regions
#110I am excited by EFS but during the beta it didn't perform as well as I would have liked. I had a small Wordpress install that I wanted to make elastic in that I could have multiple web servers and all of the data was stored apart from the AMI. After testing my setup I found that latency was way too high and the performance of my site was terrible. I'm guessing it's because the amount of data was really low (100MB) an…