Title :
OS support for P2P programming: a case for TPS
Author :
Baehni, Sébastien ; Eugster, Patrick Th ; Guerraoui, Rachid
Author_Institution :
Distributed Programming Lab., Swiss Fed. Inst. of Technol., Lausanne, Switzerland
Abstract :
Just as the remote procedure call (RPC) turned out to be a very effective OS abstraction in building client-server applications over LANs, type-based publish-subscribe (TPS) can be viewed as a high-level candidate abstraction for building peer-to-peer (P2P) applications over WANs. This paper relates our preliminary, though positive, experience of implementing and using TPS over JXTA, which can be viewed as the P2P counterpart to sockets. We show that, at least for P2P applications with the Java type model, TPS provides a high-level programming support that ensures type safety and encapsulation, without hampering the decoupled nature of these applications. Furthermore, the loss of flexibility (inherent to the use of any high level abstraction) and the performance overhead, are negligible with respect to the simplicity gained by using TPS.
Keywords :
Java; data encapsulation; distributed programming; information dissemination; information needs; network operating systems; JXTA; Java type model; OS support; WANs; encapsulation; high-level candidate abstraction; high-level programming support; peer-to-peer programming; type safety; type-based publish-subscribe; Computer aided software engineering; Encapsulation; Internet; Java; Libraries; Operating systems; Peer to peer computing; Protocols; Safety; Sockets;
Conference_Titel :
Distributed Computing Systems, 2002. Proceedings. 22nd International Conference on
Print_ISBN :
0-7695-1585-1
DOI :
10.1109/ICDCS.2002.1022273