Upload
gaurav-khurana
View
396
Download
0
Tags:
Embed Size (px)
DESCRIPTION
Distributed Computing - Advance Operating System
Citation preview
Development Methodologies Standards and Framework
Distributed Systems
Development Methodologies Standards and Framework
Topics
Distributed Systems
Distributed Operating Systems
Modern Operating Systems
Development Methodologies Standards and Framework
Agenda A Servant-owner Scenario
Farmer and his son’s Story How they work What difficulties they face What things they enjoy Solutions for the difficulties
Development Methodologies Standards and Framework
Who is servant?
Works for owner Working timings 1000-0600 Can do one work at a time Treat everyone’s(if more than 1 owner)
work equal. No laziness (No delay)
Development Methodologies Standards and Framework
Owner Work should be done in time if (work == 30 min and tmetocmp = 30 min) { Owner “ Happy”; }No. of owners can increase anytime
Development Methodologies Standards and Framework
Case 1: Happy case
Work time arrival = 10 am Expected time = 30 min work completed = ??
(Works 10am – 6pm)
Development Methodologies Standards and Framework
Case 2: o1 o2
Work arrival(o1)= 10:00 am Expected time = 30 min
Work arrival(o2)= 10:05 am Expected time = 30 min
work completed(o1) = ?? work completed(o2) = ??
Development Methodologies Standards and Framework
Case 3: 30 5 1
Development Methodologies Standards and Framework
Case 4
10 5 1 8 7
Development Methodologies Standards and Framework
Actually Owner = Programs
Servant = Processor
Work = Set of Instructions
Development Methodologies Standards and Framework
• Power word filezilla notepad vlc
Development Methodologies Standards and Framework
Translations
My age is 21 yrs - English int age = 21; - Code Age.cc/Age.java/Age.c - Program Cin>>a;scanf(); - Task a.out/.exe (running) - Process
Development Methodologies Standards and Framework
Till now the story we studied is of uniprocessor
Development Methodologies Standards and Framework
Terminologies
Multiprogramming Multitasking Multiuser Multiprocessing Timesharing
Development Methodologies Standards and Framework
Farmer Story Hint – Union is Strength
Bundle of Sticks
Development Methodologies Standards and Framework
Distributed Operating System S1 S2 computer network (APSTNDP)
(Torrent)
Development Methodologies Standards and Framework
Why Distribution
Hardware/software heterogeneity Overcome geographic separation Resource sharing (e.g., shared file server) Reliability Availability
Development Methodologies Standards and Framework
computing
Parallel Distributed
Multi Computers Multiprocessor
Tightly CoupledLoosely Coupled
Development Methodologies Standards and Framework
Basic Architecture
Development Methodologies Standards and Framework
Different Architecture
Client – Server 3 - Tier Architecture N - Tier Architecture P2P
Development Methodologies Standards and Framework
Development Methodologies Standards and Framework
Transparency Access Migration
Relocation Réplication
Concurrency FailurePersistance
Development Methodologies Standards and Framework
Issues
Global Knowledge Naming Scalability Compatibility Process Synchronization Resource Management Security
Development Methodologies Standards and Framework
Scalability
Development Methodologies Standards and Framework
Inherent limitation
Absence of Global Clock
Absence of Shared Memory
Development Methodologies Standards and Framework
Examples
• Web• Email• DNS• Peer-to-peer systems (file sharing, CDNs, cycle sharing)
Development Methodologies Standards and Framework
8 fallacies of distributed computing
1. The network is reliable. 2. Latency is zero. 3. Bandwidth is infinite. 4. The network is secure. 5. Topology doesn't change. 6. There is one administrator. 7. Transport cost is zero. 8. The network is homogeneous.
Development Methodologies Standards and Framework
Challenges Distributed Mutual Exclusion Distributed Deadlock Detection Agreement Protocol Distributed File System Distributed Scheduling Recovery Protection & Security
Development Methodologies Standards and Framework
Is Distribution Always Good ??