<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Trevor Power &#187; Cloud Computing</title>
	<atom:link href="http://blog.trevorpower.com/index.php/tag/cloud-computing/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.trevorpower.com</link>
	<description>Software development and other thoughts</description>
	<lastBuildDate>Fri, 20 Aug 2010 07:33:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A limitation of shared hosting and a push toward cloud computing</title>
		<link>http://blog.trevorpower.com/index.php/a-limitation-of-shared-hosting-and-a-push-toward-cloud-computing/</link>
		<comments>http://blog.trevorpower.com/index.php/a-limitation-of-shared-hosting-and-a-push-toward-cloud-computing/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 20:37:00 +0000</pubDate>
		<dc:creator>trevorpower</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[ASP.Net MVC]]></category>
		<category><![CDATA[Blacknight]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[S3]]></category>
		<category><![CDATA[Tadmap]]></category>

		<guid isPermaLink="false">http://trevorpower.com/blog/?p=31</guid>
		<description><![CDATA[Today I ran into one of the limitations of shared hosting.

I&#8217;ve been struggling for the last few weeks to handle large files in my application. I published to the server earlier this week but with no success. All my tests failed after 10 minutes with a &#8216;Request timed out&#8217; error. I was testing with an [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.trevorpower.com%2Findex.php%2Fa-limitation-of-shared-hosting-and-a-push-toward-cloud-computing%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.trevorpower.com%2Findex.php%2Fa-limitation-of-shared-hosting-and-a-push-toward-cloud-computing%2F" height="61" width="51" /></a></div><p>Today I ran into one of the limitations of shared hosting.</p>
<p style="text-align: center;"><a href="http://1.bp.blogspot.com/_Y2LJ3akQL0w/SacMLGbra7I/AAAAAAAAAE0/bqMmRj6weho/s1600-h/ScreenShot.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5307224070724217778" class="aligncenter" style="margin-top: 0px; margin-bottom: 10px; cursor: pointer; width: 400px; height: 172px; clear: left;" src="http://1.bp.blogspot.com/_Y2LJ3akQL0w/SacMLGbra7I/AAAAAAAAAE0/bqMmRj6weho/s400/ScreenShot.png" border="0" alt="" width="400" height="172" /></a></p>
<p>I&#8217;ve been struggling for the last few weeks to handle large files in my application. I published to the server earlier this week but with no success. All my tests failed after 10 minutes with a &#8216;Request timed out&#8217; error. I was testing with an 80mb file but with a slow broadband connection (thanks to <a href="http://www.icebroadband.com">Ice</a>). I had increased the timeout and max request length for the upload handler like so in the web.config:</p>
<pre name="code" class="xml:nocontrols:nogutter" style="clear: right;">   &lt;location path="Upload.mvc/Upload"&gt;
      &lt;system.web&gt;
         &lt;httpRuntime  maxRequestLength="2097151" executionTimeout="10800" /&gt;
      &lt;/system.web&gt;
   &lt;/location&gt;</pre>
<p>I ruled out any setting that I had control over, so the next step was to talk to my hoster, <a href="http://www.blacknight.com">Blacknight</a>, to see if they could help me out. They replied saying that they could not support the uploading of large files stating that:</p>
<blockquote><p>It ties up too much system resources to upload huge files like that through asp and would cause problems for other users on the shared server.</p></blockquote>
<p>Of course they&#8217;re right and I can&#8217;t really complain but it&#8217;s bitterly disappointing none the less.</p>
<p>For the foreseeable future, a couple of file uploads a month is all I require so I don&#8217;t want to pay for more expensive hosting packages. So back to the drawing board&#8230;</p>
<p><span style="font-weight:bold;">Cloud computing</span></p>
<p>I&#8217;m already using the <a href="http://aws.amazon.com/s3/">Amazons S3</a> service for the storage of the images and I think I can upload directly from the client to S3. So I just need a high spec PC for a few minutes to process the files after the user has uploaded them. Once processed I will only ever have to deal with smaller versions or tiled sections. This looks like an ideal candidate for the <a href="http://aws.amazon.com/ec2/">Amazon Elastic Compute Cloud</a> (EC2). Where I can pay by the hour for a high spec machine.</p>
<p>I was hoping to dip my toe into some cloud computing at some point but I didn&#8217;t want to be pushed. This is going to be a lot more work than I hoped and will need some effort just to cordinate between the web server, client machine and a cloud computer.</p>
<p>I haven&#8217;t decided on the final architecture yet, just thinking out loud, but looks like a lot of fun (and hard work) ahead&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trevorpower.com/index.php/a-limitation-of-shared-hosting-and-a-push-toward-cloud-computing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

