Fun

From: THERE IS NO GOD BUT (RENDLE) 8 Nov 2009 18:14
To: ALL1 of 10

Or: How I am spending my gardening leave for the next couple of weeks.

 

Doing some performance and scalability testing on Amazon Web Services, and possibly comparing with Microsoft Azure.

 

This involves writing a web application in Ruby on Rails which is going to use SimpleDB for storing data records and either MySQL or PostgreSQL on EC2 instances for handling and querying (complex) relationships between those records. And all this is going to cost me a few quid for on-demand usage.

 

</geekgasm>

From: THERE IS NO GOD BUT (RENDLE)10 Nov 2009 22:47
To: THERE IS NO GOD BUT (RENDLE) 2 of 10

Setting up an EC2 instance is complicated. Instances don't persist when you shut them down, so to get one with just what you want installed, you have to create your own image (AMI). This involves starting up a base image with the OS you want (e.g. Ubuntu 9.10 Server), installing the software you want, then bundling it. Except that's dodgy, because creating an image while services are running can have odd side-effects. So I found a solution which involves bundling a completely basic instance without anything installed, then downloading and unbundling it and running some funky commands to simulate running on it. Then you install the bits that you want and rebundle it.

 

Currently building one with lighttpd, MySQL 5.1 and ruby, plus assorted gems.

From: THERE IS NO GOD BUT (RENDLE)11 Nov 2009 01:48
To: ALL3 of 10

It lives!

 

Right. I should probably go to bed then.

From: ANT_THOMAS11 Nov 2009 01:56
To: THERE IS NO GOD BUT (RENDLE) 4 of 10
Yeah, you should, you've got gardening to do tomorrow.
From: THERE IS NO GOD BUT (RENDLE)13 Nov 2009 21:02
To: ALL5 of 10
And now generating data to do some performance testing on just using SimpleDB for everything, which has the potential to be fun. Completely denormalizing your database for fun and profit...
From: 99% of gargoyles look like (MR_BASTARD)13 Nov 2009 21:26
To: THERE IS NO GOD BUT (RENDLE) 6 of 10
I just can't understand why everyone doesn't do it.
From: THERE IS NO GOD BUT (RENDLE)13 Nov 2009 23:42
To: 99% of gargoyles look like (MR_BASTARD) 7 of 10
I really can't.
From: THERE IS NO GOD BUT (RENDLE)16 Nov 2009 01:28
To: THERE IS NO GOD BUT (RENDLE) 8 of 10
I fucking rock.
From: ANT_THOMAS16 Nov 2009 01:35
To: THERE IS NO GOD BUT (RENDLE) 9 of 10
\m/
From: 99% of gargoyles look like (MR_BASTARD)16 Nov 2009 11:08
To: THERE IS NO GOD BUT (RENDLE) 10 of 10
u r teh d00d!