4th International ICST Conference on Communication System Software and Middleware

Research Article

Developing, Simulating, and Deploying Peer-to-Peer Systems using the Kompics Component Model

  • @INPROCEEDINGS{10.1145/1621890.1621911,
        author={Cosmin Arad and Jim Dowling and Seif Haridi},
        title={Developing, Simulating, and Deploying Peer-to-Peer Systems using the Kompics Component Model},
        proceedings={4th International ICST Conference on Communication System Software and Middleware},
        publisher={ACM},
        proceedings_a={COMSWARE},
        year={2010},
        month={5},
        keywords={component model software architecture event-based sys- tems peer-to-peer discrete-event simulation},
        doi={10.1145/1621890.1621911}
    }
    
  • Cosmin Arad
    Jim Dowling
    Seif Haridi
    Year: 2010
    Developing, Simulating, and Deploying Peer-to-Peer Systems using the Kompics Component Model
    COMSWARE
    ACM
    DOI: 10.1145/1621890.1621911
Cosmin Arad1,*, Jim Dowling2,*, Seif Haridi3,*
  • 1: Royal Institute of Technology (KTH) Forum 120 SE-164 40, Kista, Sweden
  • 2: Swedish Institute of Computer Science (SICS) Box 1263 SE-164 29, Kista, Sweden
  • 3: Royal Institute of Technology (KTH), Swedish Institute of Computer Science (SICS)
*Contact email: icarad@kth.se, jdowling@sics.se, seif@sics.se

Abstract

Currently, the development of overlay network systems typ- ically produces two software artifacts: a simulator to model key protocols and a production system for a WAN environ- ment. However, this methodology requires the maintenance of two implementations, as well as adding both development overhead and the potential for errors, through divergence in the di®erent code bases. This paper describes how our message-passing component model, called Kompics, is used to build overlay network systems using a P2P component framework, where the same implementation can be simu- lated or deployed in a production environment. Kompics enables two di®erent modes of simulation: deterministic sim- ulation for reproducible debugging, and emulation mode for stress-testing systems. We used our P2P component frame- work to build and evaluate overlay systems, and we show how our model lowers the programming barrier for simulat- ing and deploying overlay network systems.