CC UNIT-1
CC UNIT-1
Unit-1
Ans: Distributed System is a collection of autonomous computer systems that are physically
separated but are connected by a centralized computer network that is equipped with
distributed system software. The autonomous computers will communicate among each
system by sharing resources and files and performing the tasks assigned to them.
Any Social Media can have its Centralized Computer Network as its Headquarters and
computer systems that can be accessed by any user and using their services will be the
Autonomous Systems in the Distributed System Architecture.
Database: It is used to store the processed data that are processed by each Node/System
of the Distributed systems that are connected to the Centralized network.
As we can see that each Autonomous System has a common Application that can have its
own data that is shared by the Centralized Database System.
Middleware Services enable some services which are not present in the local systems or
centralized system default by acting as an interface between the Centralized System and
the local systems. By using components of Middleware Services systems communicate
and manage data.
The Data which is been transferred through the database will be divided into segments or
modules and shared with Autonomous systems for processing.
The Data will be processed and then will be transferred to the Centralized system through
the network and will be stored in the database
Education: E-learning.
Ans:
Cluster computing is a collection of tightly or loosely connected computers that work
together so that they act as a single entity. The connected computers execute operations all
together thus creating the idea of a single system. The clusters are generally connected
through fast local area networks (LANs)
Cluster Computing
2. It resolves the demand for content criticality and process services in a faster way.
2. Load-balancing clusters :
Incoming requests are distributed for resources among several nodes running similar programs or
having similar content. This prevents any single node from receiving a disproportionate amount
of task. This type of distribution is generally used in a web-hosting environment.
HA clusters are designed to maintain redundant nodes that can act as backup systems in case any
failure occurs. Consistent computing services like business activities, complicated databases,
customer services like e-websites and network file distribution are provided. They are designed
to give uninterrupted data availability to the customers.
Classification of Cluster :
1. Open Cluster :
IPs are needed by every node and those are accessed only through the internet or web. This type
of cluster causes enhanced security concerns.
2. Close Cluster :
The nodes are hidden behind the gateway node, and they provide increased protection. They
need fewer IP addresses and are good for computational tasks.
A node – Either a single or a multiprocessor network having memory, input and output
functions and an operating system.
Two or more nodes are connected on a single line or every node might be connected
individually through a LAN connection
1. Cluster Nodes
Cluster Components
1. High Performance :
The systems offer better and enhanced performance than that of mainframe computer networks.
2. Easy to manage :
3. Scalable :
4. Expandability :
Computer clusters can be expanded easily by adding additional computers to the network.
Cluster computing is capable of combining several additional resources or the networks to the
existing computer system.
5. Availability :
The other nodes will be active when one node gets failed and will function as a proxy for the
failed node. This makes sure for enhanced availability.
6. Flexibility :
1. High cost :
It is not so much cost-effective due to its high hardware and its design.
Infrastructure may increase as more servers are needed to manage and monitor.
Weather forecasting.
Image Rendering.
Earthquake Simulation.
Working:
A Grid computing network mainly consists of these three types of machines
2. Provider: The computer contributes its resources to the network resource pool.
When a computer makes a request for resources to the control node, the control node gives
the user access to the resources available on the network. When it is not in use it should
ideally contribute its resources to the network. Hence a normal computer on the node can
swing in between being a user or a provider based on its needs. The nodes may consist of
machines with similar platforms using the same OS called homogeneous networks, else
machines with different platforms running on various different OSs called heterogeneous
networks. This is the distinguishing part of grid computing from other distributed computing
architectures.
For controlling the network and its resources a software/networking protocol is used
generally known as Middleware. This is responsible for administrating the network and the
control nodes are merely its executors. As a grid computing system should use only unused
resources of a computer, it is the job of the control node that any provider is not overloaded
with tasks.
Another job of the middleware is to authorize any process that is being executed on the
network. In a grid computing system, a provider gives permission to the user to run anything
on its computer, hence it is a huge security threat to the network. Hence a middleware should
ensure that there is no unwanted task being executed on the network.
The meaning of the term Grid Computing has changed over the years, according to “The
Grid: Blueprint for a new computing infrastructure” by Ian Foster and Carl Kesselman
published in 1999, the idea was to consume computing power like electricity is consumed
from a power grid. This idea is similar to the current concept of cloud computing, whereas
now grid computing is viewed as a distributed collaborative network. Currently, grid
computing is being used in various institutions to solve a lot of mathematical, analytical, and
physics problems.
1. It is not centralized, as there are no servers required, except the control node which is just
used for controlling and not for processing.
2. Multiple heterogeneous machines i.e. machines with different Operating Systems can use
a single grid computing network.
3. Tasks can be performed parallelly across various physical locations and the users don’t
have to pay for them (with money).
3. Licensing across many servers may make it prohibitive for some applications.
5. Trouble in the control node can come to halt in the whole network.
4. Describe Virtualization in Cloud Computing?
Ans:
In other words, one of the main cost-effective, hardware-reducing, and energy-saving techniques
used by cloud providers is Virtualization. Virtualization allows sharing of a single physical
instance of a resource or an application among multiple customers and organizations at one time.
It does this by assigning a logical name to physical storage and providing a pointer to that
physical resource on demand. The term virtualization is often synonymous with hardware
virtualization, which plays a fundamental role in efficiently delivering Infrastructure-as-a-
Service (IaaS) solutions for cloud computing. Moreover, virtualization technologies provide a
virtual environment for not only executing applications but also for storage, memory, and
networking.
Virtualization
Host Machine: The machine on which the virtual machine is going to be built is known as
Host Machine.
Drawback of Virtualization
High Initial Investment: Clouds have a very high initial investment, but it is also true
that it will help in reducing the cost of companies.
Risk of Data: Hosting data on third-party resources can lead to putting the data at risk, it
has the chance of getting attacked by any hacker or cracker very easily
Ans: Cloud Computing is the delivery of computing services such as servers, storage,
databases, networking, software, analytics, intelligence, and more, over the Cloud (Internet).
Cloud Computing provides an alternative to the on-premises datacentre. With an on-premises
datacentre, we have to manage everything, such as purchasing and installing hardware,
virtualization, installing the operating system, and any other required applications, setting up the
network, configuring the firewall, and setting up storage for data. After doing all the set-up, we
become responsible for maintaining it through its entire lifecycle.
But if we choose Cloud Computing, a cloud vendor is responsible for the hardware purchase and
maintenance. They also provide a wide variety of software and platform as a service. We can
take any required services on rent. The cloud computing services will be charged based on usage.
The cloud environment provides an easily accessible online portal that makes handy for the user
to manage the compute, storage, network, and application resources. Some cloud service
providers are in the following figure.
Ans: Cloud Computing can be defined as the practice of using a network of remote servers
hosted on the Internet to store, manage, and process data, rather than a local server or a
personal computer. Companies offering such kinds of cloud computing services are
called cloud providers and typically charge for cloud computing services based on usage.
Grids and clusters are the foundations for cloud computing.
Software-as-a-Service (SaaS) is a way of delivering services and applications over the Internet.
The SaaS applications are sometimes called Web-based software, on-demand software, or
hosted software.
Platform as a Service
PaaS is a category of cloud computing that provides a platform and environment to allow
developers to build applications and services over the internet.
Thus, the development and deployment of the application take place independent of the
hardware
Infrastructure as a Service
It simply provides the underlying operating systems, security, networking, and servers for
developing such applications, and services, and deploying development tools, databases, etc.
Anything as a Service
It is also known as Everything as a Service. Most of the cloud service providers nowadays
offer anything as a service that is a compilation of all of the above services including some
additional services.
Function as a Service
FaaS is a type of cloud computing service. It provides a platform for its users or customers to
develop, compute, run and deploy the code or entire application as functions.Customer does
not have clue about any servers which is why they do not need to maintain the server hence it
is serverless architecture.
Ans:
Cloud Computing:
Cloud Computing is a Client-server computing architecture. In cloud computing, resources are
used in centralized pattern and cloud computing is a high accessible service. It is a pay and use
business means, in cloud computing, the users pay for the use
Grid Computing:
Grid Computing is a Distributed computing architecture. In grid computing, resources are used
in collaborative pattern, and also in grid computing, the users do not pay for use.
Let’s see the difference between cloud and grid computing which are given below:
Cloud computing is a
2. While grid computing is a decentralized executive.
centralized executive.
S.NO Cloud Computing Grid Computing
In cloud computing, the users While in grid computing, the users do not pay for
5.
pay for the use. use.