Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Tahoe-LAFS Networking Layer (named 'foolscap') and libp2p #94

Open
daviddias opened this issue Jan 3, 2016 · 0 comments
Open

Tahoe-LAFS Networking Layer (named 'foolscap') and libp2p #94

daviddias opened this issue Jan 3, 2016 · 0 comments

Comments

@daviddias
Copy link
Member

These are notes from the discussion with Zooko and Daira

Tahoe-LAFS Networking Layer, named foolscap currently supports TCP connections and there is a work towards making it support connections over Tor.

Tahoe-LAFS peers connect to each other through a Signalling Server that knows every single peer in the network that collects the known addresses from the peers in the network, sharing them with another peer when they need to open a connection.

Peers do remote object invocation to call methods on other peers once the connection is open.

libp2p can be an interesting approach for Tahoe-LAFS to support multiple transports, as this feature is currently built in and ready on the Swarm level. libp2p offers mechanisms for discovery of peers, routing and record storing, however, it was built to 'only use what you need'

To start testing this, we need to get libp2p-swarm implemented in Python. python-libp2p efforts are currently tracked here ipfs-shipyard/py-ipfs#21.

For reference:

Also, networking learnings from building foolscap -> https://tahoe-lafs.org/trac/tahoe-lafs/query?status=!closed&component=code-network&order=priority

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants