Global Feed Post Login
Replying to Avatar Basanta Goswami

Using a DHT to find content like in IPFS doesn't work because there's no point in trying to host your data in multiple places whose locations are decided algorithmically. The user needs to have direct control over which relays/servers they read/write to. However, I like the idea of using a DHT to host just the data about where someone posts their data, similar to what's done with PKDNS.

My only issue with the system is that it still feels over complicated to me. If the DHT network is truly decentralized, then anyone can spin up nodes and potentially perform a sybil attack. This isn't possible in PKARR (BitTorrent Mainline) only because the node's identifier is based on its IPv4 address, which is a centralized identifier. So, in the end, it's essentially a centralized group of servers.

So why not just have a federation of relays that host only NIP-65 (kind 10002) events

Avatar
Nuh 6mo ago

At some point I might implement a DHT from scratch on live stream so people stop saying that DHTs are overly complicated.

DHT clients and routers are the most simple software I ever written.

nostr:nevent1qqs82npg6wcukcdrq0whs9yjvs640v65z93tehdvc2h8d2gvw9kteeqpzemhxue69uhhyetvv9ujuurjd9kkzmpwdejhgq3qgmm2ehusvs35zgh6pq84m8hkj4ea0ygy3c9j2e3slzhjjce3kmnsxpqqqqqqzj5a4sg

Reply to this note

Please Login to reply.

Discussion

No replies yet.