[Sugar-devel] p2p stream tubes

2009-01-07 Thread Guillaume Desmottes
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.


Regards,


G.

[1]
http://lists.freedesktop.org/archives/telepathy/2009-January/002734.html


-- 
Guillaume Desmottes 
Jabber 
GPG 1024D/711E31B1 | 1B5A 1BA8 11AA F0F1 2169  E28A AC55 8671 711E 31B1

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] p2p stream tubes

2009-01-14 Thread Guillaume Desmottes
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.


Regards,


G.

[1]
http://lists.freedesktop.org/archives/telepathy/2009-January/002734.html


-- 
Guillaume Desmottes 
Jabber 
GPG 1024D/711E31B1 | 1B5A 1BA8 11AA F0F1 2169  E28A AC55 8671 711E 31B1


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] p2p stream tubes

2009-01-07 Thread Bert Freudenberg
On 07.01.2009, at 12:13, Guillaume Desmottes wrote:

> Hi guys,
>
> I released telepathy-gabble 0.7.18 yesterday which implements a
> long-awaited feature: peer to peer connections in stream tubes!

Great!

> Please feel free to test this new version and report any problem you
> could have.


Are you going to put this in OLPC's Joyride? Didn't see 7.17 there,  
it's still at 7.16.

- Bert -

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] p2p stream tubes

2009-01-07 Thread Guillaume Desmottes
Le mercredi 07 janvier 2009 à 12:22 +0100, Bert Freudenberg a écrit :
> On 07.01.2009, at 12:13, Guillaume Desmottes wrote:
> 
> > Hi guys,
> >
> > I released telepathy-gabble 0.7.18 yesterday which implements a
> > long-awaited feature: peer to peer connections in stream tubes!
> 
> Great!
> 
> > Please feel free to test this new version and report any problem you
> > could have.
> 
> 
> Are you going to put this in OLPC's Joyride? Didn't see 7.17 there,  
> it's still at 7.16.

I'm not really following Joyride's dev cycle but yes, it would be nice
to have it if possible. So it would be great if someone can upgrade the
package.



G.


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] p2p stream tubes

2009-01-07 Thread Bert Freudenberg
(cc'ing olpc)

On 07.01.2009, at 12:42, Guillaume Desmottes wrote:

> Le mercredi 07 janvier 2009 à 12:22 +0100, Bert Freudenberg a écrit :
>> On 07.01.2009, at 12:13, Guillaume Desmottes wrote:
>>
>>> Hi guys,
>>>
>>> I released telepathy-gabble 0.7.18 yesterday which implements a
>>> long-awaited feature: peer to peer connections in stream tubes!
>>
>> Great!
>>
>>> Please feel free to test this new version and report any problem you
>>> could have.
>>
>>
>> Are you going to put this in OLPC's Joyride? Didn't see 7.17 there,
>> it's still at 7.16.
>
> I'm not really following Joyride's dev cycle but yes, it would be nice
> to have it if possible. So it would be great if someone can upgrade  
> the
> package.


Looks like 0.7.17 and 0.7.18 are only tagged for Fedora 11 but not for  
olpc4:

http://kojipkgs.fedoraproject.org/packages/telepathy-gabble/

Could someone fix this?

- Bert -


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] p2p stream tubes

2009-01-07 Thread Tomeu Vizoso
On Wed, Jan 7, 2009 at 12:13, Guillaume Desmottes
 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
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] p2p stream tubes

2009-01-14 Thread Morgan Collett
On Wed, Jan 7, 2009 at 12:57, Guillaume Desmottes  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.
>
>
> Regards,
>
>
>G.
>
> [1]
> http://lists.freedesktop.org/archives/telepathy/2009-January/002734.html

I want to add it to jhbuild, but on intrepid I get "Requested
'dbus-glib-1 >= 0.78' but version of dbus-glib is 0.76".

Are we going to need to put a newer libdbus-glib-1 into jhbuild?

Regards
Morgan
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] p2p stream tubes

2009-01-14 Thread Guillaume Desmottes
Le mercredi 14 janvier 2009 à 20:20 +0200, Morgan Collett a écrit :
> I want to add it to jhbuild, but on intrepid I get "Requested
> 'dbus-glib-1 >= 0.78' but version of dbus-glib is 0.76".
> 
> Are we going to need to put a newer libdbus-glib-1 into jhbuild?

Probably, recent Gabble needs this new version.


G.



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] p2p stream tubes

2009-01-14 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Guillaume Desmottes wrote:
> I released telepathy-gabble 0.7.18 yesterday which implements a
> long-awaited feature: peer to peer connections in stream tubes!

That's fantastic!

...

But of course we are never satisfied, so I must ask: how soon do you think
Gabble will implement the new File Transfer spec?

- --Ben
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkluOSkACgkQUJT6e6HFtqQwHACeOFoDv2KKT+fFPzVq9liUjrWc
5cIAmQE1tJny0E2ye58+RA05d5X0lxyx
=86pk
-END PGP SIGNATURE-
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel