Sri Raghavendra Educational Institutions Society (R)
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
www.skit.org.in
Module-1: Distributed System Models and Enabling Technologies
Course: Cloud Computing and Security
2
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Module-1: Distributed System Models and Enabling Technologies
3
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Over the past 60 years, computing technology has undergone a series of platform and environment changes. In this section, we assess progressive changes in machine architecture, operating system platform, network connectivity, and application workload. Instead of using a centralized computer to solve computational problems, a parallel and distributed computing system uses multiple computers to solve large-scale problems over the Internet. Thus, distributed computing becomes data-intensive and network-centric.
4
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Old performance measurement tools, such as Linpack Benchmark, are no longer Right for modern demands.Instead,cloud computing requires High-Throughput Computing (HTC), which processes massive amounts of data in parallel and distributed computing.
To meet growing demand, data centers require modifications, which include:
1.Faster servers for quicker processing.
2.Advanced storage systems for managing large data.
3.High-speed networks provide quick communication.
5
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
1950–1970: Large businesses and governments used mainframe computers like IBM 360 and CDC 6400
1960–1980: Minicomputers became cost-effective for small businesses and higher education.
1970–1990: Personal computers (PCs) became common, powered by VLSI microprocessors.
1980–2000: Portable computers and wireless devices were widely used.
1990–Present: High-performance computing (HPC) and high-throughput computing (HTC) systems became fundamental.
Modern Computing Trends
HPC (High-Performance Computing): Supercomputers are now replaced by clusters of computers working together.
HTC (High-Throughput Computing): Focuses on handling large amounts of data using cloud computing, P2P networks, and web services.
Peer-to-Peer (P2P) Networks: Used for file sharing and content delivery across many computers.
Grid Computing: Uses clustering and P2P to build large-scale computing networks.
6
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Fig:- Evolutionary trend toward parallel, distributed, and cloud computing with clusters, MPPs, P2P networks, grids,clouds, web services, and the Internet of Things.
7
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
High-Performance Computing
For many years, High-Performance Computing (HPC) focused on speed, improving from billions of calculations per second (Gflops) in the 1990s to quadrillions of calculations per second (Pflops) by 2010.
8
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
High-Throughput Computing
High-Throughput Computing (HTC) focuses on handling many tasks at the same time rather than just speed.
9
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Three New Computing Paradigms
With new technologies, computing is evolving in many ways:
1.Service-Oriented Architecture (SOA) has led to Web 2.0 services, making the Internet more interactive.
2.Virtualization has helped the growth of cloud computing, where computing power is provided over the Internet.
3.IoT (Internet of Things) has emerged due to advances in RFID, GPS, and sensors, connecting everyday devices to the Internet.
How Computing Has Changed Over Time
10
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Computing Paradigm Distinctions
Computing has evolved into several distinct paradigms (models), each with its own architecture and use cases. These include centralized computing, parallel computing, distributed computing, and cloud computing.
1. Centralized Computing
In centralized computing, all computing resources, including processors, memory, and storage, are located in a single system, managed by one operating system, while other devices (like terminals) connect to this central system for computing tasks.
Centralized computing involves a single system where all computing resources (processors, memory, and storage) are managed by one operating system, with other devices (like terminals) connecting to it for computing tasks.
Data Centers – Centralized storage and computing for cloud services.
Pros & Cons:
✔ Highly scalable – Can handle any workload by adding more resources.
✔ Accessible from anywhere – Users can access data from any device.
✔ Cost-effective – Users only pay for what they use
✖ Internet dependency – Requires a fast, stable connection.
11
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
2. Parallel Computing
Multiple processors work altogether on different parts of a problem to solve it faster, using either shared (centralized) or separate (distributed) memory.
Shared Memory Parallelism –:Processors share the same memory.
Distributed Memory Parallelism –: Each processor has its own memory and communicates via messages.
Multi-Core Processors –: Found in modern laptops, desktops, and smartphones.
Pros & Cons:
✔ Faster processing – Reduces computation time.
✔ Efficient use of multiple processors.
✖ High energy c– More processors require more power.
�
12
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
3. Distributed Computing:
Google Search Engine
Pros & Cons:
✔ Scalability – Can handle large amounts of data by adding more computers as needed.
✔ Fault Tolerance: If one computer fails, others can take over, making the system more reliable.
✖ Complexity– Designing and managing distributed systems is more complicated.
✖ Security Risks – Data is spread across multiple machines, making it vulnerable to cyber threats.
�
13
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
4. Cloud Computing:
Google Drive
Pros & Cons:
✔ Cost-effective – No need to buy expensive hardware or maintain IT infrastructure.
✔ Scalability – Easily increase or decrease resources as needed.
✖ Internet Dependency – Requires a stable internet connection to access resources.
✖ Limited Control – Users rely on cloud providers for maintenance and performance.
�
14
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Distributed System Families:
b. Different Computing Systems:
�
15
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Distributed System Families:
c. Future Computing Needs:
d. Importance of efficiency:
�
16
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Objectives:
�
17
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Scalable Computing Trends and New Paradigms:
18
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Degrees of Parallelism:
19
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Innovative Applications
20
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
The Trend toward Utility Computing
Fig: The vision of computer utilities in modern distributed computing systems.
21
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
The Hype Cycle of New Technologies
Technology Trigger:-A breakthrough, new innovation, or discovery sparks interest. Early adopters and media attention create excitement.
Peak of Inflated Expectations:-Overhyped claims lead to unrealistic expectations.Many companies jump on board, leading to high investment and speculation.
Trough of Disillusionment:-People realize the technology isn’t perfect, and interest drops.
Slope of Enlightenment:-Successful use cases and refinements emerge.Adoption starts to increase as the technology proves its value in real-world applications.
Plateau of Productivity:-The technology becomes widely adopted and standardized.It is now a stable, mature solution integrated into industries.
22
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Internet of Things (IoT) – Connecting everyday objects (like smart home devices, cars) to the Internet for data exchange and automation.
Cyber-Physical Systems (CPS) – Integrating computers with physical systems (like smart grids, self-driving cars, and industrial automation) to enhance efficiency and control.
The Internet of Things
The traditional Internet connects computers and web pages, but IoT (introduced in 1999 at MIT) connects everyday objects (like smart devices, tools, and appliances) to the Internet. Think of it as a giant wireless network of sensors that links everything around us.
Key Features of IoT:
Uses RFID, GPS, and sensors to tag and track objects.
IPv6 allows massive scalability, supporting 100 trillion objects.
IoT is growing fast, especially in Asia and Europe.
23
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
IoT Communication Types:
IoT Vision for the Future:
A smart Earth with intelligent, green energy, smart transportation, and better healthcare.Cloud computing will help make IoT faster, smarter, and more efficient.
24
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Cyber-Physical Systems:-
A Cyber-Physical System (CPS) connects computers with the physical world, creating smart, automated systems. It combines communication, and control to form an intelligent feedback system between the real and digital worlds.
IoT vs. CPS:-
IoT focuses on connecting objects (e.g., smart devices, sensors).
CPS focuses on controlling and interacting with the physical world (e.g., self-driving cars, smart factories).
25
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
TECHNOLOGIES FOR NETWORK-BASED SYSTEMS
With the concept of scalable computing under our, it’s time to explore hardware, software, and network technologies for distributed computing system design and applications. In particular, we will focus on suitable approaches to building distributed operating systems for handling massive parallelism in a distributed environment.
1. Processor Speed (MIPS - Millions of Instructions Per Second)
2. Network Bandwidth (Mbps Megabits per second & Gbps Gigabits per second )
.
26
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
3. Impact on HPC and HTC
HPC (High-Performance Computing) focuses on solving complex problems using parallel computing (e.g., supercomputers, scientific simulations).
HTC (High-Throughput Computing) focuses on processing large volumes of tasks over time (e.g., cloud computing, big data analytics).
Faster processors and higher network bandwidths enable massive parallelism, reducing computation time and increasing efficiency.
27
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Advances in CPU Processors:
28
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Schematic of a modern multicore CPU chip using a hierarchy of caches
29
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
30
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Multicore CPU and Many-core GPU architectures
31
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Multithreading Technology
32
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
GPU Computing to Exascale and Beyond
How GPUs Work?
33
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
GPU Programming Model
The use of a GPU along with a CPU for massively parallel execution in hundreds or thousands of processing
cores
34
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Example 1: The NVIDIA Fermi GPU Chip with 512 CUDA Core
35
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continuation of GPU Programming Model
In the future, GPUs with thousands of cores may power supercomputers that can perform 10¹⁸ calculations per second. These systems will combine both CPUs and GPUs. A 2008 DARPA report highlighted four key challenges: (1) saving energy, (2) improving memory and storage, (3) handling many tasks at once, and (4) making systems more reliable. GPUs are improving in speed, power efficiency, and ease of use along with CPUs.
NVIDIA Fermi GPU built with 16 streaming multiprocessors
36
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Power Efficiency of GPU
GPU Performance Curve
37
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Memory, Storage and Wide-Area Networking
38
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
IV. Wide-Area Networking: Ethernet bandwidth grew rapidly from 10Mbps in 1979 to 1 Gbps in 1999, and reached 40 to 100 Gbps by 2011. It was expected that 1 Tbps network links would be available by 2013. In 2006, network speeds pf 1,000 Gbps for international connections, 1000 Gbps for national, 100 Gbps for organizations, 10 Gbps for optical desktops, and 1 Gbps for copper desktops were reported. Network performance was increasing twice as fast each year., even faster than CPU speeds. This allows more computers to work together, enabling massively distributed systems. According to an IDC report in 2010, InfiniBand and Ethernet were predicted to be the main choices for high-performance computing, with most data centers using Gigabit Ethernet for connecting server clusters.
39
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Virtual Machines and Virtualization Middleware:
40
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Virtual Machines
A Virtual Machine (VM) is like running a separate computer inside your main computer. It allows you to use different operating systems (OS) on the same hardware.
Components of Virtual Machines
1. Host Machine – The physical computer (e.g., a laptop or server).
2. Host OS – The main operating system installed on the computer (e.g., Windows, Linux, macOS).
3. Virtual Machine Monitor (VMM) / Hypervisor – Software that creates and manages VMs.
4. Guest OS – The OS running inside the VM, which can be different from the host OS.
Types of Virtual Machine Architectures
1. Bare-Metal (Native) VM: The hypervisor runs directly on the hardware without needing a host OS.
Example: Xen hypervisor on an x86 machine running Linux as the guest OS.
Advantage: More efficient because it directly controls CPU, memory, and I/O.
Used in: Data centers, cloud computing.
41
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
2. Host-Based VM: The hypervisor runs on top of an existing host OS.
Example: Running Linux inside Windows using VirtualBox or VMware Workstation.
Advantage: Easier to set up and use.
Used in: Personal computing, software testing.
3. Hybrid (Dual-Mode) VM: Some parts of the VMM run in user mode, and some in privileged mode.
Advantage: Balances flexibility and performance but may require modifying the host OS.
Used in: Advanced virtualization setups.
Benefits of Virtual Machines
✅ Run multiple OS on one machine (e.g., Windows and Linux together).
✅ Isolate applications for security and testing.
✅ Easily move and copy VMs to different machines.
✅ Efficient resource usage in cloud computing and servers.
42
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
VM Primitive Operation
A Virtual Machine Monitor (VMM) provides the VM abstraction to the guest OS. In full virtualization, the VMM makes the VM look exactly like a physical machine. This means operating systems like Windows or Linux can run inside the VM just like they would on real hardware.
43
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Virtual Infrastructures
physical resources like compute (CPU, RAM), storage, and networking are at the bottom, while applications running inside VMs are at the top. Virtual infrastructure is what connects these resources to applications, making everything more efficient.
Virtual Infrastructure Works ?
Hardware and software are separated – Applications do not directly interact with hardware. Instead, they run inside VMs that use virtualized resources.
Dynamic resource allocation – System resources (CPU, memory, storage, networking) are assigned to applications as needed.
Better efficiency – Resources are shared among multiple VMs instead of being locked to one application.
Lower costs – Instead of many separate servers, multiple applications can run on fewer physical machines.
44
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Data Center Virtualization for Cloud Computing:
A data center is a facility that houses many servers, storage, and networking equipment to support cloud computing. Instead of focusing only on speed, modern data centers prioritize cost efficiency, storage, and energy savings.
Data Center Growth and Cost Breakdown:
A data center can have hundreds or thousands of servers, depending on its size. Over time, the cost of maintaining and running data centers has increased, even though the price of servers has remained stable
How Data Center Costs are Distributed?
45
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Low-Cost Design Philosophy
Building a data center requires networking equipment like switches and routers to connect servers. However, high-end networking hardware is expensive, making it impractical for cloud computing providers operating on a fixed budget.
Convergence of Technologies
Cloud computing combines multiple technologies to offer computing resources on demand. It is powered by advances in hardware, networking, software, and automation.
Four Key Technologies Enabling Cloud Computing
1. Hardware Virtualization & Multi-Core Chips
Virtualization allows multiple virtual machines (VMs) to run on a single physical server.
Multi-core processors improve computing power, enabling efficient cloud operations.
2. Utility & Grid Computing
Utility computing → Computing resources are provided like electricity or water (pay-as-you-go model).
Grid computing → Multiple computers work together to solve large-scale tasks.
3.SOA, Web 2.0, and Web Services Mashups
Service-Oriented Architecture (SOA) → Applications are built using reusable service components.
Web 2.0 → User-driven web applications (social media, wikis, blogs).
Mashups → Combining different web services to create new applications.
46
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
4. Autonomic Computing & Data Center Automation
Autonomic computing → Systems manage themselves (self-healing, self-configuring).
Automation → Data centers use AI-driven tools for maintenance and optimization.
Role of Cloud Computing in Data Science
1. Cloud computing enables e-science – Scientists in fields like biology, chemistry, and physics use cloud platforms for research.
2. Data-Intensive Computing – Large datasets require specialized workflows, databases, and algorithms.
3. MapReduce for Big Data Processing
47
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
SYSTEM MODELS FOR DISTRIBUTED AND CLOUD COMPUTING
Distributed and cloud computing systems connect multiple computers (called nodes) to work together. These computers are linked through different types of networks:
48
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Clusters of Cooperative Computers
A computing cluster consists of interconnected stand-alone computers which work cooperatively as a single integrated computing resource. In the past, clustered computer systems have demonstrated impressive results in handling heavy workloads with large data sets.
Cluster Architecture
Cluster Structure – A group of computers (nodes) working together using fast networks like SAN (Myrinet) or LAN (Ethernet) for quick communication.
Scalability & Networking – Clusters grow by adding more nodes and using multi-level networks like Gigabit Ethernet, Myrinet, or InfiniBand for high-speed connections.
Internet Connectivity – A VPN(virtual private network) gateway with a public IP connects the cluster to the Internet, allowing secure remote access to users.
Operating System & Resource Management – Each node runs its own OS, meaning clusters often have multiple system images, allowing flexibility in software and application usage.
49
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
50
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Single-System Image
Single-System Image (SSI) makes multiple computers in a cluster appear as one unified system to users and applications.
Seamless Resource Sharing – Enables sharing of CPUs, memory, and I/O across all cluster nodes.
Improved Performance – Enhances efficiency, scalability, and workload balancing in distributed computing.
Software & Middleware Role – Creates the illusion of a single system by managing resources collectively.
Hardware, Software, and Middleware Support
Cluster Components – Built using PCs, workstations, servers, or SMPs(switched-mode power supply), interconnected via high-bandwidth networks like Gigabit Ethernet, Myrinet, or InfiniBand.
Parallel Processing – Clusters designed for massive parallelism (MPP)[using a large number of computer processors (or separate computers) to simultaneously perform a set of coordinated computations in parallel] use PVM (Parallel Virtual Machine) or MPI (message passing interface) software for communication and typically run on Linux OS.
Middleware for SSI & HA – Special middleware enables Single-System Image (SSI) or High Availability (HA), allowing clusters to function efficiently.
Virtualization in Clusters – Virtualization enables the creation of virtual clusters on demand, improving flexibility, scalability, and cloud computing integration.
51
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Major Cluster Design Issues
Lack of a Cluster-Wide OS – There is no single OS that can fully manage all resources across a cluster, requiring middleware or OS extensions for resource sharing.
Role of Middleware – Middleware enables Single-System Image (SSI) and helps nodes work together efficiently for cooperative computing.
Performance & Scalability – Clusters rely on efficient message passing, high availability, and fault tolerance to ensure scalable performance and reliability.
Cluster-Wide Job Management – Middleware handles job scheduling, resource allocation, and workload balancing across all nodes for optimal efficiency.
Grid Computing Infrastructures
Evolution from Internet to Grid – Computing has progressed from basic internet services (Telnet) to web services (HTTP) and now grid computing, enabling real-time interaction across distant computers.
Grid Computing Concept – It allows multiple applications to run simultaneously across remote machines, facilitating resource sharing and collaboration.
Impact on IT Growth – Forbes predicted a 20x increase in the IT economy from $1T (2001) to $20T (2015), with grid computing playing a crucial role in this expansion.
52
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
53
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Computational Grids
Grid as a Computing Utility – Just like a power grid provides electricity, a computational grid connects computers, software, middleware, and sensors to create a shared computing infrastructure across LAN, WAN, or the Internet.
Resource Integration – Organizations combine workstations, servers, clusters, and supercomputers to form a virtual platform for computational tasks. Users access the grid via PCs, laptops, or mobile devices.
Grid Families
Grid Technology Requirements – Grids require new computing models, middleware, network protocols, and hardware to function efficiently.
Industry Adoption – Leading tech companies like IBM, Microsoft, Sun, HP, Dell, Cisco, and EMC have developed their own grid platforms to support different industries.
Emergence of Grid Services – Similar to Internet and web services, Grid Service Providers (GSPs) have rapidly grown, offering computing power and storage as services.
Types of Grids – Grids are mainly classified into two types:
Computational/Data Grids – Used for scientific research and national projects.
P2P Grids – Distributed grids where individual devices share resources dynamically.
54
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
55
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Peer-to-Peer (P2P) Network Families
Client-Server vs. P2P – Traditional client-server networks rely on centralized servers, whereas P2P networks distribute resources among client machines without a dedicated server.
Decentralized Model – In P2P networks, devices (PCs, workstations) act as both clients and servers, enabling direct sharing of resources like computing power, storage, and files.
Physical vs. Logical Levels :
Physical Level – Refers to the actual hardware connections between devices.
Logical Level (Overlay Networks) – A virtual layer that helps organize and manage how peers communicate.
P2P Systems
Dual Role of Nodes – Every peer acts as both a client and a server, contributing system resources (computing power, storage, bandwidth).
Decentralized & Self-Organizing – There is no central authority, coordination, or master-slave relationship. Peers join and leave freely, and the system organizes itself with distributed control.
No Dedicated Network – Unlike clusters or grids, P2P networks do not rely on dedicated interconnects. Instead, they form an ad hoc network over the existing Internet using TCP/IP and NAI protocols.
Dynamic & Scalable – The size and topology of a P2P network constantly change as peers connect and disconnect, making it highly flexible and scalable.
56
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Overlay Networks
Virtual Connectivity – P2P systems form a logical overlay network that maps physical peer machines to virtual connections based on peer IDs.
Dynamic Peer Management – When a new peer joins, its ID is added to the overlay network. When a peer leaves, its ID is removed automatically, ensuring flexible and self-organizing connectivity.
Types of Overlay Networks
P2P Application Families
Distributed File Sharing – P2P networks like Gnutella, Napster, and BitTorrent enable users to share digital content (music, videos, files) directly without a central server.
Collaboration P2P Networks – Platforms like MSN, Skype, and instant messaging services allow real-time communication, including chatting, voice, and video calls over a distributed network.
Distributed P2P Computing – Some P2P systems harness computing power across many machines for tasks like scientific research. SETI@home, for example, uses millions of computers to collectively provide 25 TFlops of processing power.
P2P Platforms for Applications – Technologies like JXTA, .NET, and FightingAID@home offer naming, discovery, security, and resource management, making them useful for building customized P2P solutions.
57
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
P2P Computing Challenges
Scalability and Performance – As workload increases, P2P networks must scale efficiently while ensuring high bandwidth, routing efficiency, and self-organization among peers.
Data Location and Interoperability – Performance depends on data locality (proximity to users), network proximity, and interoperability (smooth integration of different systems).
Reliability and Fault Tolerance – Distributed resources reduce the risk of a single point of failure, but data loss is still possible if replication is not managed properly.
Security and Trust Issues – P2P networks lack centralized control, making security, privacy, and copyright protection difficult. Peers are unverified, leading to risks like malware and unauthorized access.
Management Challenges – The decentralized nature of P2P networks makes system management difficult, requiring advanced failure recovery and load balancing mechanisms.
58
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Cloud Computing Over the Internet
Shift to Data-Intensive Computing – Instead of moving large data sets to workstations, cloud computing sends computations (programs) to the data, improving efficiency.
Centralized Data Centers – IT is transitioning from desktop-based computing to large-scale data centers, providing on-demand access to computing resources.
Cloud as a Virtualized Resource Pool – IBM defines a cloud as a collection of virtualized computing resources that can handle different workloads, from batch jobs to interactive applications.
Scalability & Rapid Deployment – Cloud systems allow workloads to scale up or down quickly using virtual machines (VMs) or physical machines, supporting dynamic resource allocation.
Self-Healing & Fault Tolerance – The cloud is designed with redundancy and automatic recovery, ensuring that failures in hardware or software do not disrupt services.
Real-Time Monitoring & Optimization – Cloud systems continuously track resource usage and rebalance workloads to maintain efficiency and cost-effectiveness.
59
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Internet Clouds
Virtualized & On-Demand Resources – Cloud computing uses virtualization to provide elastic resources (hardware, software, and data) that are provisioned dynamically as needed.
Service-Oriented Architecture – Instead of using local desktop computing, cloud computing shifts workloads to server clusters and large databases in data centers.
Cost-Effective & Scalable – Cloud computing is affordable due to machine virtualization, which allows efficient resource sharing among multiple users.
Multi-Tenant Applications – The cloud is designed to support multiple user applications simultaneously, optimizing resource utilization across different workloads.
Secure & Trustworthy Ecosystem – A well-designed cloud must ensure security, reliability, and trustworthiness, protecting user data and applications.
60
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
The Cloud Landscape
Traditional vs. Cloud Computing
Traditional Distributed Systems – Usually owned and managed by a company or research lab for on-premises computing.
Challenges of Traditional Systems – Require constant maintenance, suffer from underutilization, and have high costs due to frequent hardware/software upgrades.
Cloud Computing Solution – Provides on-demand computing that reduces maintenance, improves utilization, and lowers costs.
Four Cloud Deployment Models
Private Cloud – Dedicated to a single organization, offering better security and control but higher management costs.
Public Cloud – Hosted by third-party providers (e.g., AWS, Azure, GCP), offering scalability and cost-efficiency but with shared infrastructure.
Managed Cloud – A third-party manages the cloud on behalf of the user, ensuring better maintenance and security.
Hybrid Cloud – Combines private and public clouds to balance control, cost, and scalability.
Three Cloud Service Models
Infrastructure as a Service (IaaS)
61
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Platform as a Service (PaaS)
Software as a Service (SaaS)
62
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
SOFTWARE ENVIRONMENTS FOR DISTRIBUTED SYSTEMS AND CLOUDS
Service-Oriented Architecture
1. Entity Representation
In Grids/Web Services, an entity is a service.
In Java-based systems, an entity is a Java object.
In CORBA, an entity is a distributed object supporting multiple programming languages.
2. Layered Architecture
Built on the OSI model for networking.
Uses a base software environment like .NET, Apache Axis (for web services), JVM (for Java), or Broker Networks (for CORBA).
3. Higher-Level Distributed Environment
Sits above the base environment to support distributed computing features.
Implements entity interfaces and inter-entity communication at a logical level.
4. Communication & Interoperability
Web services use SOAP(Simple Object Access Protocol)/REST(REpresentational State Transfer) APIs.
Java-based SOA relies on JVM and middleware.
CORBA(Common Object Request Broker Architecture) uses a brokered system for multi-language support.
63
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Layered Architecture for Web Services and Grids
64
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Web Services and Tools
Loose Coupling & Heterogeneous Support
Services are more flexible than traditional distributed objects.
Web Services and REST offer different approaches to interoperability.
Web Services (SOAP-Based)
Uses SOAP(Simple Object Access Protocol) to fully specify services and their environment.
Acts like a distributed operating system with universal capabilities.
Challenges: Hard to standardize and efficiently implement (e.g., Apache Axis).
REST (Representational State Transfer)
Focuses on simplicity and delegates complex logic to applications.
Uses minimal headers and message bodies for data exchange.
More suitable for fast-evolving technologies (e.g., XML over HTTP).
Integration in Distributed Systems
Java & CORBA use RPCs (Remote Procedure Calls) for linking services.
Java RMI(Java Remote Method Invocation) and CORBA IDL (Interface Definition Language)facilitate distributed object communication.
Grids & Clouds represent collections of services that interact through messaging.
65
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
The Evolution of SOA
66
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Grids Versus Clouds
A cloud of clouds (multiple cloud systems working together).
A grid of clouds (a grid structure using clouds).
A cloud of grids (a cloud managing multiple grids).
Inter-clouds, where different cloud systems interact like a Service-Oriented Architecture (SOA).
67
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Distributed Operating Systems
68
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Amoeba versus DCE(Distributed Computing Environment.)
DCE is a system that helps in distributed computing, and Amoeba was a research project from the Free University in the Netherlands. The Open Software Foundation (OSF) supported DCE, but both Amoeba and DCE, along with MOSIX2, were mainly used for research. They were never developed into successful commercial products. There is still a need for new operating systems that can manage resources better in distributed computing. Instead of using a single central system like traditional operating systems, these new systems should spread the workload across many servers. One way to do this is by creating a lightweight system like Amoeba or improving an existing system like DCE, which is based on UNIX. The main goal is to make resource management easier so that users do not have to handle it themselves.
Transparency in Programming Environments
In a computing system, user data, applications, the operating system (OS), and hardware are treated as separate layers. Users own their data, and it is not tied to any specific application. The OS provides a standard way for applications to interact with it through system calls or programming interfaces. In future cloud systems, hardware will also be separated from the OS using standard interfaces. This means users can choose any OS to run on their preferred hardware. To keep data independent of specific applications, users can use cloud-based applications (SaaS), allowing them to switch between different services without losing access to their data.
69
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Parallel and Distributed Programming Models
70
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Message-Passing Interface
MPI is a standard used to write programs that run on multiple computers at the same time. It is a library with ready-made functions that can be used in C or FORTRAN to create parallel programs for distributed systems. The goal is to improve computing power by connecting multiple computers in clusters, grids, or peer-to-peer (P2P) networks. Besides MPI, another way to do this is by using a tool called PVM, (Parallel Virtual Machine,)which provides lower-level support for distributed programming.
MapReduce
MapReduce is a way to process large amounts of data using many computers at the same time. It is mainly used in web search and cloud computing. The process has two main steps: Map and Reduce. First, the Map function organizes data into key/value pairs. Then, the Reduce function groups and processes data with the same key. This method is very fast and can handle huge amounts of data, even terabytes, across thousands of computers. Big companies like Google use MapReduce to run thousands of tasks every day.
Hadoop Library
Hadoop is a software platform created by Yahoo! that helps process huge amounts of data across many computers. It can handle massive data storage and processing, even in petabytes. Hadoop is cost-effective because it is open-source and includes a free version of MapReduce, which helps manage large tasks efficiently. It works quickly by dividing tasks among many computers at the same time. Hadoop is also reliable because it automatically saves multiple copies of data, so if one computer fails, the system can continue running without losing data.
71
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Open-Grid Services Architecture
Grid computing is designed to support large-scale applications that need to share resources and data across many computers. To make this easier, a standard called OGSA was created for public use of grid services. Genesis II is a system that follows this standard. It provides important features like a distributed environment for running programs, security through Public Key Infrastructure (PKI), a local certificate authority (CA) for authentication, and trust management to ensure safe data sharing in grid computing.
Globus Toolkits and Extensions
Globus is a software library created by researchers in the U.S. to help manage resources in grid computing. It follows OGSA standards to find, allocate, and secure resources in a distributed system. Globus also provides security by using PKI certificates for authentication across multiple sites. The latest version, GT 4, has been in use since 2008. IBM has further improved Globus to make it useful for business applications.
72
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
PERFORMANCE, SECURITY and ENERGY EFFICIENCY
Performance Metrics:
73
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
PERFORMANCE, SECURITY and ENERGY EFFICIENCY
Dimensions of Scalability
74
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
PERFORMANCE, SECURITY and ENERGY EFFICIENCY
Dimensions of Scalability
75
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
PERFORMANCE, SECURITY and ENERGY EFFICIENCY
Scalability versus OS Image Count
76
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
PERFORMANCE, SECURITY and ENERGY EFFICIENCY
Scalability versus OS Image Count
77
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
PERFORMANCE, SECURITY and ENERGY EFFICIENCY
Amdahl’s Law
78
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
PERFORMANCE, SECURITY and ENERGY EFFICIENCY
Problem with Fixed Workload
In Amdahl’s law, we have assumed the same amount of workload for both sequential and parallel execution of the program with a fixed problem size or data set. This was called fixed-workload speedup. To execute a fixed workload on n processors, parallel processing may lead to a system efficiency defined as follows:
Very often the system efficiency is rather low, especially when the cluster size is very large. To execute the aforementioned program on a cluster with n = 256 nodes, extremely low efficiency E = 1/[0.25 × 256 + 0.75] = 1.5% is observed. This is because only a few processors (say, 4) are kept busy, while the majority of the nodes are left idling
79
3/19/2025
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
PERFORMANCE, SECURITY and ENERGY EFFICIENCY
Gustafson’s law