Comments (6)
However, I think there is probably some parts of KadOH that could
interesting to pickup to continue building webtorrent. We got for
instance an implementation of the Kademlia routing tablehttps://github.com/jinroh/kadoh/tree/master/lib/dht(with its iterative-lookup algorithm) that
webtorrent might be interested in (#11#11
?).Could you be able to move this to an independent project and show how to
(re-)use it? I think it would be an interesting feature for my ShareIt! P2P
application...
"Si quieres viajar alrededor del mundo y ser invitado a hablar en un monton
de sitios diferentes, simplemente escribe un sistema operativo Unix."
– Linus Tordvals, creador del sistema operativo Linux
from webtorrent.
@piranna okay let's start! -> https://github.com/kadoh/routing-table is a rough extraction of KadOH routing table implementation with minimal reformatting.
from webtorrent.
Wow, fan service!!! :-D Thanks, I'm going to take it a look :-)
2013/12/8 Alexandre Lacheze [email protected]
@piranna https://github.com/piranna okay let's start! ->
https://github.com/kadoh/routing-table is a rough extraction of KadOH
routing table implementation with minimal reformatting.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/18#issuecomment-30095014
.
"Si quieres viajar alrededor del mundo y ser invitado a hablar en un monton
de sitios diferentes, simplemente escribe un sistema operativo Unix."
– Linus Tordvals, creador del sistema operativo Linux
from webtorrent.
@alexstrat - thanks for the note! I remember hearing about KadOH a year ago, but didn't investigate too deeply. I'm definitely going to take a closer look at what you've built and learn what I can that might help WebTorrent. It sounds like you broke new ground with KadOH, doing Kademlia in JS. Very cool!
Your routing table implementation (https://github.com/kadoh/routing-table) sounds like it might be really useful for webtorrent.
Let me know if there are any other pieces of KadOH that might make sense to incorporate or even use for inspiration.
from webtorrent.
Just a question: KadOH is for looking (routing) peers, for addresing its
content (the files), or for both? At what level is it oriented, transport
or application? I know it's some kind a stupid question, but I'm not so
much into P2P on this details... :-/
Send from my Samsung Galaxy Note II
El 09/12/2013 01:45, "Feross Aboukhadijeh" [email protected]
escribió:
@alexstrat https://github.com/alexstrat - thanks for the note! I
remember hearing about KadOH a year ago, but didn't investigate too deeply.
I'm definitely going to take a closer look at what you've built and learn
what I can that might help WebTorrent. It sounds like you broke new ground
with KadOH, doing Kademlia in JS. Very cool!Your routing table implementation (https://github.com/kadoh/routing-table)
sounds like it might be really useful for webtorrent.Let me know if there are any other pieces of KadOH that might make sense
to incorporate or even use for inspiration.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/18#issuecomment-30098256
.
from webtorrent.
@piranna KadOH is not much than an implementation of Kademlia, a DHT (Distributed Hash Table) algorithm. From an external perspective, it provides a way to get and put key/value tuples distributively stored across participating peers.
One key element of the algorithm is indeed the routing (aka finding the right peer(s)): each peer stores contacts of some others in a bit-tree sorted table (that's our routing-table) and finding a peer resides in jumping from peer to peer by querying routing-tables of others thru FIND_NODE
RPC (that's our iterative-lookups).
So, to answer your question, KadOH gives solution for looking (routing) peers, but not for addressing content of files. Once you find the peer that got your file (KadOH job), you can establish a P2P connection to transfer the file (ShareIt job)! :)
from webtorrent.
Related Issues (20)
- autoStart option for client.add HOT 4
- client.seed() doesn't start unless client is restarted HOT 3
- wrong Return Value type of client.get() in @types/webtorrent packages HOT 1
- Update Flatpak version HOT 1
- Version 2.2.1 requires webrtc-polyfill due to loose dependency on torrent-discovery HOT 4
- Filename is overridden by the torrent name when seeding a single file HOT 1
- Already downloaded files are not showing inside torrent.files array HOT 2
- Cannot find module "node_datachannel.node" HOT 1
- Syntax error on webtorrent-min.js for multiple version HOT 5
- TypeError: Cannot read properties of null (reading 'isIP') HOT 6
- de-duplicate IP packages
- Publish on Flathub HOT 1
- Metadata is forgotten on page reload HOT 3
- Deno support HOT 1
- File transfer through WebTorrent works on local network, but not on the internet. HOT 4
- I am trying to implementing webtorrent to my react native project. HOT 1
- Send files to downloads without client.createServer or file.blob HOT 3
- infohash without trackers stopped working HOT 18
- When used in dedicated worker, webtorrent can not connect to tracker HOT 2
- Cannot play video stream HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webtorrent.