3 ms·
How long does it take to resolve a namecoin key=>value pair? Considering the variable speed in these sorts of decentralized networks, is there a noticeable lag
by ericmsimons 13y ago
How long does it take to resolve a namecoin key=>value pair? Considering the variable speed in these sorts of decentralized networks, is there a noticeable lag when you initially request a .bit website?
- 1qaz2wsx3edc 13y agoSure, decentralized networks can have variable speeds, but you could put a caching layer in front and the problem should be solved, no? The writes will be variable, but reads don't have to be.
- wyager 13y agoIt's very fast, and if it's not fast enough, one can build an optimized data structure in another program.
- fragsworth 13y agoJust as fast as a DNS lookup. It can be cached anywhere (even locally, with your own name server on your own machine). It's also almost exactly the same as DNS regarding name changing. You have to wait about 10 minutes for the blockchain to register a name, and then about 24 hours before all the cache servers update it.
- gomox 13y agoThe blockchain is only used as an authoritative source. You don't really look up names in the blockchain, you use a vanilla cache for it.
- rakoo 13y agoAll the blockchain is local. The time taken to resolve a key->value pair is the time your software takes to decode information from your disk; it's nothing compared to DNS. Change propagation, on the other hand, is as long as blocks can travel from peer to peer.
- VikingCoder 13y agoHmm - if your ISP has a good DNS, and has a cache hit on your DNS request, versus if you have to seek your HD, the DNS might be much, much faster. http://www.eecs.berkeley.edu/~rcs/research/interactive_latency.html http://www.eecs.berkeley.edu/~rcs/research/interactive_laten... Round trip in same datacenter: 500,00ns. Disk seek: 4,000,000ns. You have to lean on the numbers pretty hard to make the DNS faster, but it's possible it could be faster than your local disk.
- al2o3cr 13y agoPretty sure the intersection of the set of people who worry about DNS performance and the set of people who are still running servers exclusively off spinning rust is nigh-vanishing...
- ferongr 13y agoThe broadband connection usually has latency depending on the protocol. ADSL2+ with data interleaving can be as high as 32ms. DOCSIS has at least 5ms for the first hop too. And that assumes your ISP's (or whichever) DNS server is close from a network perspective and that it has enough power to instantly send a reply down the wire.