Project Assignment in Distributed Systems 2g1509

1 / 8
About This Presentation
Title:

Project Assignment in Distributed Systems 2g1509

Description:

The coordinator used in the centralized ME might fail. What to do? Solution: Elect a new leader! ... access to the critical section (whiteboard), see project ... – PowerPoint PPT presentation

Number of Views:58
Avg rating:3.0/5.0
Slides: 9
Provided by: ali1159

less

Transcript and Presenter's Notes

Title: Project Assignment in Distributed Systems 2g1509


1
Project Assignment in Distributed Systems 2g1509
  • Ali Ghodsi aligh_at_imit.kth.se

2
Administration
  • E-mail aligh_at_kth.se
  • It is okay to ask questions via e-mail
  • Maximum group size is 4
  • Deadline 4th of March 2004
  • 6 bonus points in the exam
  • Seldom correction after that

3
General Project Information
  • Design, program, test and evaluate
  • Distributed Mutual Exclusion
  • Centralized coordinator
  • Ricart-Agrawala
  • Requires Lamport timestamps to resolve ties
  • Token-ring
  • Distributed Leader Election
  • Bully election
  • Ring
  • Use any programming language
  • C/C, Java and Mozart preferred

4
Goal
  • Implement a shared whiteboard
  • Part 1
  • Avoid inconsistent views. What is inconsistent
    views?
  • Solution Distributed ME
  • Part 2
  • The coordinator used in the centralized ME might
    fail. What to do?
  • Solution Elect a new leader!

5
Inconsistent views
  • Three distributed nodes implementing the shared
    whiteboard, each showing

P1
P3
P2
Draw rectangle
P1
Avoid inconsistent views!
Draw circle
P2
Draw triangle
P3
6
Assumptions
  • Who does the drawing on the distributed
    whiteboard?
  • GUI and graphics not required
  • Simple text messages are enough (chat)
  • Simulate access to the critical section
    (whiteboard), see project description
  • How do we fail nodes?
  • See project description
  • Simple algorithm that fails the coordinator with
    some p
  • Simple algorithm that checks the coordinator with
    some q

7
Reporting
  • Presentation during scheduled labs
  • ...and report containing
  • Name, SSN of all members
  • Everything required by the project description
  • Technology Used (MPI, RPC, JXTA, CORBA)
  • Empirical results of the numbers of messages sent
    (discount application specific messages, i.e.
    whiteboard related messages)
  • Source code

8
Good Luck!
Write a Comment
User Comments (0)