OS support for P2P programming: a case for TPS

S. Baehni, P.T. Eugster, R. Guerraoui
Proceedings 22nd International Conference on Distributed Computing Systems  
Just like 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
more » ... ons 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.
doi:10.1109/icdcs.2002.1022273 dblp:conf/icdcs/BaehniEG02 fatcat:a4qxrpjb3jdmjg7dd46ipczzfm