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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Visualizing how BitTorrent works.

149 点作者 hiteshiitk超过 14 年前

10 条评论

jasonkester超过 14 年前
I get tired of making this same comment on every Canvas-based thing anybody builds, but if they'd taken the 30 seconds it took to write that paragraph about how it doesn't work in IE, and instead used it to paste in the following snippet of HTML, it would <i>actually work</i> in Internet Explorer:<p>&#60;!--[if IE]&#62;&#60;script type="text/javascript" src="/excanvas.js"&#62;&#60;/script&#62;&#60;![endif]--&#62;<p>Like, IE5 even. Internet Explorer has had vector graphics since 1999, and it overlaps 90% with Canvas (which came out several years later).<p><a href="http://excanvas.sourceforge.net/" rel="nofollow">http://excanvas.sourceforge.net/</a>
评论 #1908147 未加载
评论 #1906610 未加载
评论 #1906798 未加载
评论 #1907682 未加载
zokier超过 14 年前
While beautiful, I don't think it illustrates BitTorrent very well. Data doesn't just magically flow to clients, it needs to be coordinated and/or negotiated somehow. Data integrity is also somewhat important aspect of BitTorrent, every piece that client receives is verified against the .torrent file.
评论 #1906644 未加载
评论 #1907155 未加载
jessriedel超过 14 年前
This could use some concurrent data plots showing, say, the number of new bits being received (by anyone). Would be especially useful when comparing the same visualization for traditional file transfers, to show what's special about BitTorrent.
seldo超过 14 年前
So pleased to see this restored! It's one of the best process visualizations I've ever seen. It's not "this is what the data means", it's "this is how an algorithm works in practice". It looks organic and there are subtleties (like the fact that the rainbow-coloured segments correspond to the data line flowing to each peer, and that the sizes of blobs on the line represent transfer speeds) that you can grasp later without distracting from the initial "aha!" moment.
slashclee超过 14 年前
I've updated the page so that it works properly in IE9, at least (all I had to do was add the &#60;!doctype html&#62; header at the beginning, and that seems to be good practice anyway, so I have no issue with it).<p>I have no way to test IE7 or IE8 at this point, and I don't like the idea of adding code that I can't test. If someone wants to volunteer their time to help me test those browsers with excanvas, I'm willing to give it a shot.
maushu超过 14 年前
I think it's buggy. Some peers don't get data at all.
评论 #1907170 未加载
moe超过 14 年前
Beautiful!
评论 #1906298 未加载
codex超过 14 年前
From the visualization, it doesn't appear that BitTorrent uses a spanning tree to reduce the bandwidth load on ISPs. When will we see true application level multicast for P2P?
评论 #1908386 未加载
donaq超过 14 年前
This actually runs pretty smoothly on my Milestone's default browser. Colour me impressed. It did not run well on Opera Mini though.
smackfu超过 14 年前
That uses a full core on my laptop.
评论 #1908173 未加载