Skip to main content

GoGrid vs Amazon EC2 - Cloud Hosting Continued

So I've just completed deploying an application to my first GoGrid server, this is the same application as what I've previously deployed to my Amazon EC2 instance.
As I mentioned before the application is an ASP.NET MVC front-end with supporting WCF services running on against a Sql Server Express 2008 Database.  
Because I run a Vista development machine I was aware of the fact that running .NET MVC on IIS7.0 outperforms II6.0 with the wildcard ISAPI filter which is what I had to resort to when using my EC2 instance. What I didn't know was by just how much. 
On a general note the overall learning curve and time taken to setup the server and then deploy the application was far less than with Amazon EC2. So full credit to Go Grid for the intuitive user interface.
Also not having to concern myself with Elastic Block Stores and tracking down the Windows Server Install Disc Snapsh0t to install FTP server was a great help and thing's which have been made unnecessarily painful with Amazon EC2.
So just to give you some background on the machine specs 
Amazon EC2 
Windows Server 2003 32bit
Ram 1.66GB
2.71 GHZ 
IIS6.0
Sql Server Express 2008
GoGrid 
Windows Server 2008 64bit
1GB Ram 
3.14GHZ
IIS7.0 
.NET 3.5 SP1
Sql Server Express 2008
So once I had deployed my app on GoGrid I decided to do some basic performance testing on one of the key pages in our application. 
The page in question navigates a tree. 
So you click on a Node and then the page reloads with the Child Nodes contained in the Parent Node. Essentially like navigating a folder structure except that Child Nodes which aren't containers can be different types Images, Videos etc. Pagination is also included. 
The page is loaded and refreshed by making a jQuery $ajax Get Request to a Controller Action which renders the Html using the standard aspx template engine and then writes the result html into a div. 
e.g.
$('#result').html(result); 
The html size that is load is approximately 20kb with an additional 8kb of images. 
so here are the results as taken from Firebug console, time in milliseconds.
GoGridEC2
192292
235296
199348
210300
210286
201300
206391
328290
198291
204293
Avg: 218 Avg: 308
Overall there is quite a big difference 30% in my very basic anaylsis. 
But GoGrid responding 30% faster is definetly enough for me to revaluate my hosting options. 
The overall offering from Amazon is certainly great and because of my Video, Image content requirements approx 1TB. 
If they were offer Windows Server 2008 images then I think that would solve the problem. 
So the conclusion I have come to for the optimal cloud hosting setup is this. 
S3 Storage for all Media files
N x Amazon EC2 Instances for Media Transcoding
Amazon CloudFront for Content Delivery Network 
N x GoGrid Windows Server 2008 for the application 
GoGrid Dedicated Sql Server 2005 for database.  (or 2008 when they offer that) 
GoGrid Load Balancer. 
 
Now the next challenge will be trying to migrate 1TB of Media Content from my server into Amazon S3 cheaply and effeciently. Would love to hear if anyone has any ideas.
 

Comments

  1. Hey just came across your blog. I am curious about what you are building - I also am creating a cloud app using .net but am running on mono using linux in ec2. It is not quite ready for primetime but there is some info about it here http://zavam.com if you are interested.

    ReplyDelete
  2. The Comparison between gogrid vs amazon ec2 Was Very much useful My sincere Thanks for sharing this post and please continue to share this kind of post
    Cloud Computing Training in Chennai

    ReplyDelete
  3. Hi, I have read your blog. Really very informative and excellent post I had ever seen about AWS. Thank you for sharing such a wonderful blog to our vision. Learn AWS Training in Bangalore to know more details about this technology.

    ReplyDelete

Post a Comment

Popular posts from this blog

Freeing Disk Space on C:\ Windows Server 2008

I just spent the last little while trying to clear space on our servers in order to install .NET 4.5. Decided to post so my future self can find the information when I next have to do this. I performed all the usual tasks: Deleting any files/folders from C:\windows\temp and C:\Users\%UserName%\AppData\Local\TempDelete all EventViewer logs Save to another Disk if you want to keep themRemove any unused programs, e.g. FirefoxRemove anything in C:\inetpub\logsRemove any file/folders C:\Windows\System32\LogFilesRemove any file/folders from C:\Users\%UserName%\DownloadsRemove any file/folders able to be removed from C:\Users\%UserName%\DesktopRemove any file/folders able to be removed from C:\Users\%UserName%\My DocumentsStop Windows Update service and remove all files/folders from C:\Windows\SoftwareDistributionDeleting an Event Logs Run COMPCLN.exe Move the Virtual Memory file to another disk However this wasn’t enough & I found the most space was cleared by using the Disk Cleanup to…

CPF Contribution Rates for new Singapore Permanent Residents (SPR’s)

Recently my wife and I applied and got approved for Singapore Permanent Residency. After completing the formalities the most significant immediate change is the contribution to CPF which is Singapore’s mandatory social security savings scheme requiring contributions from employers and employees. CPF contributions start from the date you obtain SPR status, which is the date of the entry permit.   Being a relentless budgeter I needed to know exactly how much I and my employer would have to contribute so that I could adjust my budget accordingly as the employee contributions get deducted from the monthly salary. After doing some research I discovered that there is a “graduated” approach to CPF contributions for new SPR’s where the contributions gradually increase in the first and second year and then upon reaching the third year are at the full amount. Note: There is an option for employers to contribute the full amount for year 1 and year 2 and the employee can use the graduated rate, b…

Consuming the SSRS ReportExecutionService from a .NET Client

I’ve just finished writing a nice wrapper which internally calls the SSRS ReportExecutionService to generate reports.
Whilst it was fairly simple to implement there has been some major changes between 2005 and 2008 and the majority of online and documentation is based on the 2005 implementation. The most important change is that the Report Server and Report Manager are no longer hosted in IIS which will be a welcomed change to Sys Admins but makes the security model and hosting model vastly different. So far I’ve yet to figure out how to allow Anonymous Access, if anyone knows how to do this leave a comment and it will be most appreciated. Getting StartedTo get started you’ll want to add a service reference to http://localhost/ReportServer_SQL2008/ReportExecution2005.asmx where ReportServer_SQL2008 is the name you configure in the Reporting Services Configuration Manager. The Web Application files are located in C:\Program Files\Microsoft SQL Server\MSRS10.SQL2008\Reporting Servic…