<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: living in the cloud</title>
	<atom:link href="http://malvasiabianca.org/archives/2008/02/living-in-the-cloud/feed/" rel="self" type="application/rss+xml" />
	<link>http://malvasiabianca.org/archives/2008/02/living-in-the-cloud/</link>
	<description></description>
	<pubDate>Mon, 08 Sep 2008 01:41:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: david carlton</title>
		<link>http://malvasiabianca.org/archives/2008/02/living-in-the-cloud/#comment-81120</link>
		<dc:creator>david carlton</dc:creator>
		<pubDate>Wed, 06 Feb 2008 05:52:37 +0000</pubDate>
		<guid isPermaLink="false">http://malvasiabianca.org/archives/2008/02/living-in-the-cloud/#comment-81120</guid>
		<description>Well, today I'm just running a blog, so it doesn't matter so much.  I don't know how often contents get synced to disk, but that should be, what, no more than every 30 seconds?  And we do offsite backups nightly.  Good enough for a blog, given that the server only goes down unexpectedly once every few months; if I were doing something more serious, I'd want to RAID the disks, and perhaps back up more frequently.

Then again, maybe I could get close enough to that with the Amazon solution: dump the db contents to S3 every 10 minutes or so?  I guess it depends on how often the compute instances go down, and what the costs would be for frequently backing up to S3.  Still feels wrong, but maybe that's partly because I'm not used to thinking in those terms.</description>
		<content:encoded><![CDATA[<p>Well, today I&#8217;m just running a blog, so it doesn&#8217;t matter so much.  I don&#8217;t know how often contents get synced to disk, but that should be, what, no more than every 30 seconds?  And we do offsite backups nightly.  Good enough for a blog, given that the server only goes down unexpectedly once every few months; if I were doing something more serious, I&#8217;d want to RAID the disks, and perhaps back up more frequently.</p>
<p>Then again, maybe I could get close enough to that with the Amazon solution: dump the db contents to S3 every 10 minutes or so?  I guess it depends on how often the compute instances go down, and what the costs would be for frequently backing up to S3.  Still feels wrong, but maybe that&#8217;s partly because I&#8217;m not used to thinking in those terms.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Cowan</title>
		<link>http://malvasiabianca.org/archives/2008/02/living-in-the-cloud/#comment-81001</link>
		<dc:creator>John Cowan</dc:creator>
		<pubDate>Tue, 05 Feb 2008 13:44:58 +0000</pubDate>
		<guid isPermaLink="false">http://malvasiabianca.org/archives/2008/02/living-in-the-cloud/#comment-81001</guid>
		<description>Well, what do you do with your database today?  Do you have a full two-phase-commit distributed database for reliability, or do you take frequent backups and risk the loss of a certain number of transactions?

If the latter, then backing up the database to S3 is perfectly plausible, using its native backup tools.

I don't know much about Amazon's database, except that it's generally similar to Google's BigTable: a three dimensional spreadsheet using arbitrary row and column names and the update timestamp as the third dimension.  In BigTable, at least, we can further say that the row is the unit of atomicity, that iterations are over rows whose names share a prefix, that the column (or group of columns) is the unit of access control, and that older versions of data can be garbage collected.</description>
		<content:encoded><![CDATA[<p>Well, what do you do with your database today?  Do you have a full two-phase-commit distributed database for reliability, or do you take frequent backups and risk the loss of a certain number of transactions?</p>
<p>If the latter, then backing up the database to S3 is perfectly plausible, using its native backup tools.</p>
<p>I don&#8217;t know much about Amazon&#8217;s database, except that it&#8217;s generally similar to Google&#8217;s BigTable: a three dimensional spreadsheet using arbitrary row and column names and the update timestamp as the third dimension.  In BigTable, at least, we can further say that the row is the unit of atomicity, that iterations are over rows whose names share a prefix, that the column (or group of columns) is the unit of access control, and that older versions of data can be garbage collected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david carlton</title>
		<link>http://malvasiabianca.org/archives/2008/02/living-in-the-cloud/#comment-80956</link>
		<dc:creator>david carlton</dc:creator>
		<pubDate>Tue, 05 Feb 2008 05:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://malvasiabianca.org/archives/2008/02/living-in-the-cloud/#comment-80956</guid>
		<description>John: thanks for the info.  Good point about the local disk; that would solve the compile issue nicely.  I'd be leery about using that method for a database, though, but clearly S3 isn't the solution there, either.  How does Amazon's database abstraction work?  I'd heard some iffy things about it.

Brian: yeah, getting a second machine might make sense.  I hadn't thought of putting svnbook on S3, but that could be a good idea, too.  Hmm.</description>
		<content:encoded><![CDATA[<p>John: thanks for the info.  Good point about the local disk; that would solve the compile issue nicely.  I&#8217;d be leery about using that method for a database, though, but clearly S3 isn&#8217;t the solution there, either.  How does Amazon&#8217;s database abstraction work?  I&#8217;d heard some iffy things about it.</p>
<p>Brian: yeah, getting a second machine might make sense.  I hadn&#8217;t thought of putting svnbook on S3, but that could be a good idea, too.  Hmm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Carlton</title>
		<link>http://malvasiabianca.org/archives/2008/02/living-in-the-cloud/#comment-80937</link>
		<dc:creator>Brian Carlton</dc:creator>
		<pubDate>Tue, 05 Feb 2008 02:14:14 +0000</pubDate>
		<guid isPermaLink="false">http://malvasiabianca.org/archives/2008/02/living-in-the-cloud/#comment-80937</guid>
		<description>You are making it too hard, I think.  Just move half the domains to a second machine.  Or a few of the big usage ones.  Or move mail to the new machine, if it's web and mail evenly.  Or put the few files that are most of the usage on S3, if it is just people getting the SVN book.</description>
		<content:encoded><![CDATA[<p>You are making it too hard, I think.  Just move half the domains to a second machine.  Or a few of the big usage ones.  Or move mail to the new machine, if it&#8217;s web and mail evenly.  Or put the few files that are most of the usage on S3, if it is just people getting the SVN book.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Cowan</title>
		<link>http://malvasiabianca.org/archives/2008/02/living-in-the-cloud/#comment-80815</link>
		<dc:creator>John Cowan</dc:creator>
		<pubDate>Mon, 04 Feb 2008 00:19:50 +0000</pubDate>
		<guid isPermaLink="false">http://malvasiabianca.org/archives/2008/02/living-in-the-cloud/#comment-80815</guid>
		<description>Well, you've pretty much characterized EC2 correctly, except that even the ten-cents-an-hour compute instance is fairly decent: it's a (virtual) single-core 1 GHz 32-bit system with 2 GB of memory and 160 GB of local disk, which you lose when the instance goes down.  Fortunately, you can trivially get remote access to S3 (no charge) for persistent storage, though you don't want to keep your database there because writes to S3 are slow.  (Instead, you back up your database there using whatever mechanism your database engine provides for backup).  And of course you can run tens or (if you ask nicely) hundreds of these things.

If your job is memory- or compute-intensive, there's also the forty-cents-an-hour model, with two 2-GHz 64-bit cores, 7.5 GB memory, and 850 GB of local disk; the eighty-cents model has four cores and twice the memory and disk.  So provided you don't have a monstrous large server, and provided you can adapt to semi-offline storage for most of your storage needs, you can just move everything there and apply the $585/mo for the big system against whatever it's costing you to own your system now.

A friend of mine makes a living doing made-to-order Web crawls for customers who are looking for specific kinds of things on the Web.  He uses S3 and EC2 exclusively, so he had no capital cost to start up his company at all.  (The crawler is a command-line application, so ssh access is what he needs and gets.)  He typically experiences instance uptimes in the general range of 30-60 days.

It's true that EC2 doesn't provide the kinds of things you spend most of the post talking about, but then it doesn't need to.  As this model becomes more popular, people will begin provide userland software that is intended to run on tens of instances, rather than on a server and can be streamlined appropriately.</description>
		<content:encoded><![CDATA[<p>Well, you&#8217;ve pretty much characterized EC2 correctly, except that even the ten-cents-an-hour compute instance is fairly decent: it&#8217;s a (virtual) single-core 1 GHz 32-bit system with 2 GB of memory and 160 GB of local disk, which you lose when the instance goes down.  Fortunately, you can trivially get remote access to S3 (no charge) for persistent storage, though you don&#8217;t want to keep your database there because writes to S3 are slow.  (Instead, you back up your database there using whatever mechanism your database engine provides for backup).  And of course you can run tens or (if you ask nicely) hundreds of these things.</p>
<p>If your job is memory- or compute-intensive, there&#8217;s also the forty-cents-an-hour model, with two 2-GHz 64-bit cores, 7.5 GB memory, and 850 GB of local disk; the eighty-cents model has four cores and twice the memory and disk.  So provided you don&#8217;t have a monstrous large server, and provided you can adapt to semi-offline storage for most of your storage needs, you can just move everything there and apply the $585/mo for the big system against whatever it&#8217;s costing you to own your system now.</p>
<p>A friend of mine makes a living doing made-to-order Web crawls for customers who are looking for specific kinds of things on the Web.  He uses S3 and EC2 exclusively, so he had no capital cost to start up his company at all.  (The crawler is a command-line application, so ssh access is what he needs and gets.)  He typically experiences instance uptimes in the general range of 30-60 days.</p>
<p>It&#8217;s true that EC2 doesn&#8217;t provide the kinds of things you spend most of the post talking about, but then it doesn&#8217;t need to.  As this model becomes more popular, people will begin provide userland software that is intended to run on tens of instances, rather than on a server and can be streamlined appropriately.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
