[p2p-hackers] P2P in Python and file synchronization

Alexandre CONRAD aconrad.tlv at magic.fr
Mon Aug 22 11:04:03 UTC 2005



Kendy Kutzner wrote:

> On 2005-08-22T10:38:57+0200, Alexandre CONRAD wrote:
> 
>>>do you really need a p2p way to manage your clients? Sounds like
>>>ssh+rsync would work better for you.
>>
>>(sorry for long response, back from holidays :])
>>
>>Well, of course, I thought about that, but the problem is that I don't 
>>have much bandwidth at my office (that's where the updates would be 
>>available from). So using P2P would alow me to set a client at my office 
>>sharing new files and that client would only upload these new files to a 
>>few remote clients. After that, the update would be available from other 
>>clients, helping me to upgrade the rest of my network and using my other 
>>remote client's bandwidth.
> 
> 
> And the problem in doing the rsync+ssh from client to client is?

Using rsync+ssh would mean that a client connects to an other client (so
it has to know the IP, and my clients have dynamic IPs) scan the remote
files to see if new files are available. But this is not very efficient
because it could take time between the 1st upgraded client and the last
one. And what if a client is down ?

AFAIK, you need a server somewhere to centralize and hold a list of
available files and keep track of which client is actualy
connected/authentified and ready to share the file (or part).

As most of my clients are on ISDN, they don't have constant internet
access. So clients would be scheduled to connect once everyday at the
same time to check if any new files are available for update. Only my
client holding the upgrades (at my office) would be always connected.

Regards,
-- 
Alexandre CONRAD - TLV
Research & Development
tel : +33 1 30 80 55 05
fax : +33 1 30 80 55 06
6, rue de la plaine
78860 - SAINT NOM LA BRETECHE
FRANCE





More information about the P2p-hackers mailing list