29
Development Methodologies Standards and Framework Distributed Systems

Distributed computing

Embed Size (px)

DESCRIPTION

Distributed Computing - Advance Operating System

Citation preview

Page 1: Distributed computing

Development Methodologies Standards and Framework

Distributed Systems

Page 2: Distributed computing

Development Methodologies Standards and Framework

Topics

Distributed Systems

Distributed Operating Systems

Modern Operating Systems

Page 3: Distributed computing

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

Page 4: Distributed computing

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)

Page 5: Distributed computing

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

Page 6: Distributed computing

Development Methodologies Standards and Framework

Case 1: Happy case

Work time arrival = 10 am Expected time = 30 min work completed = ??

(Works 10am – 6pm)

Page 7: Distributed computing

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) = ??

Page 8: Distributed computing

Development Methodologies Standards and Framework

Case 3: 30 5 1

Page 9: Distributed computing

Development Methodologies Standards and Framework

Case 4

10 5 1 8 7

Page 10: Distributed computing

Development Methodologies Standards and Framework

Actually Owner = Programs

Servant = Processor

Work = Set of Instructions

Page 11: Distributed computing

Development Methodologies Standards and Framework

• Power word filezilla notepad vlc

Page 12: Distributed computing

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

Page 13: Distributed computing

Development Methodologies Standards and Framework

Till now the story we studied is of uniprocessor

Page 14: Distributed computing

Development Methodologies Standards and Framework

Terminologies

Multiprogramming Multitasking Multiuser Multiprocessing Timesharing

Page 15: Distributed computing

Development Methodologies Standards and Framework

Farmer Story Hint – Union is Strength

Bundle of Sticks

Page 16: Distributed computing

Development Methodologies Standards and Framework

Distributed Operating System S1 S2 computer network (APSTNDP)

(Torrent)

Page 17: Distributed computing

Development Methodologies Standards and Framework

Why Distribution

Hardware/software heterogeneity Overcome geographic separation Resource sharing (e.g., shared file server) Reliability Availability

Page 18: Distributed computing

Development Methodologies Standards and Framework

computing

Parallel Distributed

Multi Computers Multiprocessor

Tightly CoupledLoosely Coupled

Page 19: Distributed computing

Development Methodologies Standards and Framework

Basic Architecture

Page 20: Distributed computing

Development Methodologies Standards and Framework

Different Architecture

Client – Server 3 - Tier Architecture N - Tier Architecture P2P

Page 21: Distributed computing

Development Methodologies Standards and Framework

Page 22: Distributed computing

Development Methodologies Standards and Framework

Transparency Access Migration

Relocation Réplication

Concurrency FailurePersistance

Page 23: Distributed computing

Development Methodologies Standards and Framework

Issues

Global Knowledge Naming Scalability Compatibility Process Synchronization Resource Management Security

Page 24: Distributed computing

Development Methodologies Standards and Framework

Scalability

Page 25: Distributed computing

Development Methodologies Standards and Framework

Inherent limitation

Absence of Global Clock

Absence of Shared Memory

Page 26: Distributed computing

Development Methodologies Standards and Framework

Examples

• Web• Email• DNS• Peer-to-peer systems (file sharing, CDNs, cycle sharing)

Page 27: Distributed computing

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.

Page 28: Distributed computing

Development Methodologies Standards and Framework

Challenges Distributed Mutual Exclusion Distributed Deadlock Detection Agreement Protocol Distributed File System Distributed Scheduling Recovery Protection & Security

Page 29: Distributed computing

Development Methodologies Standards and Framework

Is Distribution Always Good ??