Skip to main content

A Reflective Middleware to Support Peer-to-Peer Overlay Adaptation

  • Conference paper

Part of the Lecture Notes in Computer Science book series (LNIP,volume 5523)


As peer-to-peer systems are evolving from simplistic application specific overlays to middleware platforms hosting a range of potential applications it has become evident that increasingly configurable approaches are required to ensure appropriate overlay support is provided for divergent applications. This is exacerbated by the increasing heterogeneity of networked devices expected to host the overlay. Traditional adaptation approaches rely on simplistic design-time isolated fine-tuning of overlay operations. This, however, cannot fully support the level of configurability required by next generation peer-to-peer systems. To remedy this, a middleware overlay framework is designed that promotes the use of architectural reconfiguration for adaptive purposes. Underpinning this is a generic reusable component pattern that utilises software reflection to enable rich and extensible adaptation of overlays beneath divergent applications operating in heterogeneous environments. This is evaluated through a number of case-study experiments showing how overlays developed using the framework have been adapted to address a range of application and environmental variations.


  • Adaptation
  • peer-to-peer
  • reflective middleware


  1. Bianchi, S., Serbu, S., Felber, P., Kropf, P.: Adaptive Load Balancing for DHT Lookups. In: Proc. Intl. Conference on Computer Communications and Networks, Arlington, Virginia (2006)

    Google Scholar 

  2. BitTorrent Specification,

  3. Blair, G.S., Coulson, G., Andersen, A., Blair, L., Clarke, M., Costa, F., Duran-Limon, H., Fitzpatrick, T., Johnston, L., Moreira, R., Parlavantzas, N., Saikoski, K.: The Design and Implementation of Open ORB V2. In: IEEE Distributed Systems Online (2001)

    Google Scholar 

  4. Brampton, A., MacQuire, A., Rai, I.A., Race, N.J., Mathy, L.: Stealth Distributed Hash Table: A Robust and Flexible Super-Peered DHT. In: Proc. ACM CoNext, Lisbon, Portugal (2006)

    Google Scholar 

  5. Bruneton, E., Coupaye, T., Leclerc, M., Quema, V., Stefani, J.-B.: An Open Component Model and its Support in Java. In: Proc. Intl. Symposium on Component-Based Software Engineering Edinburgh, Scotland (2004)

    Google Scholar 

  6. Chawathe, Y., Ratnasamy, S., Breslau, L., Lanham, N., Shenker, S.: Making Gnutella-like P2P Systems Scalable. In: Proc. SIGCOMM, Germany (2003)

    Google Scholar 

  7. Coulson, G.: A Configurable Multimedia Middleware Platform. IEEE Multimedia Magazine 6(1), 62–76 (1999)

    CrossRef  Google Scholar 

  8. Coulson, G., Blair, G., Grace, P., Joolia, A., Lee, K., Ueyama, J., Sivaharan, T.: A Generic Component Model for Building Systems Software. ACM Transactions on Computer Systems 27(1), 1–42 (2008)

    CrossRef  Google Scholar 

  9. Dabek, F., Zhao, B., Druschel, P., Stoica, I.: Towards a common API for structured peer-to-peer overlays. In: Proc. IPTPS, Berkeley, CA (2003)

    Google Scholar 

  10. FreePastry,

  11. Ganesh, A., Kermarrec, A., Massoulie, L.: SCAMP: Peer-to-peer lightweight membership service for large-scale group communication. In: Crowcroft, J., Hofmann, M. (eds.) NGC 2001. LNCS, vol. 2233, p. 44. Springer, Heidelberg (2001)

    CrossRef  Google Scholar 

  12. Grace, P., Coulson, G., Blair, G., Mathy, L., Yeung, W., Cai, W., Duce, D., Cooper, C.: GridKit: Pluggable Overlay Networks for Grid Computing. In: Proc. Intl. Symposium on Distributed Objects and Applications, Larnaca, Cyprus (2004)

    Google Scholar 

  13. Gu, X., Nahrstedt, K., Yu, B.: SpiderNet: An Integrated Peer-to-Peer Service Composition Framework. In: Proc. 13th IEEE International Symposium on High Performance Distributed Computing, Honolulu, HA (2004)

    Google Scholar 

  14. Hughes, D.: AdaPtP - a Framework for Building Adaptable Peer-to-Peer Systems. PhD Thesis, Lancaster University (2007)

    Google Scholar 

  15. Hughes, D., Coulson, G., Warren, I.: A Framework for Developing Reflective and Dynamic Peer-to-Peer Networks (RaDP2P). In: Proc. 4th IEEE International Conference on Peer-to-Peer Computing, Zurich, Switzerland (2004)

    Google Scholar 

  16. Kon, F., Costa, F., Blair, G., Campbell, R.H.: The Case for Reflective Middleware. Commun. ACM 45(6), 33–38 (2002)

    CrossRef  Google Scholar 

  17. Mathy, L., Canonico, R., Hutchinson, D.: An Overlay Tree Building Control Protocol. In: Proc. Intl. Workshop on Group Communications, London, UK (2001)

    Google Scholar 

  18. Maymounkov, P., Mazières, D.: A Peer-to-Peer Information System Based on the XOR Metric. In: Druschel, P., Kaashoek, M.F., Rowstron, A. (eds.) IPTPS 2002. LNCS, vol. 2429, p. 53. Springer, Heidelberg (2002)

    CrossRef  Google Scholar 

  19. Oreizy, P., Medvidovic, N., Taylor, R.N.: Architecture-based runtime software evolution. In: Proc. Intl. Conference on Software Engineering Kyoto, Japan (1998)

    Google Scholar 

  20. Portmann, M., Ardon, S., Senac, P.: Seneviratne, PROST: A Programmable Structured Peer-to-Peer Overlay Network. In: Proc. Intl. Conference on Peer-To-Peer Computing, Zurich, Switzerland (2004)

    Google Scholar 

  21. Rowstron, A., Druschel, P.: Pastry: Scalable, Distributed Object Location and Routing for Large-scale Peer-to-Peer Systems. In: Guerraoui, R. (ed.) Middleware 2001. LNCS, vol. 2218, p. 329. Springer, Heidelberg (2001)

    CrossRef  Google Scholar 

  22. Stoica, I., Morris, R., Karger, R.D., Kaashoek, M., Balakarishnan, H.: Chord: A Scalable Peer-to-Peer Lookup Service for Internet Applications. In: Proc. of ACM SIGCOMM, San Diego (2001)

    Google Scholar 

  23. Tyson, G.: Component Based Overlay Development in Gridkit. M.Sc Thesis, Lancaster University,

  24. Tyson, G., Mauthe, A., Plagemann, T., El-khatib, Y.: Juno: Reconfigurable Middleware for Heterogeneous Content Networking. In: Proc. 5th Intl. Workshop on Next Generation Networking Middleware (NGNM), Samos Islands, Greece (2008)

    Google Scholar 

  25. Zhang, X., Liu, J., Li, B., Yum, T.S.P.: CoolStreaming: A Data-driven Overlay Network for Live Media Streaming. In: Proc. IEEE Infocom, Miami, FL (2005)

    Google Scholar 

Download references

Author information

Authors and Affiliations


Editor information

Editors and Affiliations

Rights and permissions

Reprints and Permissions

Copyright information

© 2009 IFIP International Federation for Information Processing

About this paper

Cite this paper

Tyson, G., Grace, P., Mauthe, A., Blair, G., Kaune, S. (2009). A Reflective Middleware to Support Peer-to-Peer Overlay Adaptation. In: Senivongse, T., Oliveira, R. (eds) Distributed Applications and Interoperable Systems. DAIS 2009. Lecture Notes in Computer Science, vol 5523. Springer, Berlin, Heidelberg.

Download citation

  • DOI:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-02163-3

  • Online ISBN: 978-3-642-02164-0

  • eBook Packages: Computer ScienceComputer Science (R0)