



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




CS 7210 - Midterm – March 2007 Closed book and closed notes Your Name: Prof. Schwan Please make time to work on each question in this exam. Partial credit will be given whenever possible. 1) Short questions: 60 mins. (questions marked with * have more weight) a*. A certain class of actions in multi-player games and in other applications concerns what is typically termed ‘presence’, which is knowledge about what other actors are doing (i.e., about their current state) useful for guiding current action. Outline two theoretical issues you would have to solve for distributed algorithms that implement the notion of `presence’ in peer to peer applications (i.e., no servers). Also mention at least one practical implementation issue. (Hint: consider the MyMaze paper). b. Game servers that use partitioned state spaces are subject to load imbalances. Explain that, then come up with one approach to deal with them.
c. Explain why scalar clocks, as defined by Lamport, are not strongly consistent. Present the argument both formally and informally. d. In Reference Broadcasts, certain assumptions are made about the underlying physical systems to attain synchronization. Recalling the categories Send Time, Access Time, Propagation Time, and Receive Time, explain those assumptions.
therefore, could not be the ones to cause bugs or give rise to race conditions). Speculate on whether algorithms that identify concurrency or not concurrency for events are/are not less complex to implement than algorithms that determine causality. g. Explain the Failstop and Byzantine failure models. Then argue why in asynchronous systems, N> 3F processes are needed for when no more than F processes can be faulty in a system of N processes (in an asynchronous system for which we wish to guarantee liveness and safety) h. Explain the notion of fault scalability in systems trying to attain fault tolerance for a byzantine (or for that matter, for any) fault tolerant system. Then, rather than commenting on the paper studied in the course, construct an example of and solution for fault scalability in a failstop system (Hint: consider fault prediction and/or number of faults per time).
2) Medium Length Question (20 mins.):