3. 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
4. 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
5. 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
6. Case 1:
Happy case
Work time arrival = 10 am
Expected time = 30 min
work completed = ??
(Works 10am – 6pm)
Development Methodologies Standards and
Framework
7. 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
12. 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
13. Till
now the story we studied is of
uniprocessor
Development Methodologies Standards and
Framework
26. Examples
• Web
• Email
• DNS
• Peer-to-peer systems (file sharing, CDNs,
cycle sharing)
Development Methodologies Standards and
Framework
27. 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