Unriotec.DC v1.0

Rating: No reviews yet
Downloads: 2325
Released: Nov 18, 2007
Updated: Nov 19, 2007 by andrelinslima
Dev status: -not yet defined by owner-

Recommended Download

Application Uniriotec.DC.Client.zip
application, 29K, uploaded Nov 18, 2007 - 992 downloads

Other Available Downloads

Application Uniriotec.DC.Server.zip
application, 16K, uploaded Nov 18, 2007 - 392 downloads
Application Uniriotec.DC.CoordDist.Centralizada.zip
application, 10K, uploaded Nov 18, 2007 - 111 downloads
Application Uniriotec.DC.CoordDist.Distribuida.zip
application, 11K, uploaded Nov 18, 2007 - 111 downloads
Application Uniriotec.DC.CoordDist.Base.Distribuida.zip
application, 10K, uploaded Nov 18, 2007 - 107 downloads
Application Uniriotec.DC.CoordDist.Base.dll
application, 24K, uploaded Nov 18, 2007 - 92 downloads
Application Uniriotec.DC.RTP.dll
application, 20K, uploaded Nov 18, 2007 - 109 downloads
Application Uniriotec.DC.RTSP.dll
application, 28K, uploaded Nov 18, 2007 - 119 downloads
Documentation Uniriotec.DC.doc
documentation, 2170K, uploaded Nov 18, 2007 - 292 downloads

Release Notes

RTSP Server and Client

  • RTSP Server - using RTP to send a MJPEG movie. Looks for the movie on 'C:\', and listen to connections on port 554. Supports SETUP, PLAY (and PLAY from specific point), PAUSE, TEARDOWN
  • RTSP Client - using RTP to receive a MJPEG movie. Supports SETUP, PLAY (and PLAY from specific point), PAUSE, TEARDOWN
Based on the exercise proposed on http://inst.eecs.berkeley.edu/~ee122/sp06/ProgAsgns/pa3.html. The MJPEG format used is explained on the same page. A movie encoded on this format can be downloaded from http://inst.eecs.berkeley.edu/~ee122/sp06/ProgAsgns/movie.Mjpeg

Distributed Coordination - simulations on one computer

  • Uniriotec.DC.CoordDist.Centralizada - Implementation of the centralized approach
  • One process is the coordinator;
  • Whenever a process wants to enter the critical region (CR), it sends a request to the coordinator;
  • The coordinator grants permission to enter the CR. If there is already a process on the CR, the requests are enqueued;
  • Uniriotec.DC.CoordDist.Distribuida - Implementation of the totally distributed approach, uses Lamport's clock syncronization. Ricart and Agrawala’s algorithm.
Requesting the critical section (CS):
  1. When a processor wants to enter the CS, it:
    1. Sends a timestamped request message to all OTHER processors
  2. When a processor receives a request message:
    1. If it is neither requesting nor executing the CS, it returns a reply message
    2. If it is requesting the CS, but the timestamp on the incoming request is smaller than the timestamp on its own request, it returns a reply message. Means the other processor requested first
    3. Otherwise, it defers answering the request. (It is answered once it releases the lock)
  3. Uniriotec.DC.CoordDist.Base - Implements classes to abstract the connection / communication between threads, so that the implementation of the distributed algorithm's simulation is simplified, and only focused on the algorithm itself.
  4. Uniriotec.DC.CoordDist.Base.Distribuida - Sample project, showing the totally distributed approach to mutual exclusion ( Ricart and Agrawala’s algorithm ) again, just to show how to use, the abstraction layer.

Reviews for this release

No reviews yet for this release.