Earlier quoted context omitted.
You have to snapshot at the system level anyway if you want a consistent snapshot: otherwise the filesystem (or your database) could have been reordering and delaying writes that end up not being part of the "consistent snapshot". This is simply not a RAID-specific issue, nor is it a problem with EBS (as it is generally easy to use LVM, xfs, and/or PostgreSQL to handle that part of the job).
True. However, for some cases where you don't mind losing some data due to a recovery process EBS snapshots are 'good enough'. Additionally, with a database like CouchDB with a 'crash only' design, it should work for some cases as well.
"Amazon's EBSs are a barrel of laughs in terms of performance and reliability"
71–80 of 157 posts
Re: "Amazon's EBSs are a barrel of laughs in terms of performance and reliability"
#72Anybody care to comment on using EC2 with local (what Amazon calls ephemeral) storage and backup to S3? Seems to me the advantages are: it's cheaper and you avoid the performance and reliability problems with EBS. The disadvantages?
Re: "Amazon's EBSs are a barrel of laughs in terms of performance and reliability"
#73Amazon seems more flexible, since you buy block storage (EBS) independent of instances. If you have an application that needs a massive amount of data, but only a little RAM and CPU, you can do it.
Rackspace, on the other hand, ties storage to instances. If you only need the RAM and CPU of the smallest instance (256 MB RAM) but need more than the 10 GB of disk space that provides, you need to go for a bigger instance, and so you'll probably end up with a bigger base price than at Amazon.
On the other hand, the storage at Rackspace is actual RAID storage directly attached to the machine you instance is on, so it is going to totally kick Amazon's butt for performance. Also, at Amazon you pay for I/O (something like $0.10 per million operations).
Looking at our existing main database and its usage, at Amazon we'd be paying more just for the I/O than we now pay for colo and bandwidth for the servers we own (not just the database servers...our whole setup!).
The big lesson we've taken away from our investigation so far as that Amazon is different from Rackspace, and both are different from running your own servers. Each of these three has a different set of capabilities and constraints, and so a solution designed for one will probably not work well if you just try to map it isomorphically to one of the others. You don't migrate to the cloud--you re-architect and rewrite to the cloud.
Re: "Amazon's EBSs are a barrel of laughs in terms of performance and reliability"
#74Earlier quoted context omitted.
The biggest issue I have with RDS is that I can't do a multi-master deployment to scale up writes. I've got a very write-heavy workload in my systems (roughly one write for every two reads).
You can't do multi-master with MySQL anyways, which until very recently has been the only "engine" RDS supports. Even if you could do multi-master, replication is still single threaded. You have to come up with your own sharding scheme. This is a limitation of MySQL not RDS.
Not possible with RDS, unfortunately, but works fine on two EC2 instances.
Re: "Amazon's EBSs are a barrel of laughs in terms of performance and reliability"
#75Re: "Amazon's EBSs are a barrel of laughs in terms of performance and reliability"
#76Anybody care to comment on using EC2 with local (what Amazon calls ephemeral) storage and backup to S3? Seems to me the advantages are: it's cheaper and you avoid the performance and reliability problems with EBS. The disadvantages?
Re: "Amazon's EBSs are a barrel of laughs in terms of performance and reliability"
#77How is it that Amazon.com is so reliable if there are so many problems with their "cloud" products? Do they not use the same software to run their site?
If you understand the limitations of the various products you can build a VERY reliable service. The reddit assumption of a single datacenter and single technology to store that data was an engineering failure. They essentially didn't have a disaster recovery plan in place.
Re: "Amazon's EBSs are a barrel of laughs in terms of performance and reliability"
#78Lesson for startups: start in the cloud, grow your business, build your own cloud. Never trust critical parts of your business to others.
Re: "Amazon's EBSs are a barrel of laughs in terms of performance and reliability"
#79Anybody care to comment on using EC2 with local (what Amazon calls ephemeral) storage and backup to S3? Seems to me the advantages are: it's cheaper and you avoid the performance and reliability problems with EBS. The disadvantages?
All of your EC2 instances can disappear without warning and everything on the local storage is now gone forever.
Re: "Amazon's EBSs are a barrel of laughs in terms of performance and reliability"
#80I'll probably be downvoted for this but seems to me the root cause of this problem is Reddit's architectural decision to remain in a single availability zone. If it wasn't EBS it could have been some other issue related to the single AZ that could have brought the site down. Blaming EBS, particularly if you knew it to be a potential weakness in your architecture, seems like a deflection of responsibility.