[Sugar-devel] p2p stream tubes

Tomeu Vizoso tomeu at sugarlabs.org
Wed Jan 7 07:27:17 EST 2009


On Wed, Jan 7, 2009 at 12:13, Guillaume Desmottes
<guillaume.desmottes at collabora.co.uk> wrote:
> Hi guys,
>
> I released telepathy-gabble 0.7.18 yesterday which implements a
> long-awaited feature: peer to peer connections in stream tubes!
>
> Basically this means that stream tubes will use a TCP connection (using
> SOCKS 5) to transfer their data instead of sending them through the
> server with IBB (base64 encoding). If the socks5 connection can't be
> established (because peers are on different NAT's for example) then
> Gabble will fallback to IBB.
> This should drastically improve stream tube performances and reduce
> server's band-with consumption.
>
> As all of this is pure Telepathy implementation details, activities
> using stream tubes (as Read) doesn't have to change a single line of
> their code to benefit of this improvement! Clients just have to upgrade
> their Gabble.
>
> Of course, there are probably bugs in the current implementation so it
> would be good if Sugar users could start to test it ASAP.
> We should observe the following results in these scenario:
>
> - old Gabble <-> new Gabble: continue to use IBB as before.
> - new Gabble <-> new Gabble on the same network: use sock5 connections
> (the transfer of the shared document in Read should be really faster)
> - new Gabble <-> new Gabble on different networks: try to use sock5 and
> the fallback to IBB.
>
> This is the first step in our "improve tubes connectivity" plan and lead
> the way to new improvements as using a socks5 relay to transfer data if
> direct connection is impossible. The ultimate goal is to use jingle to
> benefit real NAT penetration (as in audio/video calls).
>
> Please feel free to test this new version and report any problem you
> could have.

I will set aside some time for testing this, but will have to be after
the feature freeze, so about one week from now.

Congrats for the good work,

Tomeu


More information about the Sugar-devel mailing list