Optional reading: "Pastry: Scalable, decentralized object location and routing for large-scale peer-to-peer systems"
Another classic approach to structured peer-to-peer search
Click pastry.pdf link to view the file.