Planet Peer - The anonymous networking community
July 29, 2010, 11:39:04 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
News: Planet Peer - The anonymous networking community
...because anonymity is better ;-)
 
   Home   Help Search Calendar Login Register  
Pages: 1 [2]   Go Down
  Print  
Author Topic: P2P evolution is stopped. What we need to create a new file sharing experience  (Read 1952 times)
0 Members and 1 Guest are viewing this topic.
Wingman
Newbie
*

Karma: +1/-0
Offline Offline

Posts: 17



View Profile
« Reply #15 on: May 26, 2009, 05:05:42 PM »

Yeah i know. In the past i had a strict collaboration with some emule mods, so i know how kademlia works.
I was just wondering if I2P built-in kademlia could be used as the base infrastructure (so to send messages, searches, discovering etc.)
Logged
Nemo
Global Moderator
Elite
*****

Karma: +27/-0
Offline Offline

Posts: 1284


View Profile
« Reply #16 on: May 26, 2009, 09:03:31 PM »

I was just wondering if I2P built-in kademlia could be used as the base infrastructure (so to send messages, searches, discovering etc.)
No, the built-in Kademlia is AFAIK only for internal lookups of I2P destinations and the corresponding tunnel endpoints. There's an explanation and an schematic view in the technical I2P introduction.
Oh, and Kademlia is per default disabled as network database: In the explanation of the network database it says:
Quote
The netDb is distributed with a simple technique called "floodfill". Previously, the netDb also used the Kademlia DHT as a fallback algorithm. However, it did not work well in our application, and it was completely disabled in release 0.6.1.20.

I2P provides an anonymous transport layer. A quote from the introduction into application programming:
Quote
Applications that are designed to work with I2P can take advantage of its built in data security and optional pseudonymous authentication. All data sent over the network is transparently end to end encrypted (not even the routers get the cleartext), and any application using the streaming or datagram functionality has all of that data authenticated by the sending destination's public key.

I2P provides something similar to UDP (unordered best effort) and TCP (ordered and guaranted delivery):
Quote
There are also efficiency considerations to review when determining how to interact on top of I2P. The streaming library and things built on top of it operate with handshakes similar to TCP, while the core I2P protocols (I2NP and I2CP) are strictly message based (like UDP or in some instances raw IP). The important distinction is that with I2P, communication is operating over a long fat network - each end to end message will have nontrivial latencies, but may contain payloads of up to 32KB. An application that needs a simple request and response can get rid of any state and drop the latency incurred by the startup and teardown handshakes by using (best effort) datagrams without having to worry about MTU detection or fragmentation of messages under 32KB.

The ministreaming library itself uses a functional but inefficient scheme for dealing with reliable and in order delivery by requiring the equivilant of an ACK after each message which must traverse the network end to end again (though there are plans for improving this with a more efficient and robust algorithm).


IMO it makes much sense to use I2P as transport network because it has active development, it's stable, has many users and the file sharing developers don't need to reinvent the wheel of anonymous data transfer.

Greetings,
Nemo.
Logged
Planet Peer - The anonymous networking community
   

 Logged
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!