Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. TomP2P is a
distributed hash table which provides a decentralized key-value
infrastructure for distributed applications. Each peer has a table that
can be configured either to be disk-based or memory-based to store its
values. TomP2P stores key-value pairs in a distributed hash table. To
find the peers to store the data in the distributed hash table, TomP2P
uses an iterative routing approach. The underlying protocol for all the
communication with other peers uses state-less request-reply messaging.
Since TomP2P uses non-blocking communication, a future object is
required to keep track of future results. This key concept is used for
all the communication in TomP2P and it is also exposed in the API.