Home People Publications Download

Helpful Links:

Sameh's P2P page


Copyright © 2009 KTH & SICS, Inc.


Site Design by Linus

Recent News:


2008-07-03: Snapshot of DKS with javadoc available in the bottom of this page

2007-01-09: New non-blocking I/O implementation using thread pools.

2006-12-07: A PhD dissertation on DKS available

2005-07-30: DKS running on PlanetLab!

2005-03-01: Several DKSNodes can efficiently communicate over one node (good for simulation)

2005-02-05: Marshaller rewritten (more modular)

2004-10-30: Added correction-on-change algorithms

2004-08-15: Symmetric Replication implemented



DKS is a peer-to-peer middleware developed at KTH/Royal Institute of Technology and the Swedish Institute of Computer Science (SICS) in the context of the european project PEPITO. It is entirely written in JAVA. Supports scalable Internet-scale Multicast, Broadcast, Name-based Routing, and provides a simple Distributed Hash Table abstraction.


The DKS team currently consists of (a.o.):



  1. Tallat M. Shafaat, Ali Ghodsi, Seif Haridi. A Practical Approach to Network Size Estimation for Structured Overlays, Third International Workshop on Self-organizing Systems (IWSOS'08), December, 2008, Vienna, Austria [pdf]

  2. Tallat M. Shafaat, Ali Ghodsi, Seif Haridi. Handling Network Partitions and Mergers in Structured Overlay Networks, Seventh IEEE International Conference on Peer-to-Peer Computing (P2P'07), September, 2007, Ireland [pdf] [sicssim]

  3. Ali Ghodsi. Distributed k-ary System: Algorithms for Distributed Hash Tables, PhD dissertation, KTH-Royal Institute of Technology, October 2006.
  4. [pdf] [bibtex]

  5. Jimmy Jernberg, Vladimir Vlassov, Ali Ghodsi, Seif Haridi. DOH: A Content-Delivery Peer-to-Peer Network, European Conference on Parallel Computing, (EUROPAR 2006), Aug-Sep, 2006, Germany [pdf]

  6. Karl Aberer, Luc Onana Alima, Ali Ghodsi, Sarunas Girdzijauskas, Manfred Hauswirth, Seif Haridi. The essence of P2P: A reference architecture for overlay networks, P2P2005, The 5th IEEE International Conference on Peer-to-Peer Computing, August 31-September 2, 2005, Konstanz, Germany. [pdf]

  7. Ali Ghodsi, Luc Onana Alima, Seif Haridi. Symmetric Replication for Structured Peer-to-Peer Systems, DBISP2P2005, The 3rd International Workshop on Databases, Information Systems and Peer-to-Peer Computing, August 28-29, 2005, Trondheim, Norway [pdf]

  8. Ali Ghodsi, Luc Onana Alima, Seif Haridi. Low-Bandwidth Topology Maintenance for Robustness in Structured Overlay Networks, In the 38th International HICSS Conference, Springer-Verlag, January, 2005, Best Paper Award in the Software Track. [pdf]

  9. Luc Onana Alima, Ali Ghodsi, Seif Haridi. A Framework for Structured Peer-to-Peer Overlay Networks, In LNCS volume 3267 of the post-proceedings of the Global Computing 2004 (pp. 223-250), Springer-Verlag. [pdf]

  10. Luc Onana Alima, Seif Haridi, Ali Ghodsi, Sameh El-Ansary, Per Brand. Position Paper: Self-.properties in Distributed K-ary Structured Overlay Networks, Proceedings of SELF-STAR: International Workshop on Self-* Properties in Complex Information Systems, (May 2004), Bertinoro, Italy. [pdf]

  11. Mattias Amnefelt, Johanna Svenningsson, Keso - A Scalable, Reliable and Secure Read/Write Peer-to-Peer File System, Master Thesis, KTH/Royal Institute of Technology, May, 2004. [pdf]

  12. Luc Onana Alima, Ali Ghodsi, Per Brand, Seif Haridi. Multicast in DKS(N, k, f) Overlay Networks, In Proceedings of the 7th International Conference on Principles of Distributed Systems (OPODIS'2003), Springer-Verlag, Berlin, 2004. [pdf]

  13. Ali Ghodsi, Luc Onana Alima, Sameh el-Ansary, Per Brand, Seif Haridi. Self-Correcting Broadcast in Distributed Hash Tables. In Series on Parallel and Distributed Computing and Systems (PDCS'2003), ACTA Press, Calgary, 2003. [pdf]

  14. Sameh El-Ansary, A Framework for the understanding optimization and design of Structured Peer-To-Peer Systems, Licentiate of Philosophy Disseration Thesis, Department of Microelectronics and Information Technology, Royal Institute of Technology, (Stockholm, Sweden), June 2003. [pdf]

  15. Luc Onana Alima, Sameh El-Ansary, Per Brand and Seif Haridi, DKS(N, k, f) A family of Low-Communication, Scalable and Fault-tolerant Infrastructures for P2P applications, The 3rd International workshop on Global and P2P Computing on Large Scale Distributed Systems, (CCGRID 2003) (Tokyo, Japan), May 2003. [pdf]

  16. Sameh El-Ansary, Luc Onana Alima, Per Brand and Seif Haridi, Efficient Broadcast in Structured P2P Networks, The 2nd International Workshop On Peer-To-Peer Systems (IPTPS'03), (Berkeley, CA, USA), February 2003. [pdf]


  1. Luc Onana Alima, Ali Ghodsi, Sameh El-Ansary, Seif Haridi, Per Brand. Poster: Multicast in DKS(N, k, f) Overlay Networks. In 3rd International Conference on Peer-to-Peer Computing (P2P'2003), IEEE Computer Society, 2003. [pdf]

  2. Sameh El-Ansary, Luc Onana Alima, Per Brand and Seif Haridi, A Framework for Peer-To-Peer Lookup Services based on k-ary search, SICS Technical Report, T2002-06. [pdf]

Download DKS / JDHT

A simple "Hello World" example using the DKS DHT in JAVA Hello.java [color]

Latest daily snapshot of DKS, LICENSE, and README, external JARs needed xerces jbcl

Latest JAVADOC for DKS

DKS Middleware JAVA version CVSWeb

You can find JDHT (Java Distributed Hash Table) at http://dks.sics.se/JDHT