Morgan is looking in to EC2 on MySQL, so I thought I’d
pipe up about stuff I’ve been playing with.
The ephemeral nature of the data is troubling, because at best
you’re going to have some lag before you can back stuff up to S3
or some other place. (Unless that was happening continuously… but
we’ll come back to that) On the other hand, if you’re doing app
sharding or something similar, this essentially just makes you
plan that your machines can all die at any time. If you used
Google’s semi-sync replication patch, you could easily spin up
little replication clusters as needed.
Hm. Clusters. Well, I’m also a fan of MySQL Cluster. What if you
ran MySQL Cluster on a single ec2 node (both data and sql nodes)?
What if, further, you wrote (and by you, I mean me… code coming
soon, I promise) an AsyncFile implementation for Cluster that …
[Read more]