Monday, April 25, 2011

Amazon AWS

It wasn't until it failed late last week that I realized how much of the web depends on Amazon.com's AWS services.  I have actually been planning on using AWS on an upcoming project so I read the news on it's failure with great interest.  This event does not scare be into not using Cloud services to deploy a new site but it does shed new light on the fact that even though your deploying an application to the Cloud, you still have to design the system for failure event within a Cloud data center.  I suppose that is really nothing new, the concept of disaster recovery has been around for a very long time.  I think that a lot of folks who deploy to a cloud computing environment don't consider that since it has more or less been "sold" to us that the cloud takes care of that.

Sunday, March 21, 2010

Scalability

Over the last few days I have began to do research into scalability.  Something about scalability is very attractive to me and a number of other folks.  It's quite impressive reading about some of the things that Amazon.com, Facebook, Google, and a handful of other sites have been doing with regard to scalability.  These sites have unique challenges because their user base is continually logged in which means the site must fetch user account data along with a number of other custom, account specific information to generate a page.  Traditional techniques for scaling a website don't necessarily work well for these applications. That being said, for a number of years now the trend has been steadily moving toward web applications verses Desktop applications.

So what exactly is Scalablity?  Scalability is a desirable property of a system, a network, or a process, which indicates its ability to either handle growing amounts of work in a graceful manner or to be readily enlarged.  So in order to achieve scalability for a given system an Engineer must evaluate the paculurarities of their system to find what solution will work best for their on going needs.

Reverse Proxy

A reverse proxy is a proxy server that helps out a web server by providing content out of a cache which can be retrieved quickly thus reducing the load on a web server or an application server.  This technique is used by many websites to help them scale up and handle more requests with fewer hardware resources.

One of the more popular proxy servers out there is Squid.  Squid's competency is to provide a proxy-cache which will not only act as a middle man between the web and a web server but it will also cache server resources so to provide them up quickly on consequent requests.