Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

can i make a p2p application in python?

31 views
Skip to first unread message

eugene kim

unread,
Jul 20, 2002, 6:31:40 PM7/20/02
to
like kazaa or napster..

is it possible?

thank you

Alex Martelli

unread,
Jul 21, 2002, 5:10:47 AM7/21/02
to
eugene kim wrote:

> like kazaa or napster..
>
> is it possible?

Of course it is -- why wouldn't it be? For example, The Circle is
written in Python, see http://www.csse.monash.edu.au/~pfh/circle/ ,
and quite an ambitious peer-to-peer system it is.


Alex

holger krekel

unread,
Jul 21, 2002, 4:56:14 AM7/21/02
to
eugene kim wrote:
> like kazaa or napster..
>
> is it possible?

yes.

For a start, there are a lot of modules for networking like
ftplib, httplib etc. Next, implementing the logic for bootstrapping
and dynamically managing a P2P-network is certainly possible with python.

But concept/algorithm-wise it's not exactly trivial.

HTH, holger


Richard Jones

unread,
Jul 21, 2002, 4:54:10 AM7/21/02
to
On Sun, 21 Jul 2002 8:31 am, eugene kim wrote:
> like kazaa or napster..
>
> is it possible?

Yes. Circle is p2p.


Richard

eugene kim

unread,
Jul 21, 2002, 10:35:49 PM7/21/02
to
i don't even know what bootstrapping is..
can u recommend a good book to read?
i found these books..

JXTA: Java P2P Programming

Peer to Peer Application Development(also in java)

holger krekel

unread,
Jul 22, 2002, 5:04:08 PM7/22/02
to
eugene kim wrote:
> i don't even know what bootstrapping is..

Bootstrapping in is the process of bringing
a system to its working state. With P2P-networks
bootstrapping is difficult. You usually don't want
a central point of control (or failure) but how do
pop into into a network that is constantly changing?

E.g. one of the problems of Gnutella was 'bootstrapping'
into the virtual network. First, people had to get
working IP-addresses by word-of-mouth. Then gnutella
nodes started using 'hostcaches' which automated
the task of finding initial hosts. Due to the design of the
'hostcache' the network slowly morphed into a centralistic structure.
This didn't work reasonably with millions of nodes.

> can u recommend a good book to read?

i am currently reading "Peer to Peer" published
by O'Reilly. It has interesting articles from
several programmers including from freenet, gnutella,
napster, jabber, Red Rover. It's all more about concepts but
also offers helpful technical details.

Depending on your background you might be able to
extract useful information and code from 'circle'
and the related 'chord' project.

have fun,

holger


0 new messages