TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Principles of Content Addressing (2014)

26 点作者 btrask将近 10 年前

6 条评论

gojomo将近 10 年前
Some quibbles:<p>* URNs weren&#x27;t <i>just</i> for ISBN-like identifiers from an assignment authority. Some of the early writing talks about that use case, but the key feature was &quot;location-independent persistent names&quot;, for which hash-names have always been a good fit. Nothing in the relevant specs precludes hash-names as an URN scheme – it&#x27;s not &quot;breaking the spec&quot; – and a number of projects have used hash-named URNs. While there&#x27;s a policy for registration, in practice some URN namespaces have been &#x27;de facto registered by use&#x27;, much like common-law trademarks and a lot of URI&#x2F;URL schemes. (Of course, the neat &quot;URLs and URNs as distinct subtypes of URIs&quot; view never fully took root, as W3C&#x27;s 2001 &quot;Clarification&quot; note acknowledged.)<p>* Magnet-links were absolutely designed to promote P2P&#x2F;CDN-network-agnostic content-addressing. But, they were also made flexible enough to squeeze in other descriptive metadata, aliases, or fallback locations as well. The JS-launching was an adaptive hack; the descriptive (and usually hash-based) content-names were the point. A key early use case was making a common, vendor-neutral hash link for competing Gnutella clients, but the loose stuff-anything-useful-in generality saw magnet-links adopted by other software (such as DC++ and BitTorrent) as well. The &#x27;magnet&#x27; URI scheme was only ever &#x27;common-law&#x27; registered.<p>* It&#x27;s a bit odd to consider the algorithm the URI &#x27;authority&#x27;, though if I squint I can see a sort of funhouse-logic to it. Notably the similar URI-scheme that&#x27;s made it through IETF standardization, the &#x27;ni&#x27; scheme (RFC6920), usually leaves the &#x27;authority&#x27; component blank, so three slashes appear in a row – but alludes to the optional declaration of an &#x27;authority&#x27; that might be able to help accessing the referenced content.
评论 #10011063 未加载
评论 #10008574 未加载
anoxic将近 10 年前
I like the idea of being able to address content based on it&#x27;s actual content. Perhaps I don&#x27;t have a very good imagination, but if all you have is a hash of the content, how to you know <i>where</i> to find it?<p>From within a single app it&#x27;s easy, but what about in other apps or other machines. Would there be a (possibly distributed&#x2F;voluntary) lookup service? Could comments or lookup &quot;hints&quot; be added to the spec?
评论 #10010931 未加载
评论 #10010220 未加载
chmike将近 10 年前
Is there more information on the intended application domain (use cases) ? This was unclear for me after reading your referenced document.<p>Most of your arguments apply to hash referencing and make perfect sense to me. The compatibility with URI is also a good point and not difficult to achieve. I would add that compatibility with URL (http scheme) is also desirable and may be solved by use of a protocol bridge so that the information is accessible to web applications.<p>I&#x27;m also working on a distributed information system for many years now (not full time;). But I use a different referencing system. The reason is because one can&#x27;t modify the information without invalidating the hash and thus the references. So using hashes as reference make sense for a system containing only immutable information. Your choice of reference is thus very application specific.<p>The system I&#x27;m working on allows to modify and move data without invalidating references and is distributed like the web. A reference is <i>at most</i> 32 byte long in its binary representation, a bit longer in its ASCII representation. Take that http! ;)
评论 #10010978 未加载
btrask将近 10 年前
I&#x27;m happy to answer any questions about this article or the implementation I&#x27;ve put together.
评论 #10007411 未加载
skybrian将近 10 年前
Do these links work on mobile phones? (Can an app register to handle them?)
评论 #10008122 未加载
ClayFerguson将近 10 年前
Everything is content! The JCR (Java Content Repository) will eventually be the standard -- and sort of already is. Apache Jackrabbit Oak will take off as the open source technology of choice eventually. It&#x27;s able to leverage both MongoDB and Lucene search, and has a standard for naming. I have an open source app located here (meta64.com), that&#x27;s a full-stack modern standards implementation of a portal built on it. Any node is addressible on the url using the JCR standard.
评论 #10007650 未加载