UnsServ: unstructured peer-to-peer library for deploying services in smart environments


UnsServ is a modular unstructured peer-to-peer library composed of independent services that aim to provide basic functionalities. These services are designed for using them as underlying P2P technology. The work presented in this paper provides an overview to the UnsServ library. Besides, it pursues to present a unique perspective on unstructured peer-to-peer utterly focused on its practicality. To do this, we present six services that represent the functionalities UnsServ is capable of offering. Through them, we propose to characterize the peer-to-peer technology: scalable and churn resistant membership, clustering, aggregation, random sampling, broadcast dissemination and searching. All of these parts are presented along with a clear API for coupling them in a modular solution. The proposed library can help to seamlessly deploy P2P services on contexts of high dynamicity such as Internet of Things.