Code Monkey home page Code Monkey logo

Comments (6)

piranna avatar piranna commented on August 24, 2024

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.

alexstrat avatar alexstrat commented on August 24, 2024

@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.

piranna avatar piranna commented on August 24, 2024

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.

feross avatar feross commented on August 24, 2024

@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.

piranna avatar piranna commented on August 24, 2024

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.

alexstrat avatar alexstrat commented on August 24, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.