Now the next thing that we need to talk about more type of cloud computing
is clustering or clusters of computers. So what does this mean ? Clusters of
computers is when you set up Multiple different servers so let’s say we have
four servers here. On these servers you install the operating system and then on
top of the operating system you install an application that can be clustered. So
mostly application that can be clustered are database applications, so
databases If you're working in new windows world you may of heard of active directory
clusters if you're dealing with web programming then you heard of my sql
clusters. Well what you would do but lets you have a my sql cluster, you
install my sql database on each of the computers that are in the cluster. You
then however you do it and the piece of software that you're using you know
Microsoft for active directory it’s all different. Then set up the cluster, so
you then connect all these servers with my sql database into a cluster and tell
each computer by about the other one.
What happens in the cluster is that
replication occurs so that every single database in the servers in this cluster
contains the same information. This is very important because now what is going
to be happen is when somebody let’s say from the internet is coming to access
database off one of these clusters they will simply hit the cluster, the
cluster figures out which server this person should be directed to. So let’s
say a lot of people are trying to access of a particular database on the
internet and that database is in a cluster, what's going to happen is they're going
to come from the internet and they're going to come to this cluster ,this cluster
is all talking to each other.
What this cluster does is going to say this
computer right here already has enough connections. The hardware is already being
Inspite .It can't do any more connections so when you coming from the internet
instead of hitting this server you will automatically get rerouted to this
server. Now again as I talk about with clustering all of these computers in the
cluster will replicate information so they will all have the same information
on them. So when the person from the Internet comes in, It said I'm going to
this server he will go to this because this server has less activity on it then
this one. Now let’s say everybody comes from the internet they will be redirected
to a different server in the cluster. This is something called load balancing
so basically if you want to give the best performance possible to your users
that are coming in to use the database ,you use this load balancing in the
cluster and the cluster will automatically direct incoming users to whichever
server has least load on it. Now with this you also have the ability that if
one of the servers fails, then the cluster realizes the server failed and will
not send users true that server.
Great post. Loved it. cloud computing training in chennai
ReplyDelete