[JDEV] Peer to peer Jabber streams

Sunir Shah sunir.shah at bitflash.com
Fri Jan 26 13:48:26 CST 2001


> Personally I think peer-to-peer is a much /more/ elegant solution;
> certainly it makes much better use of the mesh topology of the
> internet. [...] such systems are fiendishly complicated to implement;

To me, an elegant design would be easy to implement; at least 
in this context. If this was a PhD thesis, I might change my
mind. ;)

> you're still constrained by firewalls that don't allow 
> incoming TCP connections 

Let them fail. Following the philosophy of graceful degradation,
if the foreign client authorizes a connection, but you cannot 
open a socket, post a message through the server saying the 
attempt failed. Then, degrade to using the server.

Personally, I think any situation with a firewall that's going 
to block peer to peer communication is not interesting to this
discussion. A conservative context like that won't be using 
Jabber for high-bandwidth applications (I hope). The core 
protocols, like messaging, etc. should continue with the one 
socket philosophy.

> If this is off-topic for j_dev

We can easily fork a new list, or use MeatballWiki as mentioned
before.

SS




More information about the JDev mailing list