ref

Cluster VS. Grid

Cluster differs from Cloud and Grid in that

  1. a cluster is a group of computers connected by a local area network (LAN)
  2. cloud and grid are more wide scale and can be geographically distributed.

Another way to put it is to say that

  1. a cluster is tightly coupled
  2. a Grid or a cloud is loosely coupled.

Also, the hardware:

  1. clusters are made up of machines with similar hardware
  2. clouds and grids are made up of machines with possibly very different hardware configurations.

Computer cluster

A computer cluster consists of a set of tightly connected computers that work together as a single system.

Unlike grid computers, computer clusters have each node set to perform the same task, controlled and scheduled by software.

In most circumstances, all of the nodes use the same hardware and OS. They are connected in LAN with each node running its own piece of OS.

They are used to improve performance and availability over that of a single computer, while being more cost effective.

Computer clusters emerged as a result of:

  1. low-cost microprocessors,
  2. high-speed networks,
  3. software for high-performance distributed computing

Grid computing

Grid computing is the collection of computer resources from multiple locations to reach a common goal. Each computer have non-interactive workloads. It’s like a “super virtual computer” composed of many networked loosely coupled computers acting together to perform large tasks.

Unlike conventional high performance computing systems such as cluster computing, grid computers have each node set to perform a different task.

Grid computers also tend to be more geographically dispersed than cluster computers. Grids are often constructed with general-purpose grid middleware software libraries.

Major disadvantage with Grid Computing is, if one piece of software on a node fails, other pieces of the software on the other nodes may fail.

Cloud computing

Cloud computing is terminology based on utility and consumption of computing resources.

SaaS

An application doesn’t access resources it requires directly, rather it accesses them through something like a service. Instead of talking to a specific hard drive for storage, and a specific CPU for computation, etc, it talks to some service that provides these resources. The service then maps any requests for resources to its physical resources.

The services themselves have long been referred to as Software as a Service (SaaS). The datacenter hardware and software is what we call a Cloud. When a Cloud is made available in a pay-as-you-go manner to the general public, we call it a Public Cloud; the service being sold is Utility Computing.

Sharing of Resources

Usually the service dynamically allocate resources to maximize the effectiveness of the shared resources(per users and per demand).

For example, a cloud computer facility that serves European users during European business hours with a specific application (e.g., email) may reallocate the same resources to serve North American users during North America’s business hours with a different application (e.g., a web server).

With cloud computing, multiple users can access a single server to retrieve and update their data without purchasing licenses for different applications.

Scalability

  1. If an application requires only a small amount of some resource, say computation, then the service only allocates a small amount, say a small share on a single physical CPU.

  2. If the application requires a large amount of some resource, then the service allocates that large amount, say a grid of CPUs.

All the complex handling and coordination is performed by the service, not the application. In this way the application can scale well.

For example a web site written “on the cloud” may share a server with many other web sites while it has a low amount of traffic. If it ever has massive amounts of traffic, it may be moved to its own dedicated server, or grid of servers. This is all handled by the cloud service (provider), so the application shouldn’t have to be modified drastically to cope.

Other Advantages

Using Cloud Computing, companies can scale upto High capacities immediately without investing in new infrastructure, training the people or new software licensing. It is more useful for small and medium scale businesses who wants to outsource their Data Center infrastructure, or some larger companies also prefer if they want to cut down the costs of building data-centers internally in order to get peak load capacity. In short, consumers use what they need and pay accordingly.

Grid Computing VS. Cloud Computing

  1. Grid Computing is the parent of Cloud computing, cloud actually evolves from Grid Computing.

  2. A cloud would usually use a grid. A grid is not necessarily a cloud.

  3. Resource distribution: Cloud computing is a centralized model whereas grid computing is a decentralized model where the computation could occur over many administrative domains.

  4. Ownership: A grid is a collection of computers which is owned by multiple parties in multiple locations and connected together so that users can share the combined power of resources. Whereas a cloud is a collection of computers usually owned by a single party.

Examples

Examples of Clouds: Amazon Web Services (AWS), Google App Engine, Dropbox, Gmail, Facebook, Youtube, Rapidshare

Examples of Grids: FutureGrid