View Full Document

A Pretty Flexible API for Generic Peer to Peer Programming



View the full content.
View Full Document
View Full Document

1 views

Unformatted text preview:

A Pretty Flexible API for Generic Peer to Peer Programming Giuseppe Ciaccio DISI Universita di Genova via Dodecaneso 35 16146 Genova Italy E mail ciaccio disi unige it Abstract We propose and motivate an API for programming distributed applications using a structured overlay network of peers as infrastructure The API o ers simple primitives and powerful mechanisms in a way that is independent from the underlying overlay The dynamic set of participants is abstracted by providing a at space of keys transparently scattered across all participants in the overlay The API primitives allow application instances to send messages towards individual keys Two di erent kinds of messages can be exchanged namely unidirectional and request response the latter takes place in a splitphase non blocking way so that the application can be made latency tolerant and thus more performing The request response pattern is also shown to be crucial for those applications demanding a degree of user anonymity The semantics of messages is not de ned by the API itself Rather the API o ers a mechanism to allow the application to set up handlers which are upcalls to run upon message arrivals at each peer The overall behaviour of the application is thus shaped by the handlers The API also allows to de ne application level handlers for other two typical tasks of any dynamic peerto peer system namely the migration of keys across peers after new peer arrivals and the regeneration of missing keys after peer departures 1 Introduction and motivation Overlay networks both structured 23 8 16 19 15 and unstructured 6 2 have been receiving a lot of This research is supported by the Italian FIRB project Webminds 1 4244 0910 1 07 20 00 2007 IEEE attention by the research community as exible and scalable low level infrastructures for distributed applications of many kinds especially those ones based on the peer to peer p2p paradigm They have also been proposed as generic networking infrastructures 11 22 13



Access the best Study Guides, Lecture Notes and Practice Exams

Loading Unlocking...
Login

Join to view A Pretty Flexible API for Generic Peer to Peer Programming and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view A Pretty Flexible API for Generic Peer to Peer Programming and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?